Issue |
133573
|
Summary |
clang frontend command failed due to signal
|
Labels |
clang
|
Assignees |
|
Reporter |
MacroModel
|
```ps
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 21.0.0git (g...@github.com:trcrsired/llvm-project.git 38b0c053bae7fdb45b185e1b3c1a43eae50dfdca)
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: D:/tool-chain/x86_64-windows-gnu/llvm/bin
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: C:/Users/16P/AppData/Local/Temp/execute_wasm-007c6d.cppm
clang: note: diagnostic msg: C:/Users/16P/AppData/Local/Temp/execute_wasm-007c6d.sh
clang: note: diagnostic msg:
********************
```
```cpp
# 1 "src\\uwvm\\wasm\\storage\\execute_wasm.cppm"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 548 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "src\\uwvm\\wasm\\storage\\execute_wasm.cppm" 2
# 25 "src\\uwvm\\wasm\\storage\\execute_wasm.cppm"
module;
export module uwvm.wasm.storage:execute_wasm;
import fast_io;
export namespace uwvm::wasm::storage
{
inline ::fast_io::native_dll_file execute_wasm_file{};
}
```
```sh
# Crash reproducer for clang version 21.0.0git (g...@github.com:trcrsired/llvm-project.git 38b0c053bae7fdb45b185e1b3c1a43eae50dfdca)
# Driver args: "-c" "-Qunused-arguments" "-m64" "--target=x86_64-w64-windows-gnu" "-g" "-Wall" "-O0" "-std=c++26" "-I" "third-parties\\fast_io\\include" "-I" "src" "-D" "UWVM_VERSION_X=2" "-D" "UWVM_VERSION_Y=0" "-D" "UWVM_VERSION_Z=0" "-D" "UWVM_VERSION_S=0" "-D" "UWVM_USE_DEFAULT_INT" "-D" "UWVM_USE_DEFAULT_JIT" "-D" "_WIN32_WINNT=0x0A00" "-D" "WINVER=0x0A00" "-D" "DEBUG" "-D" "_DEBUG" "-finput-charset=UTF-8" "-fexec-charset=UTF-8" "-fsanitize=address" "-fsanitize=undefined" "-Wno-braced-scalar-init" "-fno-rtti" "-fno-unwind-tables" "-march=native" "-fmodule-file=fast_io=build\\.gens\\uwvm\\mingw\\x86_64\\debug\\rules\\bmi\\cache\\modules\\63f7f4c9\\fast_io.pcm" "-x" "c++-module" "-fmodule-output=build\\.gens\\uwvm\\mingw\\x86_64\\debug\\rules\\bmi\\cache\\modules\\63f7f4c9\\uwvm.wasm.storage-execute_wasm.pcm" "-fdiagnostics-color=always" "-fansi-escape-codes" "-o" "build\\.objs\\uwvm\\mingw\\x86_64\\debug\\src\\uwvm\\wasm\\storage\\execute_wasm.cppm.obj" "src\\uwvm\\wasm\\storage\\execute_wasm.cppm"
# Original command: "D:/tool-chain/x86_64-windows-gnu/llvm/bin/clang.exe" "-cc1" "-triple" "x86_64-w64-windows-gnu" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "execute_wasm.cppm" "-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=none" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-mms-bitfields" "-funwind-tables=2" "-fno-sized-deallocation" "-fno-use-init-array" "-target-cpu" "raptorlake" "-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" "-debug-info-kind=constructor" "-dwarf-version=4" "-debugger-tuning=gdb" "-fdebug-compilation-dir=D:/UltiELF/uwvm2" "-fcoverage-compilation-dir=D:/UltiELF/uwvm2" "-resource-dir" "D:/tool-chain/x86_64-windows-gnu/llvm/lib/clang/21" "-O0" "-Wall" "-Wno-braced-scalar-init" "-std=c++26" "-fdeprecated-macro" "-ferror-limit" "19" "-fno-rtti" "-fno-use-cxa-atexit" "-fgnuc-version=4.2.1" "-fno-implicit-modules" "-fmodule-file=fast_io=build\\.gens\\uwvm\\mingw\\x86_64\\debug\\rules\\bmi\\cache\\modules\\63f7f4c9\\fast_io.pcm" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-exception-model=seh" "-fcolor-diagnostics" "-fansi-escape-codes" "-fsanitize=address,alignment,array-bounds,bool,builtin,enum,float-cast-overflow,function,integer-divide-by-zero,nonnull-attribute,null,pointer-overflow,return,returns-nonnull-attribute,shift-base,shift-exponent,signed-integer-overflow,unreachable,vla-bound" "-fsanitize-recover=alignment,array-bounds,bool,builtin,enum,float-cast-overflow,function,integer-divide-by-zero,nonnull-attribute,null,pointer-overflow,returns-nonnull-attribute,shift-base,shift-exponent,signed-integer-overflow,vla-bound" "-fsanitize-merge=alignment,array-bounds,bool,builtin,enum,float-cast-overflow,function,integer-divide-by-zero,nonnull-attribute,null,pointer-overflow,return,returns-nonnull-attribute,shift-base,shift-exponent,signed-integer-overflow,unreachable,vla-bound" "-fsanitize-system-ignorelist=D:/tool-chain/x86_64-windows-gnu/llvm/lib/clang/21/share/asan_ignorelist.txt" "-fno-sanitize-memory-param-retval" "-fsanitize-address-use-after-scope" "-fsanitize-address-globals-dead-stripping" "-fno-sanitize-address-use-odr-indicator" "-fno-assume-sane-operator-new" "-faddrsig" "-o" "build\\.objs\\uwvm\\mingw\\x86_64\\debug\\src\\uwvm\\wasm\\storage\\execute_wasm.cppm.obj" "-x" "pcm" "build\\.gens\\uwvm\\mingw\\x86_64\\debug\\rules\\bmi\\cache\\modules\\63f7f4c9\\uwvm.wasm.storage-execute_wasm.pcm"
"D:/tool-chain/x86_64-windows-gnu/llvm/bin/clang.exe" "-cc1" "-triple" "x86_64-w64-windows-gnu" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "execute_wasm.cppm" "-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=none" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-mms-bitfields" "-funwind-tables=2" "-fno-sized-deallocation" "-fno-use-init-array" "-target-cpu" "raptorlake" "-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" "-debug-info-kind=constructor" "-dwarf-version=4" "-debugger-tuning=gdb" "-fdebug-compilation-dir=D:/UltiELF/uwvm2" "-fcoverage-compilation-dir=D:/UltiELF/uwvm2" "-O0" "-Wall" "-Wno-braced-scalar-init" "-std=c++26" "-fdeprecated-macro" "-ferror-limit" "19" "-fno-rtti" "-fno-use-cxa-atexit" "-fgnuc-version=4.2.1" "-fno-implicit-modules" "-fmodule-file=fast_io=build\\.gens\\uwvm\\mingw\\x86_64\\debug\\rules\\bmi\\cache\\modules\\63f7f4c9\\fast_io.pcm" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-exception-model=seh" "-fcolor-diagnostics" "-fansi-escape-codes" "-fsanitize=address,alignment,array-bounds,bool,builtin,enum,float-cast-overflow,function,integer-divide-by-zero,nonnull-attribute,null,pointer-overflow,return,returns-nonnull-attribute,shift-base,shift-exponent,signed-integer-overflow,unreachable,vla-bound" "-fsanitize-recover=alignment,array-bounds,bool,builtin,enum,float-cast-overflow,function,integer-divide-by-zero,nonnull-attribute,null,pointer-overflow,returns-nonnull-attribute,shift-base,shift-exponent,signed-integer-overflow,vla-bound" "-fsanitize-merge=alignment,array-bounds,bool,builtin,enum,float-cast-overflow,function,integer-divide-by-zero,nonnull-attribute,null,pointer-overflow,return,returns-nonnull-attribute,shift-base,shift-exponent,signed-integer-overflow,unreachable,vla-bound" "-fsanitize-system-ignorelist=D:/tool-chain/x86_64-windows-gnu/llvm/lib/clang/21/share/asan_ignorelist.txt" "-fno-sanitize-memory-param-retval" "-fsanitize-address-use-after-scope" "-fsanitize-address-globals-dead-stripping" "-fno-sanitize-address-use-odr-indicator" "-fno-assume-sane-operator-new" "-faddrsig" "-x" "pcm" "execute_wasm-007c6d.cppm"
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs