Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-an23-build-207594-61651/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674777600 Wrote: /builddir/build/SRPMS/rust-1.67.0-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-an23-build-207594-61651/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674777600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vEBfqJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wasi-libc-wasi-sdk-17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/wasi-libc-wasi-sdk-17.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wasi-libc-wasi-sdk-17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf rustc-1.67.0-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rustc-1.67.0-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.67.0-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Use-lld-provided-by-system-for-wasm.patch):' Patch #1 (0001-Use-lld-provided-by-system-for-wasm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file compiler/rustc_target/src/spec/wasm_base.rs Hunk #1 succeeded at 88 (offset -1 lines). + echo 'Patch #2 (rustc-1.61.0-rust-gdb-substitute-path.patch):' Patch #2 (rustc-1.61.0-rust-gdb-substitute-path.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/etc/rust-gdb + echo 'Patch #3 (675fa0b3dd5fe14b43ad5b7862f4528df7322468.patch):' Patch #3 (675fa0b3dd5fe14b43ad5b7862f4528df7322468.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/bootstrap/cache.rs Patch #4 (107360-modified.patch): + echo 'Patch #4 (107360-modified.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file compiler/rustc_codegen_llvm/src/back/archive.rs + sed -i.try-python -e '/^try python3 /i try "/usr/bin/python3" "$@"' ./configure + sed -i.rust-src -e s#@BUILDDIR@#/builddir/build/BUILD/rustc-1.67.0-src# ./src/etc/rust-gdb + rm -rf src/llvm-project/ + mkdir -p src/llvm-project/libunwind/ + rm -rf vendor/curl-sys/curl/ + rm -rf vendor/jemalloc-sys/jemalloc/ vendor/tikv-jemalloc-sys/jemalloc/ + rm -rf vendor/libmimalloc-sys/c_src/mimalloc/ + rm -rf vendor/libssh2-sys/libssh2/ + rm -rf vendor/libz-sys/src/zlib/ + rm -rf vendor/libz-sys/src/zlib-ng/ + rm -rf vendor/lzma-sys/xz-5.2/ + rm -rf vendor/openssl-src/openssl/ + rm -rf vendor/libgit2-sys/libgit2/ + sed -i.lzma -e /LZMA_API_STATIC/d src/bootstrap/tool.rs + find vendor -name .cargo-checksum.json -exec sed -i.uncheck -e 's/"files":{[^}]*}/"files":{ }/' '{}' + + find -name '*.rs' -type f -perm /111 -exec chmod -v -x '{}' + mode of './vendor/gimli-0.26.1/tests/parse_self.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/rayon-core/src/broadcast/test.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/unicode-normalization/src/no_std_prelude.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gimli/tests/parse_self.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/type-map/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/tests/ansi_term_compat.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/most_simple.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/control.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/dynamic_colors.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/nested_colors.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/style.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/control.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/color.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/formatters.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './compiler/rustc_codegen_cranelift/scripts/filter_profile.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './compiler/rustc_codegen_cranelift/y.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './src/tools/rust-analyzer/crates/ide/src/folding_ranges.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.C8Aiuz + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rustc-1.67.0-src + export LIBSSH2_SYS_USE_PKG_CONFIG=1 + LIBSSH2_SYS_USE_PKG_CONFIG=1 ++ /usr/bin/getconf _NPROCESSORS_ONLN + ncpus=80 ++ free -g ++ awk '/^Mem:/{print $2}' + max_cpus=94 + '[' 94 -ge 1 -a 94 -lt 80 ']' + /usr/bin/make -O -j80 V=1 VERBOSE=1 --quiet -C /builddir/build/BUILD/wasi-libc-wasi-sdk-17 CC=clang AR=llvm-ar NM=llvm-nm find: '/builddir/build/BUILD/wasi-libc-wasi-sdk-17/build': No such file or directory 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/fcntl/posix_fadvise.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/fcntl/posix_fadvise.c 1. parser at end of file 2. Optimizer #0 0x00007fe0fd54d3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fe0fd51c81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fe0fd491078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fe0fc5d89d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fe0fdf830fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fe0fdf86252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fe0fe2c4153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fe0ffbc7ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fe0fd6b744f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fe0fefeba15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fe0fd6b7923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fe0fefeb9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fe0fd6b702f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fe105174fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fe1042c4e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fe1045891a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fe1036a4228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fe104bbb479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fe104b6893f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fe104c15f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005594c28957e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x00005594c2898f43 (/usr/bin/clang-15+0x18f43) #22 0x00007fe1048f6739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fe0fd486057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fe1048fb8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fe1048cb1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fe1048cb496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fe1048e2e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005594c289b50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fe0fc5c3510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fe0fc5c35c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005594c28900c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/posix_fadvise-7b09e4.c clang-15: note: diagnostic msg: /tmp/posix_fadvise-7b09e4.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/fcntl/posix_fadvise.o] Error 1 make: *** Waiting for unfinished jobs.... 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sched/sched_yield.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sched/sched_yield.c 1. parser at end of file 2. Optimizer #0 0x00007efe6ae7f3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007efe6ae4e81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007efe6adc3078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007efe69f0a9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007efe6b8b50fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007efe6b8b8252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007efe6bbf6153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007efe6d4f9ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007efe6afe944f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007efe6c91da15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007efe6afe9923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007efe6c91d9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007efe6afe902f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007efe72aa6fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007efe71bf6e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007efe71ebb1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007efe70fd6228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007efe724ed479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007efe7249a93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007efe72547f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000564eb68c17e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000564eb68c4f43 (/usr/bin/clang-15+0x18f43) #22 0x00007efe72228739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007efe6adb8057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007efe7222d8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007efe721fd1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007efe721fd496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007efe72214e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000564eb68c750b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007efe69ef5510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007efe69ef55c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000564eb68bc0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sched_yield-c10cd0.c clang-15: note: diagnostic msg: /tmp/sched_yield-c10cd0.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sched/sched_yield.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/stdio/renameat.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/stdio/renameat.c 1. parser at end of file 2. Optimizer #0 0x00007f9bd0de53c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f9bd0db481f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f9bd0d29078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f9bcfe709d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f9bd181b0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f9bd181e252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f9bd1b5c153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f9bd345fce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f9bd0f4f44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f9bd2883a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f9bd0f4f923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f9bd28839b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f9bd0f4f02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f9bd8a0cfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f9bd7b5ce08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f9bd7e211a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f9bd6f3c228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f9bd8453479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f9bd840093f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f9bd84adf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000561496ad27e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000561496ad5f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f9bd818e739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f9bd0d1e057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f9bd81938f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f9bd81631b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f9bd8163496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f9bd817ae4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000561496ad850b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f9bcfe5b510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f9bcfe5b5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000561496acd0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/renameat-4d3742.c clang-15: note: diagnostic msg: /tmp/renameat-4d3742.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/stdio/renameat.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/ioctl/ioctl.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/ioctl/ioctl.c 1. parser at end of file 2. Optimizer #0 0x00007f4c543e53c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f4c543b481f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f4c54329078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f4c534709d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f4c54e1b0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f4c54e1e252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f4c5515c153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f4c56a5fce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f4c5454f44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f4c55e83a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f4c5454f923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f4c55e839b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f4c5454f02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f4c5c00cfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f4c5b15ce08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f4c5b4211a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f4c5a53c228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f4c5ba53479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f4c5ba0093f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f4c5baadf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000558854a037e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000558854a06f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f4c5b78e739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f4c5431e057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f4c5b7938f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f4c5b7631b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f4c5b763496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f4c5b77ae4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000558854a0950b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f4c5345b510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f4c5345b5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005588549fe0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/ioctl-712b9f.c clang-15: note: diagnostic msg: /tmp/ioctl-712b9f.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/ioctl/ioctl.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/select/pselect.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/select/pselect.c 1. parser at end of file 2. Optimizer #0 0x00007f7e656c33c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f7e6569281f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f7e65607078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f7e6474e9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f7e660f90fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f7e660fc252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f7e6643a153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f7e67d3dce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f7e6582d44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f7e67161a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f7e6582d923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f7e671619b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f7e6582d02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f7e6d2eafe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f7e6c43ae08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f7e6c6ff1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f7e6b81a228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f7e6cd31479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f7e6ccde93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f7e6cd8bf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000557ce1cfe7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000557ce1d01f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f7e6ca6c739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f7e655fc057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f7e6ca718f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f7e6ca411b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f7e6ca41496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f7e6ca58e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000557ce1d0450b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f7e64739510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f7e647395c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000557ce1cf90c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/pselect-398917.c clang-15: note: diagnostic msg: /tmp/pselect-398917.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/select/pselect.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/dirent/scandirat.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/dirent/scandirat.c 1. parser at end of file 2. Optimizer #0 0x00007f5d8f37d3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f5d8f34c81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f5d8f2c1078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f5d8e4089d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f5d8fdb30fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f5d8fdb6252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f5d900f4153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f5d919f7ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f5d8f4e744f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f5d90e1ba15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f5d8f4e7923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f5d90e1b9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f5d8f4e702f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f5d96fa4fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f5d960f4e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f5d963b91a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f5d954d4228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f5d969eb479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f5d9699893f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f5d96a45f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005601ee0b07e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x00005601ee0b3f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f5d96726739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f5d8f2b6057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f5d9672b8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f5d966fb1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f5d966fb496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f5d96712e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005601ee0b650b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f5d8e3f3510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f5d8e3f35c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005601ee0ab0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/scandirat-140b46.c clang-15: note: diagnostic msg: /tmp/scandirat-140b46.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/dirent/scandirat.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/fcntl/posix_fallocate.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/fcntl/posix_fallocate.c 1. parser at end of file 2. Optimizer #0 0x00007f0b6a6453c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f0b6a61481f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f0b6a589078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f0b696d09d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f0b6b07b0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f0b6b07e252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f0b6b3bc153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f0b6ccbfce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f0b6a7af44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f0b6c0e3a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f0b6a7af923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f0b6c0e39b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f0b6a7af02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f0b7226cfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f0b713bce08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f0b716811a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f0b7079c228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f0b71cb3479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f0b71c6093f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f0b71d0df58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000562d38b117e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000562d38b14f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f0b719ee739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f0b6a57e057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f0b719f38f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f0b719c31b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f0b719c3496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f0b719dae4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000562d38b1750b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f0b696bb510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f0b696bb5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000562d38b0c0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/posix_fallocate-4e5b26.c clang-15: note: diagnostic msg: /tmp/posix_fallocate-4e5b26.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/fcntl/posix_fallocate.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/time/clock_getres.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/time/clock_getres.c 1. parser at end of file 2. Optimizer #0 0x00007fd89957a3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fd89954981f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fd8994be078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fd8986059d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fd899fb00fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fd899fb3252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fd89a2f1153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fd89bbf4ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fd8996e444f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fd89b018a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fd8996e4923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fd89b0189b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fd8996e402f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fd8a11a1fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fd8a02f1e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fd8a05b61a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fd89f6d1228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fd8a0be8479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fd8a0b9593f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fd8a0c42f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055fe6842b7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055fe6842ef43 (/usr/bin/clang-15+0x18f43) #22 0x00007fd8a0923739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fd8994b3057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fd8a09288f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fd8a08f81b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fd8a08f8496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fd8a090fe4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055fe6843150b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fd8985f0510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fd8985f05c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055fe684260c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/clock_getres-118c11.c clang-15: note: diagnostic msg: /tmp/clock_getres-118c11.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/time/clock_getres.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/time/clock_nanosleep.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/time/clock_nanosleep.c 1. parser at end of file 2. Optimizer #0 0x00007f5b82e373c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f5b82e0681f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f5b82d7b078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f5b81ec29d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f5b82c907b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007f5b83870252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f5b83bae153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f5b854b1ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f5b82fa144f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f5b848d5a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f5b82fa1923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f5b848d59b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f5b82fa102f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f5b8aa5efe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f5b89baee08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f5b89e731a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f5b88f8e228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f5b8a4a5479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f5b8a45293f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f5b8a4fff58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000056198e41a7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000056198e41df43 (/usr/bin/clang-15+0x18f43) #22 0x00007f5b8a1e0739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f5b82d70057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f5b8a1e58f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f5b8a1b51b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f5b8a1b5496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f5b8a1cce4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000056198e42050b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f5b81ead510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f5b81ead5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000056198e4150c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/clock_nanosleep-1017c0.c clang-15: note: diagnostic msg: /tmp/clock_nanosleep-1017c0.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/time/clock_nanosleep.o] Error 1 free(): invalid pointer 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/time/time.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/time/time.c 1. parser at end of file 2. Optimizer #0 0x00007f1debb903c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f1debb5f81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f1debad4078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f1deac1b9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f1deac6bd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f1deac1b926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f1deac057fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f1deac5ff1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f1deac75adc (/lib64/libc.so.6+0x92adc) #9 0x00007f1deac7792c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f1deac7a263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f1decd691b1 llvm::MemorySSA::renameSuccessorPhis(llvm::BasicBlock*, llvm::MemoryAccess*, bool) (/lib64/libLLVM-15.so+0x1d7a1b1) #12 0x00007f1decd692c0 llvm::MemorySSA::renamePass(llvm::DomTreeNodeBase*, llvm::MemoryAccess*, llvm::SmallPtrSetImpl&, bool, bool) (/lib64/libLLVM-15.so+0x1d7a2c0) #13 0x00007f1decd6cd44 llvm::MemorySSA::buildMemorySSA(llvm::BatchAAResults&) (/lib64/libLLVM-15.so+0x1d7dd44) #14 0x00007f1decd6d42d llvm::MemorySSA::MemorySSA(llvm::Function&, llvm::AAResults*, llvm::DominatorTree*) (/lib64/libLLVM-15.so+0x1d7e42d) #15 0x00007f1decd6d53d llvm::MemorySSAAnalysis::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0x1d7e53d) #16 0x00007f1dee22f3e8 (/lib64/libLLVM-15.so+0x32403e8) #17 0x00007f1debce1f5e llvm::AnalysisManager::getResultImpl(llvm::AnalysisKey*, llvm::Function&) (/lib64/libLLVM-15.so+0xcf2f5e) #18 0x00007f1dec7c0552 llvm::EarlyCSEPass::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0x17d1552) #19 0x00007f1dee20a6c5 (/lib64/libLLVM-15.so+0x321b6c5) #20 0x00007f1debcfa44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #21 0x00007f1ded62ea15 (/lib64/libLLVM-15.so+0x263fa15) #22 0x00007f1decc60fee llvm::CGSCCToFunctionPassAdaptor::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/lib64/libLLVM-15.so+0x1c71fee) #23 0x00007f1ded62d005 (/lib64/libLLVM-15.so+0x263e005) #24 0x00007f1decc5da43 llvm::PassManager, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/lib64/libLLVM-15.so+0x1c6ea43) #25 0x00007f1deca262b5 (/lib64/libLLVM-15.so+0x1a372b5) #26 0x00007f1decc5f365 llvm::DevirtSCCRepeatedPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/lib64/libLLVM-15.so+0x1c70365) #27 0x00007f1deca26215 (/lib64/libLLVM-15.so+0x1a37215) #28 0x00007f1decc5e893 llvm::ModuleToPostOrderCGSCCPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0x1c6f893) #29 0x00007f1deca26265 (/lib64/libLLVM-15.so+0x1a37265) #30 0x00007f1debcfa02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #31 0x00007f1deca25fca llvm::ModuleInlinerWrapperPass::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0x1a36fca) #32 0x00007f1dee20ddf5 (/lib64/libLLVM-15.so+0x321edf5) #33 0x00007f1debcfa02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #34 0x00007f1df37b7fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #35 0x00007f1df2907e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #36 0x00007f1df2bcc1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #37 0x00007f1df1ce7228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #38 0x00007f1df31fe479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #39 0x00007f1df31ab93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #40 0x00007f1df3258f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #41 0x000055b3479d47e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #42 0x000055b3479d7f43 (/usr/bin/clang-15+0x18f43) #43 0x00007f1df2f39739 (/lib64/libclang-cpp.so.15+0x1a9d739) #44 0x00007f1debac9057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #45 0x00007f1df2f3e8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #46 0x00007f1df2f0e1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #47 0x00007f1df2f0e496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #48 0x00007f1df2f25e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #49 0x000055b3479da50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #50 0x00007f1deac06510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #51 0x00007f1deac065c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #52 0x000055b3479cf0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/time-ff16a6.c clang-15: note: diagnostic msg: /tmp/time-ff16a6.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/time/time.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/dirent/fdopendir.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/dirent/fdopendir.c 1. parser at end of file 2. Optimizer #0 0x00007f9a58f663c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f9a58f3581f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f9a58eaa078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f9a57ff19d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f9a5999c0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f9a5999f252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f9a59cdd153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f9a5b5e0ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f9a590d044f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f9a5aa04a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f9a590d0923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f9a5aa049b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f9a590d002f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f9a60b8dfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f9a5fcdde08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f9a5ffa21a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f9a5f0bd228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f9a605d4479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f9a6058193f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f9a6062ef58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055861f91a7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055861f91df43 (/usr/bin/clang-15+0x18f43) #22 0x00007f9a6030f739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f9a58e9f057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f9a603148f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f9a602e41b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f9a602e4496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f9a602fbe4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055861f92050b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f9a57fdc510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f9a57fdc5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055861f9150c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/fdopendir-c0670a.c clang-15: note: diagnostic msg: /tmp/fdopendir-c0670a.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/dirent/fdopendir.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/fcntl/openat.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/fcntl/openat.c 1. parser at end of file 2. Optimizer #0 0x00007fbffd4143c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fbffd3e381f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fbffd358078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fbffc49f9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fbffde4a0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fbffde4d252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fbffe18b153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fbfffa8ece7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fbffd57e44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fbffeeb2a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fbffd57e923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fbffeeb29b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fbffd57e02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fc00503bfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fc00418be08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fc0044501a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fc00356b228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fc004a82479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fc004a2f93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fc004adcf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000557228d2f7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000557228d32f43 (/usr/bin/clang-15+0x18f43) #22 0x00007fc0047bd739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fbffd34d057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fc0047c28f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fc0047921b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fc004792496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fc0047a9e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000557228d3550b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fbffc48a510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fbffc48a5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000557228d2a0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/openat-6997bc.c clang-15: note: diagnostic msg: /tmp/openat-6997bc.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/fcntl/openat.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/poll/poll.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/poll/poll.c 1. parser at end of file 2. Optimizer #0 0x00007f525dfcd3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f525df9c81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f525df11078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f525d0589d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f525ea030fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f525ea06252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f525ed44153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f5260647ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f525e13744f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f525fa6ba15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f525e137923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f525fa6b9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f525e13702f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f5265bf4fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f5264d44e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f52650091a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f5264124228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f526563b479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f52655e893f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f5265695f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055dad42a97e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055dad42acf43 (/usr/bin/clang-15+0x18f43) #22 0x00007f5265376739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f525df06057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f526537b8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f526534b1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f526534b496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f5265362e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055dad42af50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f525d043510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f525d0435c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055dad42a40c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/poll-beaaee.c clang-15: note: diagnostic msg: /tmp/poll-beaaee.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/poll/poll.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/socket/recv.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/socket/recv.c 1. parser at end of file 2. Optimizer #0 0x00007fd034d873c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fd034d5681f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fd034ccb078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fd033e129d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fd034be07b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007fd0357c0252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fd035afe153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fd037401ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fd034ef144f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fd036825a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fd034ef1923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fd0368259b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fd034ef102f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fd03c9aefe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fd03bafee08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fd03bdc31a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fd03aede228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fd03c3f5479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fd03c3a293f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fd03c44ff58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055a03085b7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055a03085ef43 (/usr/bin/clang-15+0x18f43) #22 0x00007fd03c130739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fd034cc0057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fd03c1358f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fd03c1051b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fd03c105496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fd03c11ce4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055a03086150b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fd033dfd510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fd033dfd5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055a0308560c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/recv-476e86.c clang-15: note: diagnostic msg: /tmp/recv-476e86.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/socket/recv.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/time/clock_gettime.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/time/clock_gettime.c 1. parser at end of file 2. Optimizer #0 0x00007fe101b963c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fe101b6581f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fe101ada078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fe100c219d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fe1019ef7b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007fe1025cf252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fe10290d153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fe104210ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fe101d0044f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fe103634a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fe101d00923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fe1036349b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fe101d0002f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fe1097bdfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fe10890de08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fe108bd21a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fe107ced228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fe109204479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fe1091b193f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fe10925ef58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005581d250c7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x00005581d250ff43 (/usr/bin/clang-15+0x18f43) #22 0x00007fe108f3f739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fe101acf057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fe108f448f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fe108f141b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fe108f14496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fe108f2be4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005581d251250b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fe100c0c510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fe100c0c5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005581d25070c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/clock_gettime-0f3061.c clang-15: note: diagnostic msg: /tmp/clock_gettime-0f3061.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/time/clock_gettime.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/socket/send.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/socket/send.c 1. parser at end of file 2. Optimizer #0 0x00007f14389963c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f143896581f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f14388da078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f1437a219d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f14393cc0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f14393cf252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f143970d153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f143b010ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f1438b0044f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f143a434a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f1438b00923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f143a4349b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f1438b0002f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f14405bdfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f143f70de08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f143f9d21a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f143eaed228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f1440004479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f143ffb193f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f144005ef58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055d7ca1a17e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055d7ca1a4f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f143fd3f739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f14388cf057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f143fd448f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f143fd141b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f143fd14496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f143fd2be4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055d7ca1a750b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f1437a0c510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f1437a0c5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055d7ca19c0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/send-39d34c.c clang-15: note: diagnostic msg: /tmp/send-39d34c.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/socket/send.o] Error 1 free(): invalid pointer 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/time/gettimeofday.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/time/gettimeofday.c 1. parser at end of file 2. Optimizer #0 0x00007faf15aae3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007faf15a7d81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007faf159f2078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007faf14b399d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007faf14b89d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007faf14b39926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007faf14b237fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007faf14b7df1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007faf14b93adc (/lib64/libc.so.6+0x92adc) #9 0x00007faf14b9592c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007faf14b98263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007faf16c871b1 llvm::MemorySSA::renameSuccessorPhis(llvm::BasicBlock*, llvm::MemoryAccess*, bool) (/lib64/libLLVM-15.so+0x1d7a1b1) #12 0x00007faf16c872c0 llvm::MemorySSA::renamePass(llvm::DomTreeNodeBase*, llvm::MemoryAccess*, llvm::SmallPtrSetImpl&, bool, bool) (/lib64/libLLVM-15.so+0x1d7a2c0) #13 0x00007faf16c8ad44 llvm::MemorySSA::buildMemorySSA(llvm::BatchAAResults&) (/lib64/libLLVM-15.so+0x1d7dd44) #14 0x00007faf16c8b42d llvm::MemorySSA::MemorySSA(llvm::Function&, llvm::AAResults*, llvm::DominatorTree*) (/lib64/libLLVM-15.so+0x1d7e42d) #15 0x00007faf16c8b53d llvm::MemorySSAAnalysis::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0x1d7e53d) #16 0x00007faf1814d3e8 (/lib64/libLLVM-15.so+0x32403e8) #17 0x00007faf15bfff5e llvm::AnalysisManager::getResultImpl(llvm::AnalysisKey*, llvm::Function&) (/lib64/libLLVM-15.so+0xcf2f5e) #18 0x00007faf166de552 llvm::EarlyCSEPass::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0x17d1552) #19 0x00007faf181286c5 (/lib64/libLLVM-15.so+0x321b6c5) #20 0x00007faf15c1844f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #21 0x00007faf1754ca15 (/lib64/libLLVM-15.so+0x263fa15) #22 0x00007faf16b7efee llvm::CGSCCToFunctionPassAdaptor::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/lib64/libLLVM-15.so+0x1c71fee) #23 0x00007faf1754b005 (/lib64/libLLVM-15.so+0x263e005) #24 0x00007faf16b7ba43 llvm::PassManager, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/lib64/libLLVM-15.so+0x1c6ea43) #25 0x00007faf169442b5 (/lib64/libLLVM-15.so+0x1a372b5) #26 0x00007faf16b7d365 llvm::DevirtSCCRepeatedPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/lib64/libLLVM-15.so+0x1c70365) #27 0x00007faf16944215 (/lib64/libLLVM-15.so+0x1a37215) #28 0x00007faf16b7c893 llvm::ModuleToPostOrderCGSCCPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0x1c6f893) #29 0x00007faf16944265 (/lib64/libLLVM-15.so+0x1a37265) #30 0x00007faf15c1802f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #31 0x00007faf16943fca llvm::ModuleInlinerWrapperPass::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0x1a36fca) #32 0x00007faf1812bdf5 (/lib64/libLLVM-15.so+0x321edf5) #33 0x00007faf15c1802f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #34 0x00007faf1d6d5fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #35 0x00007faf1c825e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #36 0x00007faf1caea1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #37 0x00007faf1bc05228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #38 0x00007faf1d11c479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #39 0x00007faf1d0c993f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #40 0x00007faf1d176f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #41 0x000055b0851867e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #42 0x000055b085189f43 (/usr/bin/clang-15+0x18f43) #43 0x00007faf1ce57739 (/lib64/libclang-cpp.so.15+0x1a9d739) #44 0x00007faf159e7057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #45 0x00007faf1ce5c8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #46 0x00007faf1ce2c1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #47 0x00007faf1ce2c496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #48 0x00007faf1ce43e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #49 0x000055b08518c50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #50 0x00007faf14b24510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #51 0x00007faf14b245c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #52 0x000055b0851810c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/gettimeofday-e039b1.c clang-15: note: diagnostic msg: /tmp/gettimeofday-e039b1.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/time/gettimeofday.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/uio/writev.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/uio/writev.c 1. parser at end of file 2. Optimizer #0 0x00007fd6ab6543c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fd6ab62381f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fd6ab598078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fd6aa6df9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fd6ab4ad7b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007fd6ac08d252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fd6ac3cb153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fd6adccece7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fd6ab7be44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fd6ad0f2a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fd6ab7be923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fd6ad0f29b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fd6ab7be02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fd6b327bfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fd6b23cbe08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fd6b26901a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fd6b17ab228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fd6b2cc2479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fd6b2c6f93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fd6b2d1cf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055d52f2647e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055d52f267f43 (/usr/bin/clang-15+0x18f43) #22 0x00007fd6b29fd739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fd6ab58d057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fd6b2a028f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fd6b29d21b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fd6b29d2496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fd6b29e9e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055d52f26a50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fd6aa6ca510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fd6aa6ca5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055d52f25f0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/writev-98a751.c clang-15: note: diagnostic msg: /tmp/writev-98a751.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/uio/writev.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/select/select.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/select/select.c 1. parser at end of file 2. Optimizer #0 0x00007fd3b78833c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fd3b785281f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fd3b77c7078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fd3b690e9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fd3b82b90fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fd3b82bc252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fd3b85fa153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fd3b9efdce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fd3b79ed44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fd3b9321a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fd3b79ed923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fd3b93219b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fd3b79ed02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fd3bf4aafe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fd3be5fae08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fd3be8bf1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fd3bd9da228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fd3beef1479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fd3bee9e93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fd3bef4bf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055a9ce7b87e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055a9ce7bbf43 (/usr/bin/clang-15+0x18f43) #22 0x00007fd3bec2c739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fd3b77bc057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fd3bec318f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fd3bec011b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fd3bec01496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fd3bec18e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055a9ce7be50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fd3b68f9510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fd3b68f95c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055a9ce7b30c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/select-3af91b.c clang-15: note: diagnostic msg: /tmp/select-3af91b.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/select/select.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/fcntl/fcntl.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/fcntl/fcntl.c 1. parser at end of file 2. Optimizer #0 0x00007f0469f903c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f0469f5f81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f0469ed4078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f046901b9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f046a9c60fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f046a9c9252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f046ad07153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f046c60ace7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f046a0fa44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f046ba2ea15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f046a0fa923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f046ba2e9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f046a0fa02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f0471bb7fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f0470d07e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f0470fcc1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f04700e7228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f04715fe479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f04715ab93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f0471658f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055a99061b7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055a99061ef43 (/usr/bin/clang-15+0x18f43) #22 0x00007f0471339739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f0469ec9057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f047133e8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f047130e1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f047130e496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f0471325e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055a99062150b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f0469006510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f04690065c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055a9906160c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/fcntl-20b778.c clang-15: note: diagnostic msg: /tmp/fcntl-20b778.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/fcntl/fcntl.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/stat/utimensat.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/stat/utimensat.c 1. parser at end of file 2. Optimizer #0 0x00007f6a1e3b63c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f6a1e38581f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f6a1e2fa078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f6a1d4419d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f6a1e20f7b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007f6a1edef252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f6a1f12d153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f6a20a30ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f6a1e52044f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f6a1fe54a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f6a1e520923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f6a1fe549b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f6a1e52002f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f6a25fddfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f6a2512de08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f6a253f21a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f6a2450d228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f6a25a24479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f6a259d193f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f6a25a7ef58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055f397eba7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055f397ebdf43 (/usr/bin/clang-15+0x18f43) #22 0x00007f6a2575f739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f6a1e2ef057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f6a257648f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f6a257341b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f6a25734496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f6a2574be4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055f397ec050b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f6a1d42c510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f6a1d42c5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055f397eb50c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/utimensat-75a943.c clang-15: note: diagnostic msg: /tmp/utimensat-75a943.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/stat/utimensat.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/close.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/close.c 1. parser at end of file 2. Optimizer #0 0x00007fb4253093c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fb4252d881f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fb42524d078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fb4243949d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fb425d3f0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fb425d42252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fb426080153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fb427983ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fb42547344f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fb426da7a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fb425473923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fb426da79b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fb42547302f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fb42cf30fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fb42c080e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fb42c3451a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fb42b460228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fb42c977479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fb42c92493f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fb42c9d1f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055cf0d9577e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055cf0d95af43 (/usr/bin/clang-15+0x18f43) #22 0x00007fb42c6b2739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fb425242057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fb42c6b78f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fb42c6871b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fb42c687496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fb42c69ee4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055cf0d95d50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fb42437f510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fb42437f5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055cf0d9520c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/close-9d9923.c clang-15: note: diagnostic msg: /tmp/close-9d9923.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/close.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/fdatasync.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/fdatasync.c 1. parser at end of file 2. Optimizer #0 0x00007f980fc683c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f980fc3781f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f980fbac078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f980ecf39d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f981069e0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f98106a1252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f98109df153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f98122e2ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f980fdd244f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f9811706a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f980fdd2923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f98117069b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f980fdd202f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f981788ffe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f98169dfe08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f9816ca41a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f9815dbf228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f98172d6479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f981728393f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f9817330f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000561d2986b7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000561d2986ef43 (/usr/bin/clang-15+0x18f43) #22 0x00007f9817011739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f980fba1057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f98170168f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f9816fe61b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f9816fe6496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f9816ffde4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000561d2987150b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f980ecde510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f980ecde5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000561d298660c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/fdatasync-b689ab.c clang-15: note: diagnostic msg: /tmp/fdatasync-b689ab.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/fdatasync.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/ftruncate.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/ftruncate.c 1. parser at end of file 2. Optimizer #0 0x00007fbabb3c93c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fbabb39881f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fbabb30d078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fbaba4549d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fbabbdff0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fbabbe02252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fbabc140153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fbabda43ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fbabb53344f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fbabce67a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fbabb533923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fbabce679b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fbabb53302f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fbac2ff0fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fbac2140e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fbac24051a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fbac1520228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fbac2a37479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fbac29e493f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fbac2a91f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005596e89f27e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x00005596e89f5f43 (/usr/bin/clang-15+0x18f43) #22 0x00007fbac2772739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fbabb302057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fbac27778f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fbac27471b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fbac2747496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fbac275ee4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005596e89f850b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fbaba43f510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fbaba43f5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005596e89ed0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/ftruncate-6525e7.c clang-15: note: diagnostic msg: /tmp/ftruncate-6525e7.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/ftruncate.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/linkat.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/linkat.c 1. parser at end of file 2. Optimizer #0 0x00007f0a18f383c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f0a18f0781f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f0a18e7c078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f0a17fc39d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f0a1996e0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f0a19971252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f0a19caf153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f0a1b5b2ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f0a190a244f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f0a1a9d6a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f0a190a2923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f0a1a9d69b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f0a190a202f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f0a20b5ffe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f0a1fcafe08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f0a1ff741a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f0a1f08f228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f0a205a6479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f0a2055393f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f0a20600f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055bf465217e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055bf46524f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f0a202e1739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f0a18e71057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f0a202e68f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f0a202b61b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f0a202b6496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f0a202cde4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055bf4652750b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f0a17fae510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f0a17fae5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055bf4651c0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/linkat-e09c38.c clang-15: note: diagnostic msg: /tmp/linkat-e09c38.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/linkat.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/socket/getsockopt.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/socket/getsockopt.c 1. parser at end of file 2. Optimizer #0 0x00007f7c354fb3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f7c354ca81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f7c3543f078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f7c345869d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f7c35f310fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f7c35f34252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f7c36272153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f7c37b75ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f7c3566544f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f7c36f99a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f7c35665923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f7c36f999b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f7c3566502f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f7c3d122fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f7c3c272e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f7c3c5371a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f7c3b652228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f7c3cb69479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f7c3cb1693f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f7c3cbc3f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000558d493507e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000558d49353f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f7c3c8a4739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f7c35434057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f7c3c8a98f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f7c3c8791b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f7c3c879496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f7c3c890e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000558d4935650b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f7c34571510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f7c345715c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000558d4934b0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/getsockopt-84b39c.c clang-15: note: diagnostic msg: /tmp/getsockopt-84b39c.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/socket/getsockopt.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/lseek.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/lseek.c 1. parser at end of file 2. Optimizer #0 0x00007feb777c63c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007feb7779581f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007feb7770a078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007feb768519d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007feb7761f7b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007feb781ff252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007feb7853d153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007feb79e40ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007feb7793044f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007feb79264a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007feb77930923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007feb792649b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007feb7793002f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007feb7f3edfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007feb7e53de08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007feb7e8021a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007feb7d91d228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007feb7ee34479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007feb7ede193f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007feb7ee8ef58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055cc0fcb77e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055cc0fcbaf43 (/usr/bin/clang-15+0x18f43) #22 0x00007feb7eb6f739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007feb776ff057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007feb7eb748f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007feb7eb441b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007feb7eb44496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007feb7eb5be4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055cc0fcbd50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007feb7683c510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007feb7683c5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055cc0fcb20c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/lseek-e65049.c clang-15: note: diagnostic msg: /tmp/lseek-e65049.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/lseek.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/readlinkat.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/readlinkat.c 1. parser at end of file 2. Optimizer #0 0x00007f2a6b4ee3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f2a6b4bd81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f2a6b432078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f2a6a5799d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f2a6bf240fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f2a6bf27252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f2a6c265153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f2a6db68ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f2a6b65844f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f2a6cf8ca15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f2a6b658923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f2a6cf8c9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f2a6b65802f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f2a73115fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f2a72265e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f2a7252a1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f2a71645228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f2a72b5c479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f2a72b0993f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f2a72bb6f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055aacb3367e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055aacb339f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f2a72897739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f2a6b427057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f2a7289c8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f2a7286c1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f2a7286c496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f2a72883e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055aacb33c50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f2a6a564510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f2a6a5645c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055aacb3310c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/readlinkat-cd3563.c clang-15: note: diagnostic msg: /tmp/readlinkat-cd3563.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/readlinkat.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/socket/shutdown.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/socket/shutdown.c 1. parser at end of file 2. Optimizer #0 0x00007fafee7553c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fafee72481f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fafee699078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fafed7e09d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fafed83f20e cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x9720e) #5 0x00007fafee8b06ad llvm::User::operator delete(void*) (/lib64/libLLVM-15.so+0xcfc6ad) #6 0x00007fafee799430 llvm::BasicBlock::~BasicBlock() (/lib64/libLLVM-15.so+0xbe5430) #7 0x00007fafee799624 llvm::BasicBlock::eraseFromParent() (/lib64/libLLVM-15.so+0xbe5624) #8 0x00007fafef0c6075 llvm::DeleteDeadBlocks(llvm::ArrayRef, llvm::DomTreeUpdater*, bool) (/lib64/libLLVM-15.so+0x1512075) #9 0x00007fafef1d996d (/lib64/libLLVM-15.so+0x162596d) #10 0x00007fafef4ed96b (/lib64/libLLVM-15.so+0x193996b) #11 0x00007fafef4eecf1 (/lib64/libLLVM-15.so+0x193acf1) #12 0x00007fafef4ef2b6 llvm::SimplifyCFGPass::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0x193b2b6) #13 0x00007fafef792415 (/lib64/libLLVM-15.so+0x1bde415) #14 0x00007fafee8bf44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #15 0x00007faff01f3a15 (/lib64/libLLVM-15.so+0x263fa15) #16 0x00007fafee8bf923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #17 0x00007faff01f39b5 (/lib64/libLLVM-15.so+0x263f9b5) #18 0x00007fafee8bf02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #19 0x00007faff637cfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #20 0x00007faff54cce08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #21 0x00007faff57911a7 (/lib64/libclang-cpp.so.15+0x17301a7) #22 0x00007faff48ac228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #23 0x00007faff5dc3479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #24 0x00007faff5d7093f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #25 0x00007faff5e1df58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #26 0x0000555b0be007e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #27 0x0000555b0be03f43 (/usr/bin/clang-15+0x18f43) #28 0x00007faff5afe739 (/lib64/libclang-cpp.so.15+0x1a9d739) #29 0x00007fafee68e057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #30 0x00007faff5b038f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #31 0x00007faff5ad31b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #32 0x00007faff5ad3496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #33 0x00007faff5aeae4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #34 0x0000555b0be0650b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #35 0x00007fafed7cb510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #36 0x00007fafed7cb5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #37 0x0000555b0bdfb0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/shutdown-949459.c clang-15: note: diagnostic msg: /tmp/shutdown-949459.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/socket/shutdown.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/uio/preadv.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/uio/preadv.c 1. parser at end of file 2. Optimizer #0 0x00007f0e5ea203c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f0e5e9ef81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f0e5e964078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f0e5daab9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f0e5e8797b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007f0e5f459252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f0e5f797153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f0e6109ace7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f0e5eb8a44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f0e604bea15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f0e5eb8a923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f0e604be9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f0e5eb8a02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f0e66647fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f0e65797e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f0e65a5c1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f0e64b77228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f0e6608e479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f0e6603b93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f0e660e8f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000559d309687e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000559d3096bf43 (/usr/bin/clang-15+0x18f43) #22 0x00007f0e65dc9739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f0e5e959057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f0e65dce8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f0e65d9e1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f0e65d9e496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f0e65db5e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000559d3096e50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f0e5da96510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f0e5da965c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000559d309630c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/preadv-44f23c.c clang-15: note: diagnostic msg: /tmp/preadv-44f23c.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/uio/preadv.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/uio/pwritev.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/uio/pwritev.c 1. parser at end of file 2. Optimizer #0 0x00007f2aa50fd3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f2aa50cc81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f2aa5041078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f2aa41889d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f2aa4f567b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007f2aa5b36252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f2aa5e74153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f2aa7777ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f2aa526744f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f2aa6b9ba15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f2aa5267923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f2aa6b9b9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f2aa526702f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f2aacd24fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f2aabe74e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f2aac1391a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f2aab254228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f2aac76b479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f2aac71893f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f2aac7c5f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055ad551e57e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055ad551e8f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f2aac4a6739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f2aa5036057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f2aac4ab8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f2aac47b1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f2aac47b496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f2aac492e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055ad551eb50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f2aa4173510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f2aa41735c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055ad551e00c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/pwritev-c636f8.c clang-15: note: diagnostic msg: /tmp/pwritev-c636f8.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/uio/pwritev.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/uio/readv.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/uio/readv.c 1. parser at end of file 2. Optimizer #0 0x00007fdeb4ec63c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fdeb4e9581f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fdeb4e0a078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fdeb3f519d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fdeb4d1f7b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007fdeb58ff252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fdeb5c3d153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fdeb7540ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fdeb503044f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fdeb6964a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fdeb5030923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fdeb69649b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fdeb503002f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fdebcaedfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fdebbc3de08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fdebbf021a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fdebb01d228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fdebc534479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fdebc4e193f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fdebc58ef58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055a99709a7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055a99709df43 (/usr/bin/clang-15+0x18f43) #22 0x00007fdebc26f739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fdeb4dff057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fdebc2748f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fdebc2441b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fdebc244496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fdebc25be4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055a9970a050b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fdeb3f3c510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fdeb3f3c5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055a9970950c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/readv-b0d3a3.c clang-15: note: diagnostic msg: /tmp/readv-b0d3a3.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/uio/readv.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/dirent/opendirat.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/dirent/opendirat.c 1. parser at end of file 2. Optimizer #0 0x00007f19501bc3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f195018b81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f1950100078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f194f2479d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f1950bf20fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f1950bf5252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f1950f33153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f1952836ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f195032644f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f1951c5aa15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f1950326923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f1951c5a9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f195032602f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f1957de3fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f1956f33e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f19571f81a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f1956313228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f195782a479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f19577d793f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f1957884f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055aebfa6c7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055aebfa6ff43 (/usr/bin/clang-15+0x18f43) #22 0x00007f1957565739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f19500f5057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f195756a8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f195753a1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f195753a496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f1957551e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055aebfa7250b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f194f232510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f194f2325c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055aebfa670c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/opendirat-c063ab.c clang-15: note: diagnostic msg: /tmp/opendirat-c063ab.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/dirent/opendirat.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/dirent/readdir.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/dirent/readdir.c 1. parser at end of file 2. Optimizer #0 0x00007f9f2125e3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f9f2122d81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f9f211a2078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f9f202e99d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f9f21c940fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f9f21c97252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f9f21fd5153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f9f238d8ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f9f213c844f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f9f22cfca15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f9f213c8923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f9f22cfc9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f9f213c802f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f9f28e85fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f9f27fd5e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f9f2829a1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f9f273b5228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f9f288cc479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f9f2887993f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f9f28926f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005563920367e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000556392039f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f9f28607739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f9f21197057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f9f2860c8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f9f285dc1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f9f285dc496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f9f285f3e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055639203c50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f9f202d4510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f9f202d45c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005563920310c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/readdir-1f639f.c clang-15: note: diagnostic msg: /tmp/readdir-1f639f.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/dirent/readdir.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/stat/fstat.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/stat/fstat.c 1. parser at end of file 2. Optimizer #0 0x00007f0d374743c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f0d3744381f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f0d373b8078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f0d364ff9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f0d37eaa0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f0d37ead252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f0d381eb153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f0d39aeece7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f0d375de44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f0d38f12a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f0d375de923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f0d38f129b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f0d375de02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f0d3f09bfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f0d3e1ebe08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f0d3e4b01a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f0d3d5cb228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f0d3eae2479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f0d3ea8f93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f0d3eb3cf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055849d07d7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055849d080f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f0d3e81d739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f0d373ad057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f0d3e8228f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f0d3e7f21b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f0d3e7f2496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f0d3e809e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055849d08350b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f0d364ea510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f0d364ea5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055849d0780c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/fstat-15a132.c clang-15: note: diagnostic msg: /tmp/fstat-15a132.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/stat/fstat.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/stat/fstatat.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/stat/fstatat.c 1. parser at end of file 2. Optimizer #0 0x00007f7daaaa13c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f7daaa7081f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f7daa9e5078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f7da9b2c9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f7daa8fa7b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007f7dab4da252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f7dab818153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f7dad11bce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f7daac0b44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f7dac53fa15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f7daac0b923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f7dac53f9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f7daac0b02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f7db26c8fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f7db1818e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f7db1add1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f7db0bf8228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f7db210f479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f7db20bc93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f7db2169f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005575ee04e7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x00005575ee051f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f7db1e4a739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f7daa9da057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f7db1e4f8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f7db1e1f1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f7db1e1f496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f7db1e36e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005575ee05450b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f7da9b17510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f7da9b175c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005575ee0490c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/fstatat-0bfb5a.c clang-15: note: diagnostic msg: /tmp/fstatat-0bfb5a.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/stat/fstatat.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/stat/futimens.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/stat/futimens.c 1. parser at end of file 2. Optimizer #0 0x00007fce091573c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fce0912681f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fce0909b078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fce081e29d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fce09b8d0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fce09b90252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fce09ece153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fce0b7d1ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fce092c144f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fce0abf5a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fce092c1923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fce0abf59b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fce092c102f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fce10d7efe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fce0fecee08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fce101931a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fce0f2ae228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fce107c5479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fce1077293f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fce1081ff58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055db556467e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055db55649f43 (/usr/bin/clang-15+0x18f43) #22 0x00007fce10500739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fce09090057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fce105058f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fce104d51b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fce104d5496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fce104ece4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055db5564c50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fce081cd510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fce081cd5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055db556410c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/futimens-3aec21.c clang-15: note: diagnostic msg: /tmp/futimens-3aec21.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/stat/futimens.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/stat/mkdirat.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/sys/stat/mkdirat.c 1. parser at end of file 2. Optimizer #0 0x00007fadd72aa3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fadd727981f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fadd71ee078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fadd63359d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fadd7ce00fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fadd7ce3252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fadd8021153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fadd9924ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fadd741444f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fadd8d48a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fadd7414923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fadd8d489b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fadd741402f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007faddeed1fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fadde021e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fadde2e61a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007faddd401228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fadde918479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fadde8c593f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fadde972f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000056450ef157e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000056450ef18f43 (/usr/bin/clang-15+0x18f43) #22 0x00007fadde653739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fadd71e3057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fadde6588f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fadde6281b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fadde628496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fadde63fe4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000056450ef1b50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fadd6320510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fadd63205c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000056450ef100c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/mkdirat-3f28a5.c clang-15: note: diagnostic msg: /tmp/mkdirat-3f28a5.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/sys/stat/mkdirat.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/time/nanosleep.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/time/nanosleep.c 1. parser at end of file 2. Optimizer #0 0x00007f89ccb2b3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f89ccafa81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f89cca6f078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f89cbbb69d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f89cd5610fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f89cd564252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f89cd8a2153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f89cf1a5ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f89ccc9544f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f89ce5c9a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f89ccc95923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f89ce5c99b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f89ccc9502f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f89d4752fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f89d38a2e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f89d3b671a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f89d2c82228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f89d4199479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f89d414693f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f89d41f3f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000056163f5d17e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000056163f5d4f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f89d3ed4739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f89cca64057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f89d3ed98f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f89d3ea91b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f89d3ea9496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f89d3ec0e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000056163f5d750b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f89cbba1510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f89cbba15c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000056163f5cc0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/nanosleep-d9050f.c clang-15: note: diagnostic msg: /tmp/nanosleep-d9050f.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/time/nanosleep.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/faccessat.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/faccessat.c 1. parser at end of file 2. Optimizer #0 0x00007f2b32ef83c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f2b32ec781f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f2b32e3c078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f2b31f839d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f2b32d517b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007f2b33931252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f2b33c6f153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f2b35572ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f2b3306244f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f2b34996a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f2b33062923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f2b349969b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f2b3306202f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f2b3ab1ffe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f2b39c6fe08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f2b39f341a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f2b3904f228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f2b3a566479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f2b3a51393f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f2b3a5c0f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055cfe2fe97e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055cfe2fecf43 (/usr/bin/clang-15+0x18f43) #22 0x00007f2b3a2a1739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f2b32e31057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f2b3a2a68f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f2b3a2761b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f2b3a276496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f2b3a28de4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055cfe2fef50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f2b31f6e510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f2b31f6e5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055cfe2fe40c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/faccessat-c6ce6a.c clang-15: note: diagnostic msg: /tmp/faccessat-c6ce6a.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/faccessat.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/fsync.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/fsync.c 1. parser at end of file 2. Optimizer #0 0x00007f01d66e83c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f01d66b781f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f01d662c078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f01d57739d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f01d711e0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f01d7121252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f01d745f153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f01d8d62ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f01d685244f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f01d8186a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f01d6852923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f01d81869b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f01d685202f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f01de30ffe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f01dd45fe08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f01dd7241a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f01dc83f228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f01ddd56479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f01ddd0393f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f01dddb0f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005566c37dd7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x00005566c37e0f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f01dda91739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f01d6621057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f01dda968f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f01dda661b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f01dda66496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f01dda7de4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005566c37e350b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f01d575e510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f01d575e5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005566c37d80c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/fsync-688e1a.c clang-15: note: diagnostic msg: /tmp/fsync-688e1a.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/fsync.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/read.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/read.c 1. parser at end of file 2. Optimizer #0 0x00007f0375f5e3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f0375f2d81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f0375ea2078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f0374fe99d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f0375db77b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007f0376997252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f0376cd5153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f03785d8ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f03760c844f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f03779fca15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f03760c8923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f03779fc9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f03760c802f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f037db85fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f037ccd5e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f037cf9a1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f037c0b5228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f037d5cc479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f037d57993f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f037d626f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055808cf707e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055808cf73f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f037d307739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f0375e97057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f037d30c8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f037d2dc1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f037d2dc496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f037d2f3e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055808cf7650b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f0374fd4510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f0374fd45c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055808cf6b0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/read-d5650d.c clang-15: note: diagnostic msg: /tmp/read-d5650d.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/read.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/pread.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/pread.c 1. parser at end of file 2. Optimizer #0 0x00007fa82ec4d3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fa82ec1c81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fa82eb91078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fa82dcd89d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fa82f6830fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fa82f686252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fa82f9c4153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fa8312c7ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fa82edb744f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fa8306eba15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fa82edb7923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fa8306eb9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fa82edb702f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fa836874fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fa8359c4e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fa835c891a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fa834da4228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fa8362bb479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fa83626893f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fa836315f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000056080267c7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000056080267ff43 (/usr/bin/clang-15+0x18f43) #22 0x00007fa835ff6739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fa82eb86057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fa835ffb8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fa835fcb1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fa835fcb496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fa835fe2e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000056080268250b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fa82dcc3510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fa82dcc35c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005608026770c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/pread-479e58.c clang-15: note: diagnostic msg: /tmp/pread-479e58.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/pread.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/pwrite.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/pwrite.c 1. parser at end of file 2. Optimizer #0 0x00007f30d5ec13c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f30d5e9081f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f30d5e05078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f30d4f4c9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f30d68f70fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f30d68fa252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f30d6c38153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f30d853bce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f30d602b44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f30d795fa15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f30d602b923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f30d795f9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f30d602b02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f30ddae8fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f30dcc38e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f30dcefd1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f30dc018228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f30dd52f479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f30dd4dc93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f30dd589f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005616849627e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000561684965f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f30dd26a739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f30d5dfa057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f30dd26f8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f30dd23f1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f30dd23f496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f30dd256e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000056168496850b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f30d4f37510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f30d4f375c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000056168495d0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/pwrite-e3ecee.c clang-15: note: diagnostic msg: /tmp/pwrite-e3ecee.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/pwrite.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/sleep.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/sleep.c 1. parser at end of file 2. Optimizer #0 0x00007f547fcda3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f547fca981f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f547fc1e078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f547ed659d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f54807100fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f5480713252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f5480a51153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f5482354ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f547fe4444f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f5481778a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f547fe44923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f54817789b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f547fe4402f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f5487901fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f5486a51e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f5486d161a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f5485e31228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f5487348479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f54872f593f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f54873a2f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000564f1c0e27e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000564f1c0e5f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f5487083739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f547fc13057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f54870888f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f54870581b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f5487058496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f548706fe4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000564f1c0e850b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f547ed50510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f547ed505c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000564f1c0dd0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sleep-81efa4.c clang-15: note: diagnostic msg: /tmp/sleep-81efa4.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/sleep.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/dlmalloc/include -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/dlmalloc/src/dlmalloc.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/dlmalloc/src/dlmalloc.c 1. parser at end of file 2. Optimizer #0 0x00007f8b9c8383c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f8b9c80781f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f8b9c77c078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f8b9b8c39d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f8b9d26e0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f8b9d271252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f8b9d5af153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f8b9eeb2ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f8b9c9a244f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f8b9e2d6a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f8b9c9a2923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f8b9e2d69b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f8b9c9a202f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f8ba445ffe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f8ba35afe08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f8ba38741a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f8ba298f228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f8ba3ea6479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f8ba3e5393f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f8ba3f00f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000056018fc157e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000056018fc18f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f8ba3be1739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f8b9c771057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f8ba3be68f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f8ba3bb61b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f8ba3bb6496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f8ba3bcde4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000056018fc1b50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f8b9b8ae510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f8b9b8ae5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000056018fc100c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/dlmalloc-e6fbf3.c clang-15: note: diagnostic msg: /tmp/dlmalloc-e6fbf3.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/dlmalloc/src/dlmalloc.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/symlinkat.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/symlinkat.c 1. parser at end of file 2. Optimizer #0 0x00007fe4beefd3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fe4beecc81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fe4bee41078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fe4bdf889d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fe4bf9330fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fe4bf936252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fe4bfc74153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fe4c1577ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fe4bf06744f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fe4c099ba15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fe4bf067923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fe4c099b9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fe4bf06702f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fe4c6b24fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fe4c5c74e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fe4c5f391a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fe4c5054228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fe4c656b479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fe4c651893f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fe4c65c5f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055c3853d67e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055c3853d9f43 (/usr/bin/clang-15+0x18f43) #22 0x00007fe4c62a6739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fe4bee36057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fe4c62ab8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fe4c627b1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fe4c627b496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fe4c6292e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055c3853dc50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fe4bdf73510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fe4bdf735c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055c3853d10c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/symlinkat-e30c24.c clang-15: note: diagnostic msg: /tmp/symlinkat-e30c24.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/symlinkat.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/unlinkat.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/unlinkat.c 1. parser at end of file 2. Optimizer #0 0x00007efe9d7d43c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007efe9d7a381f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007efe9d718078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007efe9c85f9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007efe9e20a0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007efe9e20d252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007efe9e54b153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007efe9fe4ece7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007efe9d93e44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007efe9f272a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007efe9d93e923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007efe9f2729b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007efe9d93e02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007efea53fbfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007efea454be08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007efea48101a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007efea392b228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007efea4e42479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007efea4def93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007efea4e9cf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000562fa03927e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000562fa0395f43 (/usr/bin/clang-15+0x18f43) #22 0x00007efea4b7d739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007efe9d70d057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007efea4b828f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007efea4b521b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007efea4b52496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007efea4b69e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000562fa039850b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007efe9c84a510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007efe9c84a5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000562fa038d0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/unlinkat-47380e.c clang-15: note: diagnostic msg: /tmp/unlinkat-47380e.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/unlinkat.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/usleep.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/usleep.c 1. parser at end of file 2. Optimizer #0 0x00007fe1194793c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fe11944881f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fe1193bd078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fe1185049d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fe119eaf0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fe119eb2252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fe11a1f0153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fe11baf3ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fe1195e344f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fe11af17a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fe1195e3923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fe11af179b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fe1195e302f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fe1210a0fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fe1201f0e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fe1204b51a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fe11f5d0228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fe120ae7479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fe120a9493f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fe120b41f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005652e8bf77e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x00005652e8bfaf43 (/usr/bin/clang-15+0x18f43) #22 0x00007fe120822739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fe1193b2057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fe1208278f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fe1207f71b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fe1207f7496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fe12080ee4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005652e8bfd50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fe1184ef510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fe1184ef5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005652e8bf20c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/usleep-44f96f.c clang-15: note: diagnostic msg: /tmp/usleep-44f96f.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/usleep.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/write.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/libc/unistd/write.c 1. parser at end of file 2. Optimizer #0 0x00007f3d6a7b63c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f3d6a78581f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f3d6a6fa078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f3d698419d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f3d6a60f7b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007f3d6b1ef252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f3d6b52d153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f3d6ce30ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f3d6a92044f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f3d6c254a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f3d6a920923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f3d6c2549b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f3d6a92002f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f3d723ddfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f3d7152de08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f3d717f21a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f3d7090d228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f3d71e24479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f3d71dd193f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f3d71e7ef58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000056477f9a97e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000056477f9acf43 (/usr/bin/clang-15+0x18f43) #22 0x00007f3d71b5f739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f3d6a6ef057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f3d71b648f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f3d71b341b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f3d71b34496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f3d71b4be4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000056477f9af50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f3d6982c510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f3d6982c5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000056477f9a40c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/write-3d83f6.c clang-15: note: diagnostic msg: /tmp/write-3d83f6.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/cloudlibc/src/libc/unistd/write.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/__wasilibc_dt.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/__wasilibc_dt.c 1. parser at end of file 2. Optimizer #0 0x00007f24fd10d3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f24fd0dc81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f24fd051078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f24fc1989d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f24fdb430fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f24fdb46252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f24fde84153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f24ff787ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f24fd27744f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f24febaba15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f24fd277923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f24febab9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f24fd27702f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f2504d34fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f2503e84e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f25041491a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f2503264228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f250477b479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f250472893f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f25047d5f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005611b85367e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x00005611b8539f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f25044b6739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f24fd046057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f25044bb8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f250448b1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f250448b496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f25044a2e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005611b853c50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f24fc183510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f24fc1835c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005611b85310c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/__wasilibc_dt-dfb8de.c clang-15: note: diagnostic msg: /tmp/__wasilibc_dt-dfb8de.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/__wasilibc_dt.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/__wasilibc_fd_renumber.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/__wasilibc_fd_renumber.c 1. parser at end of file 2. Optimizer #0 0x00007fb4fe0063c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fb4fdfd581f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fb4fdf4a078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fb4fd0919d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fb4fea3c0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fb4fea3f252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fb4fed7d153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fb500680ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fb4fe17044f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fb4ffaa4a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fb4fe170923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fb4ffaa49b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fb4fe17002f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fb505c2dfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fb504d7de08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fb5050421a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fb50415d228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fb505674479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fb50562193f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fb5056cef58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000557f4ba387e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000557f4ba3bf43 (/usr/bin/clang-15+0x18f43) #22 0x00007fb5053af739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fb4fdf3f057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fb5053b48f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fb5053841b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fb505384496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fb50539be4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000557f4ba3e50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fb4fd07c510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fb4fd07c5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000557f4ba330c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/__wasilibc_fd_renumber-1fc73e.c clang-15: note: diagnostic msg: /tmp/__wasilibc_fd_renumber-1fc73e.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/__wasilibc_fd_renumber.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/__wasilibc_initialize_environ.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/__wasilibc_initialize_environ.c 1. parser at end of file 2. Optimizer #0 0x00007f9c75dd43c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f9c75da381f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f9c75d18078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f9c74e5f9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f9c75e60000 (/lib64/libLLVM-15.so+0xc2d000) #5 0x00007f9c769628b4 (/lib64/libLLVM-15.so+0x172f8b4) #6 0x00007f9c769647e2 (/lib64/libLLVM-15.so+0x17317e2) #7 0x00007f9c76965bc6 llvm::InstCombinePass::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0x1732bc6) #8 0x00007f9c784501b5 (/lib64/libLLVM-15.so+0x321d1b5) #9 0x00007f9c75f3e44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #10 0x00007f9c77872a15 (/lib64/libLLVM-15.so+0x263fa15) #11 0x00007f9c75f3e923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #12 0x00007f9c778729b5 (/lib64/libLLVM-15.so+0x263f9b5) #13 0x00007f9c75f3e02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #14 0x00007f9c7d9fbfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #15 0x00007f9c7cb4be08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #16 0x00007f9c7ce101a7 (/lib64/libclang-cpp.so.15+0x17301a7) #17 0x00007f9c7bf2b228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #18 0x00007f9c7d442479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #19 0x00007f9c7d3ef93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #20 0x00007f9c7d49cf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #21 0x000055897c46a7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #22 0x000055897c46df43 (/usr/bin/clang-15+0x18f43) #23 0x00007f9c7d17d739 (/lib64/libclang-cpp.so.15+0x1a9d739) #24 0x00007f9c75d0d057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #25 0x00007f9c7d1828f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #26 0x00007f9c7d1521b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #27 0x00007f9c7d152496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #28 0x00007f9c7d169e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #29 0x000055897c47050b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #30 0x00007f9c74e4a510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #31 0x00007f9c74e4a5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #32 0x000055897c4650c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/__wasilibc_initialize_environ-d4dc04.c clang-15: note: diagnostic msg: /tmp/__wasilibc_initialize_environ-d4dc04.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/__wasilibc_initialize_environ.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/__wasilibc_rmdirat.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/__wasilibc_rmdirat.c 1. parser at end of file 2. Optimizer #0 0x00007fc062b823c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fc062b5181f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fc062ac6078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fc061c0d9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fc0635b80fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fc0635bb252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fc0638f9153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fc0651fcce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fc062cec44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fc064620a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fc062cec923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fc0646209b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fc062cec02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fc06a7a9fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fc0698f9e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fc069bbe1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fc068cd9228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fc06a1f0479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fc06a19d93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fc06a24af58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000564c7e58a7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000564c7e58df43 (/usr/bin/clang-15+0x18f43) #22 0x00007fc069f2b739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fc062abb057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fc069f308f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fc069f001b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fc069f00496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fc069f17e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000564c7e59050b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fc061bf8510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fc061bf85c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000564c7e5850c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/__wasilibc_rmdirat-00f596.c clang-15: note: diagnostic msg: /tmp/__wasilibc_rmdirat-00f596.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/__wasilibc_rmdirat.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/__wasilibc_tell.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/__wasilibc_tell.c 1. parser at end of file 2. Optimizer #0 0x00007fb842faf3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fb842f7e81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fb842ef3078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fb84203a9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fb8439e50fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fb8439e8252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fb843d26153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fb845629ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fb84311944f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fb844a4da15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fb843119923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fb844a4d9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fb84311902f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fb84abd6fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fb849d26e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fb849feb1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fb849106228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fb84a61d479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fb84a5ca93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fb84a677f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055ead9bee7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055ead9bf1f43 (/usr/bin/clang-15+0x18f43) #22 0x00007fb84a358739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fb842ee8057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fb84a35d8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fb84a32d1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fb84a32d496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fb84a344e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055ead9bf450b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fb842025510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fb8420255c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055ead9be90c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/__wasilibc_tell-9f321a.c clang-15: note: diagnostic msg: /tmp/__wasilibc_tell-9f321a.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/__wasilibc_tell.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/__wasilibc_unlinkat.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/__wasilibc_unlinkat.c 1. parser at end of file 2. Optimizer #0 0x00007fabda7043c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fabda6d381f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fabda648078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fabd978f9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fabdb13a0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fabdb13d252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fabdb47b153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fabdcd7ece7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fabda86e44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fabdc1a2a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fabda86e923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fabdc1a29b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fabda86e02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fabe232bfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fabe147be08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fabe17401a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fabe085b228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fabe1d72479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fabe1d1f93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fabe1dccf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000555d84ad67e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000555d84ad9f43 (/usr/bin/clang-15+0x18f43) #22 0x00007fabe1aad739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fabda63d057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fabe1ab28f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fabe1a821b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fabe1a82496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fabe1a99e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000555d84adc50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fabd977a510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fabd977a5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000555d84ad10c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/__wasilibc_unlinkat-3d7f6a.c clang-15: note: diagnostic msg: /tmp/__wasilibc_unlinkat-3d7f6a.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/__wasilibc_unlinkat.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/accept.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/accept.c 1. parser at end of file 2. Optimizer #0 0x00007f100802a3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f1007ff981f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f1007f6e078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f10070b59d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f1008a600fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f1008a63252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f1008da1153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f100a6a4ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f100819444f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f1009ac8a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f1008194923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f1009ac89b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f100819402f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f100fc51fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f100eda1e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f100f0661a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f100e181228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f100f698479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f100f64593f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f100f6f2f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000563ff746d7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000563ff7470f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f100f3d3739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f1007f63057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f100f3d88f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f100f3a81b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f100f3a8496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f100f3bfe4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000563ff747350b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f10070a0510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f10070a05c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000563ff74680c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/accept-9b6c71.c clang-15: note: diagnostic msg: /tmp/accept-9b6c71.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/accept.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/at_fdcwd.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/at_fdcwd.c 1. parser at end of file 2. Optimizer #0 0x00007f6b2a2bb3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f6b2a28a81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f6b2a1ff078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f6b293469d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f6b2acf10fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f6b2acf4252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f6b2b032153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f6b2c935ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f6b2a42544f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f6b2bd59a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f6b2a425923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f6b2bd599b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f6b2a42502f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f6b31ee2fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f6b31032e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f6b312f71a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f6b30412228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f6b31929479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f6b318d693f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f6b31983f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055e0909a47e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055e0909a7f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f6b31664739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f6b2a1f4057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f6b316698f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f6b316391b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f6b31639496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f6b31650e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055e0909aa50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f6b29331510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f6b293315c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055e09099f0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/at_fdcwd-a980e2.c clang-15: note: diagnostic msg: /tmp/at_fdcwd-a980e2.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/at_fdcwd.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/getcwd.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/getcwd.c 1. parser at end of file 2. Optimizer #0 0x00007fe9a33c63c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fe9a339581f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fe9a330a078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fe9a24519d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fe9a321f7b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007fe9a3dff252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fe9a413d153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fe9a5a40ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fe9a353044f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fe9a4e64a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fe9a3530923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fe9a4e649b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fe9a353002f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fe9aafedfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fe9aa13de08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fe9aa4021a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fe9a951d228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fe9aaa34479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fe9aa9e193f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fe9aaa8ef58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000056237566e7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000562375671f43 (/usr/bin/clang-15+0x18f43) #22 0x00007fe9aa76f739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fe9a32ff057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fe9aa7748f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fe9aa7441b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fe9aa744496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fe9aa75be4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000056237567450b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fe9a243c510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fe9a243c5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005623756690c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/getcwd-2821ca.c clang-15: note: diagnostic msg: /tmp/getcwd-2821ca.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/getcwd.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/isatty.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/isatty.c 1. parser at end of file 2. Optimizer #0 0x00007f2164f0e3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f2164edd81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f2164e52078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f2163f999d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f21659440fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f2165947252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f2165c85153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f2167588ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f216507844f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f21669aca15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f2165078923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f21669ac9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f216507802f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f216cb35fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f216bc85e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f216bf4a1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f216b065228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f216c57c479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f216c52993f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f216c5d6f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000560adb3d47e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000560adb3d7f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f216c2b7739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f2164e47057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f216c2bc8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f216c28c1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f216c28c496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f216c2a3e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000560adb3da50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f2163f84510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f2163f845c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000560adb3cf0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/isatty-38dbc6.c clang-15: note: diagnostic msg: /tmp/isatty-38dbc6.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/isatty.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/getentropy.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/getentropy.c 1. parser at end of file 2. Optimizer #0 0x00007fc2a57233c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fc2a56f281f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fc2a5667078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fc2a47ae9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fc2a61590fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fc2a615c252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fc2a649a153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fc2a7d9dce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fc2a588d44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fc2a71c1a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fc2a588d923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fc2a71c19b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fc2a588d02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fc2ad34afe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fc2ac49ae08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fc2ac75f1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fc2ab87a228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fc2acd91479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fc2acd3e93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fc2acdebf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005575f5f907e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x00005575f5f93f43 (/usr/bin/clang-15+0x18f43) #22 0x00007fc2acacc739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fc2a565c057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fc2acad18f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fc2acaa11b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fc2acaa1496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fc2acab8e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005575f5f9650b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fc2a4799510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fc2a47995c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005575f5f8b0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/getentropy-303f47.c clang-15: note: diagnostic msg: /tmp/getentropy-303f47.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/getentropy.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/math/fmin-fmax.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/math/fmin-fmax.c 1. parser at end of file 2. Optimizer #0 0x00007f06fe04b3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f06fe01a81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f06fdf8f078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f06fd0d69d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f06fea810fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f06fea84252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f06fedc2153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f07006c5ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f06fe1b544f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f06ffae9a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f06fe1b5923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f06ffae99b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f06fe1b502f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f0705c72fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f0704dc2e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f07050871a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f07041a2228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f07056b9479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f070566693f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f0705713f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055f383f887e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055f383f8bf43 (/usr/bin/clang-15+0x18f43) #22 0x00007f07053f4739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f06fdf84057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f07053f98f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f07053c91b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f07053c9496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f07053e0e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055f383f8e50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f06fd0c1510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f06fd0c15c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055f383f830c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/fmin-fmax-e7aec3.c clang-15: note: diagnostic msg: /tmp/fmin-fmax-e7aec3.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/math/fmin-fmax.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/preopens.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/preopens.c 1. parser at end of file 2. Optimizer #0 0x00007f02d55ec3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f02d55bb81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f02d5530078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f02d46779d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f02d54457b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007f02d6025252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f02d6363153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f02d7c66ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f02d575644f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f02d708aa15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f02d5756923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f02d708a9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f02d575602f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f02dd213fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f02dc363e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f02dc6281a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f02db743228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f02dcc5a479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f02dcc0793f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f02dccb4f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005591b19c57e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x00005591b19c8f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f02dc995739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f02d5525057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f02dc99a8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f02dc96a1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f02dc96a496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f02dc981e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005591b19cb50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f02d4662510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f02d46625c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005591b19c00c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/preopens-4a00d6.c clang-15: note: diagnostic msg: /tmp/preopens-4a00d6.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/preopens.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/reallocarray.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/reallocarray.c 1. parser at end of file 2. Optimizer #0 0x00007f70616333c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f706160281f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f7061577078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f70606be9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f70620690fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f706206c252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f70623aa153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f7063cadce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f706179d44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f70630d1a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f706179d923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f70630d19b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f706179d02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f706925afe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f70683aae08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f706866f1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f706778a228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f7068ca1479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f7068c4e93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f7068cfbf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005619091977e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000056190919af43 (/usr/bin/clang-15+0x18f43) #22 0x00007f70689dc739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f706156c057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f70689e18f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f70689b11b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f70689b1496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f70689c8e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000056190919d50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f70606a9510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f70606a95c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005619091920c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/reallocarray-d7cfaf.c clang-15: note: diagnostic msg: /tmp/reallocarray-d7cfaf.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/reallocarray.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/posix.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/posix.c 1. parser at end of file 2. Optimizer #0 0x00007f77d4eb73c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f77d4e8681f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f77d4dfb078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f77d3f429d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f77d58ed0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f77d58f0252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f77d5c2e153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f77d7531ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f77d502144f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f77d6955a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f77d5021923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f77d69559b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f77d502102f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f77dcadefe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f77dbc2ee08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f77dbef31a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f77db00e228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f77dc525479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f77dc4d293f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f77dc57ff58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055801de9a7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055801de9df43 (/usr/bin/clang-15+0x18f43) #22 0x00007f77dc260739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f77d4df0057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f77dc2658f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f77dc2351b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f77dc235496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f77dc24ce4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055801dea050b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f77d3f2d510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f77d3f2d5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055801de950c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/posix-00824e.c clang-15: note: diagnostic msg: /tmp/posix-00824e.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/posix.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/sbrk.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/sbrk.c 1. parser at end of file 2. Optimizer #0 0x00007fbba95fe3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fbba95cd81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fbba9542078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fbba86899d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fbbaa0340fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fbbaa037252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fbbaa375153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fbbabc78ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fbba976844f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fbbab09ca15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fbba9768923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fbbab09c9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fbba976802f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fbbb1225fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fbbb0375e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fbbb063a1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fbbaf755228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fbbb0c6c479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fbbb0c1993f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fbbb0cc6f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055bd2fe107e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055bd2fe13f43 (/usr/bin/clang-15+0x18f43) #22 0x00007fbbb09a7739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fbba9537057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fbbb09ac8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fbbb097c1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fbbb097c496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fbbb0993e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055bd2fe1650b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fbba8674510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fbba86745c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055bd2fe0b0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sbrk-1f5b97.c clang-15: note: diagnostic msg: /tmp/sbrk-1f5b97.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/sbrk.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/truncate.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/truncate.c 1. parser at end of file 2. Optimizer #0 0x00007f1c0cd3d3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f1c0cd0c81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f1c0cc81078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f1c0bdc89d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f1c0d7730fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f1c0d776252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f1c0dab4153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f1c0f3b7ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f1c0cea744f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f1c0e7dba15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f1c0cea7923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f1c0e7db9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f1c0cea702f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f1c14964fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f1c13ab4e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f1c13d791a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f1c12e94228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f1c143ab479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f1c1435893f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f1c14405f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055e8e7fe97e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055e8e7fecf43 (/usr/bin/clang-15+0x18f43) #22 0x00007f1c140e6739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f1c0cc76057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f1c140eb8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f1c140bb1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f1c140bb496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f1c140d2e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055e8e7fef50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f1c0bdb3510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f1c0bdb35c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055e8e7fe40c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/truncate-2b0941.c clang-15: note: diagnostic msg: /tmp/truncate-2b0941.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/truncate.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/headers/private -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/cloudlibc/src -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/chdir.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-bottom-half/sources/chdir.c 1. parser at end of file 2. Optimizer #0 0x00007fa90582c3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fa9057fb81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fa905770078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fa9048b79d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fa9062620fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fa906265252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fa9065a3153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fa907ea6ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fa90599644f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fa9072caa15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fa905996923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fa9072ca9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fa90599602f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fa90d453fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fa90c5a3e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fa90c8681a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fa90b983228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fa90ce9a479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fa90ce4793f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fa90cef4f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005634101707e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000563410173f43 (/usr/bin/clang-15+0x18f43) #22 0x00007fa90cbd5739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fa905765057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fa90cbda8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fa90cbaa1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fa90cbaa496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fa90cbc1e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000056341017650b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fa9048a2510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fa9048a25c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000056341016b0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/chdir-a2c151.c clang-15: note: diagnostic msg: /tmp/chdir-a2c151.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-bottom-half/sources/chdir.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/wasm32 -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/generic -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/headers/private -Wno-parentheses -Wno-shift-op-parentheses -Wno-bitwise-op-parentheses -Wno-logical-op-parentheses -Wno-string-plus-int -Wno-dangling-else -Wno-unknown-pragmas -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/a64l.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/misc/a64l.c 1. parser at end of file 2. Optimizer #0 0x00007f39365c13c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f393659081f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f3936505078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f393564c9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f393641a7b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007f3936ffa252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f3937338153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f3938c3bce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f393672b44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f393805fa15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f393672b923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f393805f9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f393672b02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f393e1e8fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f393d338e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f393d5fd1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f393c718228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f393dc2f479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f393dbdc93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f393dc89f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000559f8b5557e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000559f8b558f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f393d96a739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f39364fa057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f393d96f8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f393d93f1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f393d93f496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f393d956e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000559f8b55b50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f3935637510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f39356375c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000559f8b5500c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/a64l-a7cd93.c clang-15: note: diagnostic msg: /tmp/a64l-a7cd93.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/a64l.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/wasm32 -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/generic -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/headers/private -Wno-parentheses -Wno-shift-op-parentheses -Wno-bitwise-op-parentheses -Wno-logical-op-parentheses -Wno-string-plus-int -Wno-dangling-else -Wno-unknown-pragmas -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/basename.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/misc/basename.c 1. parser at end of file 2. Optimizer #0 0x00007f3e530193c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f3e52fe881f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f3e52f5d078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f3e520a49d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f3e53a4f0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f3e53a52252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f3e53d90153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f3e55693ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f3e5318344f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f3e54ab7a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f3e53183923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f3e54ab79b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f3e5318302f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f3e5ac40fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f3e59d90e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f3e5a0551a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f3e59170228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f3e5a687479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f3e5a63493f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f3e5a6e1f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000557d0e1e87e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000557d0e1ebf43 (/usr/bin/clang-15+0x18f43) #22 0x00007f3e5a3c2739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f3e52f52057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f3e5a3c78f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f3e5a3971b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f3e5a397496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f3e5a3aee4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000557d0e1ee50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f3e5208f510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f3e5208f5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000557d0e1e30c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/basename-5a5faa.c clang-15: note: diagnostic msg: /tmp/basename-5a5faa.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/basename.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/wasm32 -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/generic -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/headers/private -Wno-parentheses -Wno-shift-op-parentheses -Wno-bitwise-op-parentheses -Wno-logical-op-parentheses -Wno-string-plus-int -Wno-dangling-else -Wno-unknown-pragmas -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/dirname.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/misc/dirname.c 1. parser at end of file 2. Optimizer #0 0x00007f79ca9423c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f79ca91181f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f79ca886078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f79c99cd9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f79cb3780fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f79cb37b252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f79cb6b9153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f79ccfbcce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f79caaac44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f79cc3e0a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f79caaac923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f79cc3e09b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f79caaac02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f79d2569fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f79d16b9e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f79d197e1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f79d0a99228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f79d1fb0479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f79d1f5d93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f79d200af58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055990f0797e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055990f07cf43 (/usr/bin/clang-15+0x18f43) #22 0x00007f79d1ceb739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f79ca87b057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f79d1cf08f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f79d1cc01b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f79d1cc0496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f79d1cd7e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055990f07f50b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f79c99b8510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f79c99b85c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055990f0740c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/dirname-823771.c clang-15: note: diagnostic msg: /tmp/dirname-823771.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/dirname.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/wasm32 -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/generic -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/headers/private -Wno-parentheses -Wno-shift-op-parentheses -Wno-bitwise-op-parentheses -Wno-logical-op-parentheses -Wno-string-plus-int -Wno-dangling-else -Wno-unknown-pragmas -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/getdomainname.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/misc/getdomainname.c 1. parser at end of file 2. Optimizer #0 0x00007fe1e57d83c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fe1e57a781f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fe1e571c078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fe1e48639d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fe1e620e0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fe1e6211252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fe1e654f153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fe1e7e52ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fe1e594244f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fe1e7276a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fe1e5942923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fe1e72769b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fe1e594202f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fe1ed3fffe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fe1ec54fe08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fe1ec8141a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fe1eb92f228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fe1ece46479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fe1ecdf393f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fe1ecea0f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055e76408b7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055e76408ef43 (/usr/bin/clang-15+0x18f43) #22 0x00007fe1ecb81739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fe1e5711057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fe1ecb868f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fe1ecb561b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fe1ecb56496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fe1ecb6de4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055e76409150b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007fe1e484e510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fe1e484e5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055e7640860c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/getdomainname-6957fc.c clang-15: note: diagnostic msg: /tmp/getdomainname-6957fc.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:505: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/getdomainname.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/wasm32 -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/generic -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/headers/private -Wno-parentheses -Wno-shift-op-parentheses -Wno-bitwise-op-parentheses -Wno-logical-op-parentheses -Wno-string-plus-int -Wno-dangling-else -Wno-unknown-pragmas -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/getopt.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/misc/getopt.c 1. parser at end of file 2. Optimizer #0 0x00007f017ef963c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f017ef6581f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f017eeda078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f017e0219d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f017f9cc0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f017f9cf252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f017fd0d153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f0181610ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f017f10044f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f0180a34a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f017f100923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f0180a349b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f017f10002f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f0186bbdfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f0185d0de08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f0185fd21a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f01850ed228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f0186604479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f01865b193f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f018665ef58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055de3be1f7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055de3be22f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f018633f739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f017eecf057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f01863448f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f01863141b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f0186314496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f018632be4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055de3be2550b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f017e00c510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f017e00c5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055de3be1a0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/getopt-eb97c2.c clang-15: note: diagnostic msg: /tmp/getopt-eb97c2.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:504: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/getopt.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/wasm32 -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/generic -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/headers/private -Wno-parentheses -Wno-shift-op-parentheses -Wno-bitwise-op-parentheses -Wno-logical-op-parentheses -Wno-string-plus-int -Wno-dangling-else -Wno-unknown-pragmas -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/fmtmsg.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/misc/fmtmsg.c 1. parser at end of file 2. Optimizer #0 0x00007f83f3f4a3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f83f3f1981f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f83f3e8e078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f83f2fd59d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f83f49800fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f83f4983252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f83f4cc1153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f83f65c4ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f83f40b444f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f83f59e8a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f83f40b4923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f83f59e89b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f83f40b402f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f83fbb71fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f83facc1e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f83faf861a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f83fa0a1228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f83fb5b8479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f83fb56593f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f83fb612f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055565abe27e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x000055565abe5f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f83fb2f3739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f83f3e83057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f83fb2f88f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f83fb2c81b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f83fb2c8496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f83fb2dfe4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055565abe850b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f83f2fc0510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f83f2fc05c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055565abdd0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/fmtmsg-f71cb4.c clang-15: note: diagnostic msg: /tmp/fmtmsg-f71cb4.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:504: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/fmtmsg.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/wasm32 -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/generic -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/headers/private -Wno-parentheses -Wno-shift-op-parentheses -Wno-bitwise-op-parentheses -Wno-logical-op-parentheses -Wno-string-plus-int -Wno-dangling-else -Wno-unknown-pragmas -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/getopt_long.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/misc/getopt_long.c 1. parser at end of file 2. Optimizer #0 0x00007f8c153183c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f8c152e781f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f8c1525c078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f8c143a39d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f8c15d4e0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f8c15d51252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f8c1608f153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f8c17992ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f8c1548244f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f8c16db6a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f8c15482923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f8c16db69b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f8c1548202f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f8c1cf3ffe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f8c1c08fe08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f8c1c3541a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f8c1b46f228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f8c1c986479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f8c1c93393f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f8c1c9e0f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000559ee6f707e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000559ee6f73f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f8c1c6c1739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f8c15251057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f8c1c6c68f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f8c1c6961b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f8c1c696496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f8c1c6ade4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000559ee6f7650b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f8c1438e510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f8c1438e5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000559ee6f6b0c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/getopt_long-ab3303.c clang-15: note: diagnostic msg: /tmp/getopt_long-ab3303.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:504: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/getopt_long.o] Error 1 RPM build errors: 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/wasm32 -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/generic -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/headers/private -Wno-parentheses -Wno-shift-op-parentheses -Wno-bitwise-op-parentheses -Wno-logical-op-parentheses -Wno-string-plus-int -Wno-dangling-else -Wno-unknown-pragmas -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/getsubopt.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/misc/getsubopt.c 1. parser at end of file 2. Optimizer #0 0x00007f09227a63c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f092277581f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f09226ea078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f09218319d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f09231dc0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f09231df252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f092351d153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f0924e20ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f092291044f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f0924244a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f0922910923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f09242449b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f092291002f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f092a3cdfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f092951de08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f09297e21a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f09288fd228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f0929e14479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f0929dc193f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f0929e6ef58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000563bb1b8d7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x0000563bb1b90f43 (/usr/bin/clang-15+0x18f43) #22 0x00007f0929b4f739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f09226df057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f0929b548f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f0929b241b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f0929b24496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f0929b3be4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000563bb1b9350b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007f092181c510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f092181c5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000563bb1b880c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/getsubopt-0860ac.c clang-15: note: diagnostic msg: /tmp/getsubopt-0860ac.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:504: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/getsubopt.o] Error 1 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: clang -O2 -DNDEBUG --target=wasm32-wasi -fno-trapping-math -Wall -Wextra -Werror -Wno-null-pointer-arithmetic -Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-ignored-attributes -Wno-missing-braces -Wno-ignored-pragmas -Wno-unused-but-set-variable -Wno-unknown-warning-option -mthread-model single -isystem /builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/include -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/internal -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/wasm32 -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/arch/generic -I/builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/headers/private -Wno-parentheses -Wno-shift-op-parentheses -Wno-bitwise-op-parentheses -Wno-logical-op-parentheses -Wno-string-plus-int -Wno-dangling-else -Wno-unknown-pragmas -MD -MP -o /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/nftw.o -c /builddir/build/BUILD/wasi-libc-wasi-sdk-17/libc-top-half/musl/src/misc/nftw.c 1. parser at end of file 2. Optimizer #0 0x00007ffbc28183c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007ffbc27e781f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007ffbc275c078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007ffbc18a39d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007ffbc324e0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007ffbc3251252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007ffbc358f153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007ffbc4e92ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007ffbc298244f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007ffbc42b6a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007ffbc2982923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007ffbc42b69b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007ffbc298202f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007ffbca43ffe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007ffbc958fe08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007ffbc98541a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007ffbc896f228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007ffbc9e86479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007ffbc9e3393f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007ffbc9ee0f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005562ae55d7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-15+0x157e4) #21 0x00005562ae560f43 (/usr/bin/clang-15+0x18f43) #22 0x00007ffbc9bc1739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007ffbc2751057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007ffbc9bc68f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007ffbc9b961b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007ffbc9b96496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007ffbc9bade4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005562ae56350b clang_main(int, char**) (/usr/bin/clang-15+0x1b50b) #29 0x00007ffbc188e510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007ffbc188e5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005562ae5580c5 _start (/usr/bin/clang-15+0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: wasm32-unknown-wasi Thread model: single InstalledDir: /usr/bin clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/nftw-9eee09.c clang-15: note: diagnostic msg: /tmp/nftw-9eee09.sh clang-15: note: diagnostic msg: ******************** make: *** [Makefile:504: /builddir/build/BUILD/wasi-libc-wasi-sdk-17/build/libc-top-half/musl/src/misc/nftw.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.C8Aiuz (%build) Bad exit status from /var/tmp/rpm-tmp.C8Aiuz (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec