Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Mojo fails with "not a recognized processor" #3926

Open
lachlanm-git opened this issue Jan 6, 2025 · 2 comments
Open

[BUG] Mojo fails with "not a recognized processor" #3926

lachlanm-git opened this issue Jan 6, 2025 · 2 comments
Labels
bug Something isn't working mojo-repo Tag all issues with this label

Comments

@lachlanm-git
Copy link

lachlanm-git commented Jan 6, 2025

Bug description

Mojo fails to work on my Linux Mint 22 system. I receive the following error:

"'gracement' is not a recognized processor for this target (ignoring processor)"

full error message

'gracement' is not a recognized processor for this target (ignoring processor)
'gracement' is not a recognized processor for this target (ignoring processor)
'gracement' is not a recognized processor for this target (ignoring processor)
'gracement' is not a recognized processor for this target (ignoring processor)
'''gracementgracementgracement' is not a recognized processor for this target' is not a recognized processor for this target' is not a recognized processor for this target (ignoring processor)
(ignoring processor)
(ignoring processor)
'''gracementgracementgracement' is not a recognized processor for this target' is not a recognized processor for this target' is not a recognized processor for this target (ignoring processor)
(ignoring processor)
(ignoring processor)
''gracementgracement' is not a recognized processor for this target' is not a recognized processor for this target (ignoring processor)
(ignoring processor)
'gracement'' is not a recognized processor for this targetgracement (ignoring processor)
' is not a recognized processor for this target (ignoring processor)
''gracementgracement' is not a recognized processor for this target' is not a recognized processor for this target (ignoring processor
' (ignoring processor)
gracement' is not a recognized processor for this target'' (ignoring processor)
gracementgracement'' is not a recognized processor for this target' is not a recognized processor for this target (ignoring processor)
(ignoring processor)
LLVM ERROR: 64-bit code requested on a subtarget that doesn't support it!
LLVM ERROR: 64-bit code requested on a subtarget that doesn't support it!
gracement' is not a recognized processor for this target (ignoring processor)
'gracement' is not a recognized processor for this target (ignoring processor)
'gracement' is not a recognized processor for this target (ignoring processor)
LLVM ERROR: 64-bit code requested on a subtarget that doesn't support it!
Please submit a bug report to https://github.com/modularml/mojo/issues and include the crash backtrace along with all the relevant source codes.
Stack dump:
0. Running pass "function(mojo crashed! Please file a bug report.
[49406:49407:20250106,145141.430288:ERROR directory_reader_posix.cc:42] opendir /home/lachlan/Documents/mojo/life/.magic/envs/default/share/max/crashdb/attachments/cb6bf3e3-c159-4db8-b1b5-188876e439

NOTE: the crash log does not appear to have stored on my system]

I'm more than happy to help provide follow-up information or assist with further troubleshooting steps.

Steps to reproduce

  1. magic init life --format mojoproject
  2. cd life
  3. magic run mojo life.mojo
# My first Mojo program!
def main():
    print("Hello, World!")

System information

- OS: Linux Mint 22 (6.2.9)
- `mojo -v` = mojo 24.6.0 (4487cd6e)
- `magic --version` = magic 0.5.1 - (based on pixi 0.37.0)

<details>
<summary>`magic info`</summary>
     Magic version: 0.5.1
System
------------
      Pixi version: 0.37.0
          Platform: linux-64
  Virtual packages: __unix=0=0
                  : __linux=6.8.0=0
                  : __glibc=2.39=0
                  : __archspec=1=skylake
         Cache dir: /home/lachlan/.cache/rattler/cache
      Auth storage: /home/lachlan/.rattler/credentials.json
  Config locations: No config files found

Global
------------
           Bin dir: /home/lachlan/.modular/bin
   Environment dir: /home/lachlan/.modular/envs
      Manifest dir: /home/lachlan/.modular/manifests/pixi-global.toml

Project
------------
              Name: life
           Version: 0.1.0
     Manifest file: /home/lachlan/Documents/mojo/life/mojoproject.toml
      Last updated: 04-01-2025 11:15:42

Environments
------------
       Environment: default
          Features: default
          Channels: conda-forge, https://conda.modular.com/max
  Dependency count: 2
      Dependencies: max, python
  Target platforms: linux-64
</details>
@lachlanm-git lachlanm-git added bug Something isn't working mojo-repo Tag all issues with this label labels Jan 6, 2025
@zbowling
Copy link
Contributor

can you run cat /proc/cpuinfo and post it says here?

@lachlanm-git
Copy link
Author

Here is the output of cat /proc/cpuinfo on my system:

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 190
model name : Intel(R) N100
stepping : 0
microcode : 0x1a
cpu MHz : 803.787
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 32
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs rfds bhi
bogomips : 1612.80
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 190
model name : Intel(R) N100
stepping : 0
microcode : 0x1a
cpu MHz : 817.992
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 32
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs rfds bhi
bogomips : 1612.80
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 190
model name : Intel(R) N100
stepping : 0
microcode : 0x1a
cpu MHz : 839.599
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
apicid : 4
initial apicid : 4
fpu : yes
fpu_exception : yes
cpuid level : 32
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs rfds bhi
bogomips : 1612.80
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 190
model name : Intel(R) N100
stepping : 0
microcode : 0x1a
cpu MHz : 820.720
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 6
initial apicid : 6
fpu : yes
fpu_exception : yes
cpuid level : 32
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs rfds bhi
bogomips : 1612.80
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mojo-repo Tag all issues with this label
Projects
None yet
Development

No branches or pull requests

2 participants