llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.25k stars 12.07k forks source link

Assrtion failed using exo #117024

Open hjblik opened 3 days ago

hjblik commented 3 days ago

running export DEBUG=4 cd exo .venv/bin/exo 2>/tmp/exo.error

connecting to exo with a browser on port 52415 result in an erro clang non zero exit and a /tmp/exo.error file with

None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. clang-20: /home/hjb/llvm-project/llvm/lib/IR/Instructions.cpp:2966: static llvm::CastInst llvm::CastInst::Create(llvm::Instruction::CastOps, llvm::Value, llvm::Type*, const llvm::Twine&, llvm::InsertPosition): Assertion `castIsValid(op, S, Ty) && "Invalid cast!"' failed. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump:

  1. Program arguments: /usr/local/bin/clang-20 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -dumpdir /tmp/tmp_lipf8bj- -disable-free -clear-ast-before-backend -main-file-name - -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=none -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -ffreestanding -target-cpu alderlake -target-feature +prfchw -target-feature -cldemote -target-feature +avx -target-feature +aes -target-feature +sahf -target-feature +pclmul -target-feature -xop -target-feature +crc32 -target-feature -amx-fp8 -target-feature +xsaves -target-feature -avx512fp16 -target-feature -usermsr -target-feature -sm4 -target-feature -egpr -target-feature +sse4.1 -target-feature -avx512ifma -target-feature +xsave -target-feature +sse4.2 -target-feature -tsxldtrk -target-feature -sm3 -target-feature +ptwrite -target-feature -widekl -target-feature -movrs -target-feature +invpcid -target-feature +64bit -target-feature +xsavec -target-feature -avx10.1-512 -target-feature -avx512vpopcntdq -target-feature +cmov -target-feature -avx512vp2intersect -target-feature -avx512cd -target-feature +movbe -target-feature -avxvnniint8 -target-feature -ccmp -target-feature -amx-int8 -target-feature -kl -target-feature -avx10.1-256 -target-feature -sha512 -target-feature +avxvnni -target-feature -rtm -target-feature +adx -target-feature +avx2 -target-feature +hreset -target-feature +movdiri -target-feature +serialize -target-feature +vpclmulqdq -target-feature -avx512vl -target-feature -uintr -target-feature -cf -target-feature +clflushopt -target-feature -raoint -target-feature -cmpccxadd -target-feature +bmi -target-feature -amx-tile -target-feature +sse -target-feature -avx10.2-256 -target-feature +gfni -target-feature -avxvnniint16 -target-feature -amx-fp16 -target-feature -zu -target-feature -ndd -target-feature +xsaveopt -target-feature +rdrnd -target-feature -avx512f -target-feature -amx-bf16 -target-feature -avx512bf16 -target-feature -avx512vnni -target-feature -push2pop2 -target-feature +cx8 -target-feature -avx512bw -target-feature +sse3 -target-feature +pku -target-feature -nf -target-feature -amx-tf32 -target-feature -amx-avx512 -target-feature +fsgsbase -target-feature -clzero -target-feature -mwaitx -target-feature -lwp -target-feature +lzcnt -target-feature +sha -target-feature +movdir64b -target-feature -ppx -target-feature -wbnoinvd -target-feature -enqcmd -target-feature -amx-transpose -target-feature -avx10.2-512 -target-feature -avxneconvert -target-feature -tbm -target-feature -pconfig -target-feature -amx-complex -target-feature +ssse3 -target-feature +cx16 -target-feature +bmi2 -target-feature +fma -target-feature +popcnt -target-feature -avxifma -target-feature +f16c -target-feature -avx512bitalg -target-feature -rdpru -target-feature +clwb -target-feature +mmx -target-feature +sse2 -target-feature +rdseed -target-feature -avx512vbmi2 -target-feature -prefetchi -target-feature -amx-movrs -target-feature +rdpid -target-feature -fma4 -target-feature -avx512vbmi -target-feature +shstk -target-feature +vaes -target-feature +waitpkg -target-feature -sgx -target-feature +fxsr -target-feature -avx512dq -target-feature -sse4a -debugger-tuning=gdb -fdebug-compilation-dir=/home/hjb/exo -fcoverage-compilation-dir=/home/hjb/exo -resource-dir /usr/local/lib/clang/20 -internal-isystem /usr/local/lib/clang/20/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/x86_64-redhat-linux/11/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -O2 -Wall -Werror -ferror-limit 19 -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -vectorize-loops -vectorize-slp -faddrsig -o /tmp/--d7bc84.o -x c -
  2. parser at end of file
  3. :2:6: LLVM IR generation of declaration 'E_1048576_4'
  4. :2:6: Generating code for declaration 'E_1048576_4'
  5. :3:49: LLVM IR generation of compound statement ('{}')
  6. parser at end of file
  7. :2:6: LLVM IR generation of declaration 'E_1048576_4'
  8. :2:6: Generating code for declaration 'E_1048576_4'
  9. :3:49: LLVM IR generation of compound statement ('{}') #0 0x0000000003b58271 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/bin/clang-20+0x3b58271) #1 0x0000000003b5586b llvm::sys::RunSignalHandlers() (/usr/local/bin/clang-20+0x3b5586b) #2 0x0000000003b559a5 SignalHandler(int) Signals.cpp:0:0 #3 0x00007f9678e3e730 __restore_rt (/lib64/libc.so.6+0x3e730) #4 0x00007f9678e8ba6c __pthread_kill_implementation (/lib64/libc.so.6+0x8ba6c) #5 0x00007f9678e3e686 gsignal (/lib64/libc.so.6+0x3e686) #6 0x00007f9678e28833 abort (/lib64/libc.so.6+0x28833) #7 0x00007f9678e2875b _nl_load_domain.cold (/lib64/libc.so.6+0x2875b) #8 0x00007f9678e373c6 (/lib64/libc.so.6+0x373c6) #9 0x0000000003485801 (/usr/local/bin/clang-20+0x3485801) #10 0x00000000036cd082 llvm::IRBuilderBase::CreateFPTrunc(llvm::Value*, llvm::Type*, llvm::Twine const&) (/usr/local/bin/clang-20+0x36cd082) #11 0x000000000435a53d (anonymous namespace)::ScalarExprEmitter::EmitScalarConversion(llvm::Value*, clang::QualType, clang::QualType, clang::SourceLocation, (anonymous namespace)::ScalarExprEmitter::ScalarConversionOpts) CGExprScalar.cpp:0:0 #12 0x0000000004368411 (anonymous namespace)::ScalarExprEmitter::VisitCastExpr(clang::CastExpr*) CGExprScalar.cpp:0:0 #13 0x000000000436f606 (anonymous namespace)::ScalarExprEmitter::VisitInitListExpr(clang::InitListExpr*) CGExprScalar.cpp:0:0 #14 0x0000000004364ef3 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/local/bin/clang-20+0x4364ef3) #15 0x00000000042fb3cd clang::CodeGen::CodeGenFunction::EmitAnyExprToMem(clang::Expr const*, clang::CodeGen::Address, clang::Qualifiers, bool) (/usr/local/bin/clang-20+0x42fb3cd) #16 0x00000000042fb6cc clang::CodeGen::CodeGenFunction::EmitCompoundLiteralLValue(clang::CompoundLiteralExpr const*) (/usr/local/bin/clang-20+0x42fb6cc) #17 0x000000000431a6de clang::CodeGen::CodeGenFunction::EmitLValueHelper(clang::Expr const*, clang::CodeGen::KnownNonNull_t) (/usr/local/bin/clang-20+0x431a6de) #18 0x000000000431aba7 void llvm::function_ref::callback_fn(long) CGExpr.cpp:0:0 #19 0x00000000076cb921 clang::StackExhaustionHandler::runWithSufficientStackSpace(clang::SourceLocation, llvm::function_ref) (/usr/local/bin/clang-20+0x76cb921) #20 0x00000000042eb438 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*, clang::CodeGen::KnownNonNull_t) (/usr/local/bin/clang-20+0x42eb438) #21 0x0000000004311c20 clang::CodeGen::CodeGenFunction::EmitCheckedLValue(clang::Expr const*, clang::CodeGen::CodeGenFunction::TypeCheckKind) (/usr/local/bin/clang-20+0x4311c20) #22 0x0000000004367ca0 (anonymous namespace)::ScalarExprEmitter::EmitLoadOfLValue(clang::Expr const*) CGExprScalar.cpp:0:0 #23 0x000000000436204b (anonymous namespace)::ScalarExprEmitter::Visit(clang::Expr*) CGExprScalar.cpp:0:0 #24 0x000000000436838b (anonymous namespace)::ScalarExprEmitter::VisitCastExpr(clang::CastExpr*) CGExprScalar.cpp:0:0 #25 0x000000000436204b (anonymous namespace)::ScalarExprEmitter::Visit(clang::Expr*) CGExprScalar.cpp:0:0 #26 0x000000000436b6e1 (anonymous namespace)::ScalarExprEmitter::VisitBinAssign(clang::BinaryOperator const*) CGExprScalar.cpp:0:0 #27 0x0000000004364ef3 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/local/bin/clang-20+0x4364ef3) #28 0x00000000042f1e1e clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/local/bin/clang-20+0x42f1e1e) #29 0x000000000431542e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/local/bin/clang-20+0x431542e) #30 0x0000000003e93b4c clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/local/bin/clang-20+0x3e93b4c) #31 0x0000000003e9baec clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/local/bin/clang-20+0x3e9baec) #32 0x0000000003e9bfa9 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/local/bin/clang-20+0x3e9bfa9) #33 0x0000000003e9c1fa clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/local/bin/clang-20+0x3e9c1fa) #34 0x0000000003e93a01 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/usr/local/bin/clang-20+0x3e93a01) #35 0x0000000003e9867d clang::CodeGen::CodeGenFunction::EmitForStmt(clang::ForStmt const&, llvm::ArrayRef) (/usr/local/bin/clang-20+0x3e9867d) #36 0x0000000003e9baec clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/local/bin/clang-20+0x3e9baec) #37 0x0000000003f0320e clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::Stmt const*) (/usr/local/bin/clang-20+0x3f0320e) #38 0x0000000003f19554 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/local/bin/clang-20+0x3f19554) #39 0x0000000003f767ea clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/local/bin/clang-20+0x3f767ea) #40 0x0000000003f71045 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/local/bin/clang-20+0x3f71045) #41 0x0000000003f716a3 clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) (/usr/local/bin/clang-20+0x3f716a3) #42 0x0000000003f7b5e7 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) (.part.0) CodeGenModule.cpp:0:0 #43 0x0000000004495436 (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) ModuleBuilder.cpp:0:0 #44 0x00000000044850d3 clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) (/usr/local/bin/clang-20+0x44850d3) #45 0x0000000005fe7364 clang::ParseAST(clang::Sema&, bool, bool) (/usr/local/bin/clang-20+0x5fe7364) #46 0x0000000004765b39 clang::FrontendAction::Execute() (/usr/local/bin/clang-20+0x4765b39) #47 0x00000000046e22d5 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/local/bin/clang-20+0x46e22d5) #48 0x0000000004842963 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/local/bin/clang-20+0x4842963) #49 0x0000000000b8da67 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/local/bin/clang-20+0xb8da67) #50 0x0000000000b8464a ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) driver.cpp:0:0 #51 0x0000000000b8891f clang_main(int, char**, llvm::ToolContext const&) (/usr/local/bin/clang-20+0xb8891f) #52 0x0000000000a84134 main (/usr/local/bin/clang-20+0xa84134) #53 0x00007f9678e295d0 __libc_start_call_main (/lib64/libc.so.6+0x295d0) #54 0x00007f9678e29680 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x29680) #55 0x0000000000b83d95 _start (/usr/local/bin/clang-20+0xb83d95) clang: error: unable to execute command: Aborted (core dumped) clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 20.0.0git (https://github.com/llvm/llvm-project.git 42ed7757835122a63477b5783215e1100cd0b709) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/local/bin Build config: +assertions clang: note: diagnostic msg: Error generating preprocessed source(s) - ignoring input from stdin.

end of /tmp/exo.error

CPU and Display: description: Computer width: 64 bits capabilities: smp vsyscall32 -core description: Motherboard physical id: 0 -memory description: System memory physical id: 0 size: 96GiB -cpu product: Intel(R) Core(TM) Ultra 5 125H vendor: Intel Corp. physical id: 1 bus info: cpu@0 version: 6.170.4 size: 400MHz capacity: 4500MHz width: 64 bits capabilities: fpu fpu_exception wp 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 x86-64 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 smx 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 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid bus_lock_detect movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities intel_ppin cpufreq configuration: microcode=31 -pci description: Host bridge product: Intel Corporation vendor: Intel Corporation physical id: 100 bus info: pci@0000:00:00.0 version: 04 width: 32 bits clock: 33MHz *-display description: VGA compatible controller product: Meteor Lake-P [Intel Arc Graphics] vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 08 width: 64 bits clock: 33MHz capabilities: vga_controller bus_master cap_list configuration: driver=i915 latency=0 resources: iomemory:600-5ff iomemory:400-3ff irq:218 memory:6017000000-6017ffffff memory:4000000000-400fffffff memory:6010000000-6016ffffff

96GB memory

llvmbot commented 3 days ago

@llvm/issue-subscribers-clang-codegen

Author: None (hjblik)

running export DEBUG=4 cd exo .venv/bin/exo 2>/tmp/exo.error connecting to exo with a browser on port 52415 result in an erro clang non zero exit and a /tmp/exo.error file with None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. clang-20: /home/hjb/llvm-project/llvm/lib/IR/Instructions.cpp:2966: static llvm::CastInst* llvm::CastInst::Create(llvm::Instruction::CastOps, llvm::Value*, llvm::Type*, const llvm::Twine&, llvm::InsertPosition): Assertion `castIsValid(op, S, Ty) && "Invalid cast!"' failed. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/local/bin/clang-20 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -dumpdir /tmp/tmp_lipf8bj- -disable-free -clear-ast-before-backend -main-file-name - -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=none -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -ffreestanding -target-cpu alderlake -target-feature +prfchw -target-feature -cldemote -target-feature +avx -target-feature +aes -target-feature +sahf -target-feature +pclmul -target-feature -xop -target-feature +crc32 -target-feature -amx-fp8 -target-feature +xsaves -target-feature -avx512fp16 -target-feature -usermsr -target-feature -sm4 -target-feature -egpr -target-feature +sse4.1 -target-feature -avx512ifma -target-feature +xsave -target-feature +sse4.2 -target-feature -tsxldtrk -target-feature -sm3 -target-feature +ptwrite -target-feature -widekl -target-feature -movrs -target-feature +invpcid -target-feature +64bit -target-feature +xsavec -target-feature -avx10.1-512 -target-feature -avx512vpopcntdq -target-feature +cmov -target-feature -avx512vp2intersect -target-feature -avx512cd -target-feature +movbe -target-feature -avxvnniint8 -target-feature -ccmp -target-feature -amx-int8 -target-feature -kl -target-feature -avx10.1-256 -target-feature -sha512 -target-feature +avxvnni -target-feature -rtm -target-feature +adx -target-feature +avx2 -target-feature +hreset -target-feature +movdiri -target-feature +serialize -target-feature +vpclmulqdq -target-feature -avx512vl -target-feature -uintr -target-feature -cf -target-feature +clflushopt -target-feature -raoint -target-feature -cmpccxadd -target-feature +bmi -target-feature -amx-tile -target-feature +sse -target-feature -avx10.2-256 -target-feature +gfni -target-feature -avxvnniint16 -target-feature -amx-fp16 -target-feature -zu -target-feature -ndd -target-feature +xsaveopt -target-feature +rdrnd -target-feature -avx512f -target-feature -amx-bf16 -target-feature -avx512bf16 -target-feature -avx512vnni -target-feature -push2pop2 -target-feature +cx8 -target-feature -avx512bw -target-feature +sse3 -target-feature +pku -target-feature -nf -target-feature -amx-tf32 -target-feature -amx-avx512 -target-feature +fsgsbase -target-feature -clzero -target-feature -mwaitx -target-feature -lwp -target-feature +lzcnt -target-feature +sha -target-feature +movdir64b -target-feature -ppx -target-feature -wbnoinvd -target-feature -enqcmd -target-feature -amx-transpose -target-feature -avx10.2-512 -target-feature -avxneconvert -target-feature -tbm -target-feature -pconfig -target-feature -amx-complex -target-feature +ssse3 -target-feature +cx16 -target-feature +bmi2 -target-feature +fma -target-feature +popcnt -target-feature -avxifma -target-feature +f16c -target-feature -avx512bitalg -target-feature -rdpru -target-feature +clwb -target-feature +mmx -target-feature +sse2 -target-feature +rdseed -target-feature -avx512vbmi2 -target-feature -prefetchi -target-feature -amx-movrs -target-feature +rdpid -target-feature -fma4 -target-feature -avx512vbmi -target-feature +shstk -target-feature +vaes -target-feature +waitpkg -target-feature -sgx -target-feature +fxsr -target-feature -avx512dq -target-feature -sse4a -debugger-tuning=gdb -fdebug-compilation-dir=/home/hjb/exo -fcoverage-compilation-dir=/home/hjb/exo -resource-dir /usr/local/lib/clang/20 -internal-isystem /usr/local/lib/clang/20/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/x86_64-redhat-linux/11/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -O2 -Wall -Werror -ferror-limit 19 -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -vectorize-loops -vectorize-slp -faddrsig -o /tmp/--d7bc84.o -x c - 1. <eof> parser at end of file 2. <stdin>:2:6: LLVM IR generation of declaration 'E_1048576_4' 3. <stdin>:2:6: Generating code for declaration 'E_1048576_4' 4. <stdin>:3:49: LLVM IR generation of compound statement ('{}') 1. <eof> parser at end of file 2. <stdin>:2:6: LLVM IR generation of declaration 'E_1048576_4' 3. <stdin>:2:6: Generating code for declaration 'E_1048576_4' 4. <stdin>:3:49: LLVM IR generation of compound statement ('{}') #0 0x0000000003b58271 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/bin/clang-20+0x3b58271) #1 0x0000000003b5586b llvm::sys::RunSignalHandlers() (/usr/local/bin/clang-20+0x3b5586b) #2 0x0000000003b559a5 SignalHandler(int) Signals.cpp:0:0 #3 0x00007f9678e3e730 __restore_rt (/lib64/libc.so.6+0x3e730) #4 0x00007f9678e8ba6c __pthread_kill_implementation (/lib64/libc.so.6+0x8ba6c) #5 0x00007f9678e3e686 gsignal (/lib64/libc.so.6+0x3e686) #6 0x00007f9678e28833 abort (/lib64/libc.so.6+0x28833) #7 0x00007f9678e2875b _nl_load_domain.cold (/lib64/libc.so.6+0x2875b) #8 0x00007f9678e373c6 (/lib64/libc.so.6+0x373c6) #9 0x0000000003485801 (/usr/local/bin/clang-20+0x3485801) #10 0x00000000036cd082 llvm::IRBuilderBase::CreateFPTrunc(llvm::Value*, llvm::Type*, llvm::Twine const&) (/usr/local/bin/clang-20+0x36cd082) #11 0x000000000435a53d (anonymous namespace)::ScalarExprEmitter::EmitScalarConversion(llvm::Value*, clang::QualType, clang::QualType, clang::SourceLocation, (anonymous namespace)::ScalarExprEmitter::ScalarConversionOpts) CGExprScalar.cpp:0:0 #12 0x0000000004368411 (anonymous namespace)::ScalarExprEmitter::VisitCastExpr(clang::CastExpr*) CGExprScalar.cpp:0:0 #13 0x000000000436f606 (anonymous namespace)::ScalarExprEmitter::VisitInitListExpr(clang::InitListExpr*) CGExprScalar.cpp:0:0 #14 0x0000000004364ef3 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/local/bin/clang-20+0x4364ef3) #15 0x00000000042fb3cd clang::CodeGen::CodeGenFunction::EmitAnyExprToMem(clang::Expr const*, clang::CodeGen::Address, clang::Qualifiers, bool) (/usr/local/bin/clang-20+0x42fb3cd) #16 0x00000000042fb6cc clang::CodeGen::CodeGenFunction::EmitCompoundLiteralLValue(clang::CompoundLiteralExpr const*) (/usr/local/bin/clang-20+0x42fb6cc) #17 0x000000000431a6de clang::CodeGen::CodeGenFunction::EmitLValueHelper(clang::Expr const*, clang::CodeGen::KnownNonNull_t) (/usr/local/bin/clang-20+0x431a6de) #18 0x000000000431aba7 void llvm::function_ref<void ()>::callback_fn<clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*, clang::CodeGen::KnownNonNull_t)::'lambda'()>(long) CGExpr.cpp:0:0 #19 0x00000000076cb921 clang::StackExhaustionHandler::runWithSufficientStackSpace(clang::SourceLocation, llvm::function_ref<void ()>) (/usr/local/bin/clang-20+0x76cb921) #20 0x00000000042eb438 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*, clang::CodeGen::KnownNonNull_t) (/usr/local/bin/clang-20+0x42eb438) #21 0x0000000004311c20 clang::CodeGen::CodeGenFunction::EmitCheckedLValue(clang::Expr const*, clang::CodeGen::CodeGenFunction::TypeCheckKind) (/usr/local/bin/clang-20+0x4311c20) #22 0x0000000004367ca0 (anonymous namespace)::ScalarExprEmitter::EmitLoadOfLValue(clang::Expr const*) CGExprScalar.cpp:0:0 #23 0x000000000436204b (anonymous namespace)::ScalarExprEmitter::Visit(clang::Expr*) CGExprScalar.cpp:0:0 #24 0x000000000436838b (anonymous namespace)::ScalarExprEmitter::VisitCastExpr(clang::CastExpr*) CGExprScalar.cpp:0:0 #25 0x000000000436204b (anonymous namespace)::ScalarExprEmitter::Visit(clang::Expr*) CGExprScalar.cpp:0:0 #26 0x000000000436b6e1 (anonymous namespace)::ScalarExprEmitter::VisitBinAssign(clang::BinaryOperator const*) CGExprScalar.cpp:0:0 #27 0x0000000004364ef3 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/local/bin/clang-20+0x4364ef3) #28 0x00000000042f1e1e clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/local/bin/clang-20+0x42f1e1e) #29 0x000000000431542e clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/local/bin/clang-20+0x431542e) #30 0x0000000003e93b4c clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) (/usr/local/bin/clang-20+0x3e93b4c) #31 0x0000000003e9baec clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/local/bin/clang-20+0x3e9baec) #32 0x0000000003e9bfa9 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/local/bin/clang-20+0x3e9bfa9) #33 0x0000000003e9c1fa clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) (/usr/local/bin/clang-20+0x3e9c1fa) #34 0x0000000003e93a01 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) (/usr/local/bin/clang-20+0x3e93a01) #35 0x0000000003e9867d clang::CodeGen::CodeGenFunction::EmitForStmt(clang::ForStmt const&, llvm::ArrayRef<clang::Attr const*>) (/usr/local/bin/clang-20+0x3e9867d) #36 0x0000000003e9baec clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/local/bin/clang-20+0x3e9baec) #37 0x0000000003f0320e clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::Stmt const*) (/usr/local/bin/clang-20+0x3f0320e) #38 0x0000000003f19554 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/local/bin/clang-20+0x3f19554) #39 0x0000000003f767ea clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/local/bin/clang-20+0x3f767ea) #40 0x0000000003f71045 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/local/bin/clang-20+0x3f71045) #41 0x0000000003f716a3 clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) (/usr/local/bin/clang-20+0x3f716a3) #42 0x0000000003f7b5e7 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) (.part.0) CodeGenModule.cpp:0:0 #43 0x0000000004495436 (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) ModuleBuilder.cpp:0:0 #44 0x00000000044850d3 clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) (/usr/local/bin/clang-20+0x44850d3) #45 0x0000000005fe7364 clang::ParseAST(clang::Sema&, bool, bool) (/usr/local/bin/clang-20+0x5fe7364) #46 0x0000000004765b39 clang::FrontendAction::Execute() (/usr/local/bin/clang-20+0x4765b39) #47 0x00000000046e22d5 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/local/bin/clang-20+0x46e22d5) #48 0x0000000004842963 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/local/bin/clang-20+0x4842963) #49 0x0000000000b8da67 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/local/bin/clang-20+0xb8da67) #50 0x0000000000b8464a ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) driver.cpp:0:0 #51 0x0000000000b8891f clang_main(int, char**, llvm::ToolContext const&) (/usr/local/bin/clang-20+0xb8891f) #52 0x0000000000a84134 main (/usr/local/bin/clang-20+0xa84134) #53 0x00007f9678e295d0 __libc_start_call_main (/lib64/libc.so.6+0x295d0) #54 0x00007f9678e29680 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x29680) #55 0x0000000000b83d95 _start (/usr/local/bin/clang-20+0xb83d95) clang: error: unable to execute command: Aborted (core dumped) clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 20.0.0git (https://github.com/llvm/llvm-project.git 42ed7757835122a63477b5783215e1100cd0b709) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/local/bin Build config: +assertions clang: note: diagnostic msg: Error generating preprocessed source(s) - ignoring input from stdin. ### end of /tmp/exo.error ### CPU and Display: description: Computer width: 64 bits capabilities: smp vsyscall32 *-core description: Motherboard physical id: 0 *-memory description: System memory physical id: 0 size: 96GiB *-cpu product: Intel(R) Core(TM) Ultra 5 125H vendor: Intel Corp. physical id: 1 bus info: cpu@0 version: 6.170.4 size: 400MHz capacity: 4500MHz width: 64 bits capabilities: fpu fpu_exception wp 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 x86-64 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 smx 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 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid bus_lock_detect movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities intel_ppin cpufreq configuration: microcode=31 *-pci description: Host bridge product: Intel Corporation vendor: Intel Corporation physical id: 100 bus info: pci@0000:00:00.0 version: 04 width: 32 bits clock: 33MHz *-display description: VGA compatible controller product: Meteor Lake-P [Intel Arc Graphics] vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 08 width: 64 bits clock: 33MHz capabilities: vga_controller bus_master cap_list configuration: driver=i915 latency=0 resources: iomemory:600-5ff iomemory:400-3ff irq:218 memory:6017000000-6017ffffff memory:4000000000-400fffffff memory:6010000000-6016ffffff 96GB memory