You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Mojo you are using? 0.3.1 has rebuilt instalator, so if you are upgrading from version before 0.3.1 (as stated here: https://docs.modular.com/mojo/changelog.html#v0.4.0-2023-10-05) you have to update Modular first and then clean Mojo before update:
Issue description
modular update mojo error: duplicate or unknown struct parameter name: cpu
Steps to reproduce
modular update mojo
loc("#M.target<triple = \22x86_64-unknown-linux\22, cpu = \22znver3\22, features = \22+64bit,+adx,+aes,+avx,+avx2,+bmi,+bmi2,+clflushopt,+clwb,+clzero,+cmov,+crc32,+cx16,+cx8,+f16c,+fma,+fsgsbase,+fxsr,+invpcid,+lzcnt,+mmx,+movbe,+mwaitx,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdpru,+rdrnd,+rdseed,+sahf,+sha,+shstk,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+sse4a,+ssse3,+vaes,+vpclmulqdq,+wbnoinvd,+x87,+xsave,+xsavec,+xsaveopt,+xsaves\22, data_layout = \22e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128\22, simd_bit_width = 256>":1:50): error: duplicate or unknown struct parameter name: cpu
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. Program arguments: modular update mojo
#0 0x000055d6f5616bb7 (/usr/bin/modular+0x4eebb7)
#1 0x000055d6f561486e (/usr/bin/modular+0x4ec86e)
#2 0x000055d6f561727f (/usr/bin/modular+0x4ef27f)
#3 0x00007ff455242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000055d6f59d4434 (/usr/bin/modular+0x8ac434)
#5 0x000055d6f59d3abf (/usr/bin/modular+0x8ababf)
#6 0x000055d6f55f26f4 (/usr/bin/modular+0x4ca6f4)
#7 0x000055d6f55f1ada (/usr/bin/modular+0x4c9ada)
#8 0x000055d6f55d8ec3 (/usr/bin/modular+0x4b0ec3)
#9 0x00007ff455229d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#10 0x00007ff455229e40 call_init ./csu/../csu/libc-start.c:128:20
#11 0x00007ff455229e40 __libc_start_main ./csu/../csu/libc-start.c:379:5
#12 0x000055d6f55d855e (/usr/bin/modular+0x4b055e)
Segmentation fault (core dumped)
Version Info
The text was updated successfully, but these errors were encountered: