Python version 3.8.1rc1+chromium.10 (b00a2b5b76-dirty:b00a2b5b76, Dec 17 2019, 02:04:04)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)]
Change directory to: /b/s/w/ir/cache/builder/emscripten-releases/waterfall/src
adding to path: /b/s/w/ir/cache/builder/emscripten-releases/cmake-3.15.3-Linux-x86_64/bin
adding to path: /b/s/w/ir/cache/builder/emscripten-releases/node-v12.18.1-linux-x64/bin
Installing emscripten into /b/s/w/ir/k/install/emscripten
subprocess.check_call(`/b/s/w/ir/cache/vpython/ee977e/bin/python /b/s/w/ir/cache/builder/emscripten-releases/emscripten/tools/install.py /b/s/w/ir/k/install/emscripten`, cwd=`/b/s/w/ir/cache/builder/emscripten-releases/emscripten`)
Running npm install ...
subprocess.check_call(`/b/s/w/ir/cache/builder/emscripten-releases/node-v12.18.1-linux-x64/bin/npm ci --no-optional`, cwd=`/b/s/w/ir/k/install/emscripten`)
> spawn-sync@1.0.15 postinstall /b/s/w/ir/k/install/emscripten/node_modules/spawn-sync
> node postinstall
> caporal@1.3.0 postinstall /b/s/w/ir/k/install/emscripten/node_modules/caporal
> (test -f ./node_modules/husky/bin/install.js && node ./node_modules/husky/bin/install.js) || exit 0
> ws@0.4.32 install /b/s/w/ir/k/install/emscripten/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory '/b/s/w/ir/k/install/emscripten/node_modules/ws/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
bufferutil.target.mk:113: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
make: Leaving directory '/b/s/w/ir/k/install/emscripten/node_modules/ws/build'
added 232 packages in 4.588s
subprocess.check_call(`/b/s/w/ir/cache/builder/emscripten-releases/node-v12.18.1-linux-x64/bin/npm install google-closure-compiler-linux`, cwd=`/b/s/w/ir/k/install/emscripten`)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: google-closure-compiler-windows@20200920.0.0 (node_modules/google-closure-compiler-windows):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for google-closure-compiler-windows@20200920.0.0: wanted {"os":"win32","arch":"x64"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: google-closure-compiler-osx@20200920.0.0 (node_modules/google-closure-compiler-osx):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for google-closure-compiler-osx@20200920.0.0: wanted {"os":"darwin","arch":"x64,x86"} (current: {"os":"linux","arch":"x64"})
+ google-closure-compiler-linux@20210202.0.0
added 2 packages from 1 contributor and audited 237 packages in 11.973s
13 packages are looking for funding
run `npm fund` for details
found 4 vulnerabilities (1 low, 1 moderate, 2 high)
run `npm audit fix` to fix them, or `npm audit` for details
!@@@BUILD_STEP emscripten@@@
Config file: /b/s/w/ir/k/install/emscripten_config_upstream
subprocess.check_call(`/b/s/w/ir/cache/vpython/ee977e/bin/python /b/s/w/ir/k/install/emscripten/embuilder.py build SYSTEM`, cwd=`/b/s/w/ir/cache/builder/emscripten-releases/waterfall/src`)
shared:INFO: (Emscripten: Running sanity checks)
Building targets: libcompiler_rt libcompiler_rt-mt libc libc-asan libc-mt libc-mt-asan libprintf_long_double libprintf_long_double-asan libprintf_long_double-mt libprintf_long_double-mt-asan libsockets libsockets-mt libsockets_proxy libsockets_proxy-mt libc++abi-noexcept libc++abi-mt-noexcept libc++abi libc++abi-mt libc++-noexcept libc++-mt-noexcept libc++ libc++-mt libunwind-noexcept libunwind-mt-noexcept libunwind libunwind-mt libdlmalloc-noerrno libdlmalloc-noerrno-tracing libdlmalloc libdlmalloc-tracing libdlmalloc-debug-noerrno libdlmalloc-debug-noerrno-tracing libdlmalloc-debug libdlmalloc-debug-tracing libdlmalloc-mt-noerrno libdlmalloc-mt-noerrno-tracing libdlmalloc-mt libdlmalloc-mt-tracing libdlmalloc-mt-debug-noerrno libdlmalloc-mt-debug-noerrno-tracing libdlmalloc-mt-debug libdlmalloc-mt-debug-tracing libemmalloc-noerrno libemmalloc-noerrno-tracing libemmalloc libemmalloc-tracing libemmalloc-debug-noerrno libemmalloc-debug-noerrno-tracing libemmalloc-debug libemmalloc-debug-tracing libemmalloc-mt-noerrno libemmalloc-mt-noerrno-tracing libemmalloc-mt libemmalloc-mt-tracing libemmalloc-mt-debug-noerrno libemmalloc-mt-debug-noerrno-tracing libemmalloc-mt-debug libemmalloc-mt-debug-tracing libemmalloc-memvalidate-verbose-noerrno libemmalloc-memvalidate-verbose-noerrno-tracing libemmalloc-memvalidate-verbose libemmalloc-memvalidate-verbose-tracing libemmalloc-memvalidate-verbose-mt-noerrno libemmalloc-memvalidate-verbose-mt-noerrno-tracing libemmalloc-memvalidate-verbose-mt libemmalloc-memvalidate-verbose-mt-tracing libemmalloc-memvalidate-noerrno libemmalloc-memvalidate-noerrno-tracing libemmalloc-memvalidate libemmalloc-memvalidate-tracing libemmalloc-memvalidate-mt-noerrno libemmalloc-memvalidate-mt-noerrno-tracing libemmalloc-memvalidate-mt libemmalloc-memvalidate-mt-tracing libemmalloc-verbose-noerrno libemmalloc-verbose-noerrno-tracing libemmalloc-verbose libemmalloc-verbose-tracing libemmalloc-verbose-mt-noerrno libemmalloc-verbose-mt-noerrno-tracing libemmalloc-verbose-mt libemmalloc-verbose-mt-tracing libgl libgl-full_es3 libgl-ofb libgl-ofb-full_es3 libgl-webgl2 libgl-webgl2-full_es3 libgl-webgl2-ofb libgl-webgl2-ofb-full_es3 libgl-emu libgl-emu-full_es3 libgl-emu-ofb libgl-emu-ofb-full_es3 libgl-emu-webgl2 libgl-emu-webgl2-full_es3 libgl-emu-webgl2-ofb libgl-emu-webgl2-ofb-full_es3 libgl-mt libgl-mt-full_es3 libgl-mt-ofb libgl-mt-ofb-full_es3 libgl-mt-webgl2 libgl-mt-webgl2-full_es3 libgl-mt-webgl2-ofb libgl-mt-webgl2-ofb-full_es3 libgl-mt-emu libgl-mt-emu-full_es3 libgl-mt-emu-ofb libgl-mt-emu-ofb-full_es3 libgl-mt-emu-webgl2 libgl-mt-emu-webgl2-full_es3 libgl-mt-emu-webgl2-ofb libgl-mt-emu-webgl2-ofb-full_es3 libwebgpu_cpp libwebgpu_cpp-mt libfetch libfetch-mt libasmfs libasmfs-mt libubsan_minimal_rt_wasm libubsan_minimal_rt_wasm-mt libsanitizer_common_rt libsanitizer_common_rt-mt libubsan_rt libubsan_rt-mt liblsan_common_rt liblsan_common_rt-mt liblsan_rt liblsan_rt-mt libasan_rt libasan_rt-mt crt1 crt1_reactor libc_rt_wasm libc_rt_wasm-asan libstandalonewasm libstandalonewasm-memgrow libal libembind libembind-rtti libhtml5 libasan_js libjsmath struct_info
embuilder:INFO: building and verifying libcompiler_rt
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/libcompiler_rt.a... (this will be cached in "/b/s/w/ir/k/install/emscripten/cache/sysroot/lib/wasm32-emscripten/libcompiler_rt.a" for subsequent builds)
cache:INFO: generating system headers: sysroot_install.stamp... (this will be cached in "/b/s/w/ir/k/install/emscripten/cache/sysroot_install.stamp" for subsequent builds)
cache:INFO: - ok
cache:INFO: - ok
embuilder:INFO: ...success
embuilder:INFO: building and verifying libcompiler_rt-mt
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/libcompiler_rt-mt.a... (this will be cached in "/b/s/w/ir/k/install/emscripten/cache/sysroot/lib/wasm32-emscripten/libcompiler_rt-mt.a" for subsequent builds)
cache:INFO: - ok
embuilder:INFO: ...success
embuilder:INFO: building and verifying libc
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/libc.a... (this will be cached in "/b/s/w/ir/k/install/emscripten/cache/sysroot/lib/wasm32-emscripten/libc.a" for subsequent builds)
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: /b/s/w/ir/k/install/bin/clang -DEMSCRIPTEN -fignore-exceptions -fno-inline-functions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=14 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/b/s/w/ir/k/install/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -Werror -fno-unroll-loops -D_XOPEN_SOURCE=700 -Wno-unused-result -Os -fno-builtin -Wno-ignored-attributes -Wno-dangling-else -Wno-unknown-pragmas -Wno-shift-op-parentheses -Wno-string-plus-int -Wno-pointer-sign -I/b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/internal -c /b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/stdio/stderr.c -o /b/s/w/ir/k/install/emscripten/cache/build/libc/stderr.o
1. <eof> parser at end of file
2. Code generation
#0 0x00007ff584ee2ec3 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/k/install/bin/../lib/libLLVM-13git.so+0x1875ec3)
#1 0x00007ff584ee0c0e llvm::sys::RunSignalHandlers() (/b/s/w/ir/k/install/bin/../lib/libLLVM-13git.so+0x1873c0e)
#2 0x00007ff584ee223d llvm::sys::CleanupOnSignal(unsigned long) (/b/s/w/ir/k/install/bin/../lib/libLLVM-13git.so+0x187523d)
#3 0x00007ff584e167a3 (anonymous namespace)::CrashRecoveryContextImpl::HandleCrash(int, unsigned long) CrashRecoveryContext.cpp:0:0
#4 0x00007ff584e1690e CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
#5 0x00007ff583461390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
#6 0x00007ff586ea9ed8 llvm::WebAssembly::getOrCreateFunctionTableSymbol(llvm::MCContext&, llvm::WebAssemblySubtarget const*) WebAssemblyUtilities.cpp:0:0
#7 0x00007ff586e45243 llvm::WebAssemblyAsmPrinter::emitEndOfAsmFile(llvm::Module&) WebAssemblyAsmPrinter.cpp:0:0
#8 0x00007ff585840aa4 llvm::AsmPrinter::doFinalization(llvm::Module&) (/b/s/w/ir/k/install/bin/../lib/libLLVM-13git.so+0x21d3aa4)
#9 0x00007ff585057f65 llvm::FPPassManager::doFinalization(llvm::Module&) (/b/s/w/ir/k/install/bin/../lib/libLLVM-13git.so+0x19eaf65)
#10 0x00007ff585051b26 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/b/s/w/ir/k/install/bin/../lib/libLLVM-13git.so+0x19e4b26)
#11 0x00007ff58224a3a6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >) (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x21f03a6)
#12 0x00007ff58257434c clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) CodeGenAction.cpp:0:0
#13 0x00007ff58133e484 clang::ParseAST(clang::Sema&, bool, bool) (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x12e4484)
#14 0x00007ff582aff260 clang::FrontendAction::Execute() (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x2aa5260)
#15 0x00007ff582a7596a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x2a1b96a)
#16 0x00007ff582b71928 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x2b17928)
#17 0x0000000000214c99 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/b/s/w/ir/k/install/bin/clang+0x214c99)
#18 0x0000000000212b62 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) driver.cpp:0:0
#19 0x00007ff5827829b2 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, bool*) const::$_1>(long) Job.cpp:0:0
#20 0x00007ff584e166b7 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/b/s/w/ir/k/install/bin/../lib/libLLVM-13git.so+0x17a96b7)
#21 0x00007ff582782507 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, bool*) const (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x2728507)
#22 0x00007ff58275207f clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x26f807f)
#23 0x00007ff582752377 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&) const (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x26f8377)
#24 0x00007ff582769a4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&) (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x270fa4c)
#25 0x00000000002124bd main (/b/s/w/ir/k/install/bin/clang+0x2124bd)
#26 0x00007ff57f791840 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x20840)
#27 0x000000000020f96a _start (/b/s/w/ir/k/install/bin/clang+0x20f96a)
clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation)
clang version 13.0.0 (/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-llvm-llvm--project 2c25efcbd322c58b62e592a8265ef83803f0e7b9)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /b/s/w/ir/k/install/bin
clang-13: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-13: note: diagnostic msg: /b/s/w/ir/tmp/t/stderr-03cf68.c
clang-13: note: diagnostic msg: /b/s/w/ir/tmp/t/stderr-03cf68.sh
clang-13: note: diagnostic msg:
********************
emcc: error: '/b/s/w/ir/k/install/bin/clang -DEMSCRIPTEN -fignore-exceptions -fno-inline-functions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=14 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/b/s/w/ir/k/install/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -Werror -fno-unroll-loops -D_XOPEN_SOURCE=700 -Wno-unused-result -Os -fno-builtin -Wno-ignored-attributes -Wno-dangling-else -Wno-unknown-pragmas -Wno-shift-op-parentheses -Wno-string-plus-int -Wno-pointer-sign -I/b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/internal -c /b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/stdio/stderr.c -o /b/s/w/ir/k/install/emscripten/cache/build/libc/stderr.o' failed (139)
'/b/s/w/ir/k/install/emscripten/emcc -Werror -fno-unroll-loops -D_XOPEN_SOURCE=700 -Wno-unused-result -Os -fno-builtin -Wno-ignored-attributes -Wno-dangling-else -Wno-unknown-pragmas -Wno-shift-op-parentheses -Wno-string-plus-int -Wno-pointer-sign -I/b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/internal -c /b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/stdio/stderr.c -o /b/s/w/ir/k/install/emscripten/cache/build/libc/stderr.o -Wno-deprecated' failed (1)
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: /b/s/w/ir/k/install/bin/clang -DEMSCRIPTEN -fignore-exceptions -fno-inline-functions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=14 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/b/s/w/ir/k/install/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -Werror -fno-unroll-loops -D_XOPEN_SOURCE=700 -Wno-unused-result -Os -fno-builtin -Wno-ignored-attributes -Wno-dangling-else -Wno-unknown-pragmas -Wno-shift-op-parentheses -Wno-string-plus-int -Wno-pointer-sign -I/b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/internal -c /b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/stdio/stdin.c -o /b/s/w/ir/k/install/emscripten/cache/build/libc/stdin.o
1. <eof> parser at end of file
2. Code generation
#0 0x00007f9b27eefec3 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/k/install/bin/../lib/libLLVM-13git.so+0x1875ec3)
#1 0x00007f9b27eedc0e llvm::sys::RunSignalHandlers() (/b/s/w/ir/k/install/bin/../lib/libLLVM-13git.so+0x1873c0e)
#2 0x00007f9b27eef23d llvm::sys::CleanupOnSignal(unsigned long) (/b/s/w/ir/k/install/bin/../lib/libLLVM-13git.so+0x187523d)
#3 0x00007f9b27e237a3 (anonymous namespace)::CrashRecoveryContextImpl::HandleCrash(int, unsigned long) CrashRecoveryContext.cpp:0:0
#4 0x00007f9b27e2390e CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
#5 0x00007f9b2646e390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
#6 0x00007f9b29eb6ed8 llvm::WebAssembly::getOrCreateFunctionTableSymbol(llvm::MCContext&, llvm::WebAssemblySubtarget const*) WebAssemblyUtilities.cpp:0:0
#7 0x00007f9b29e52243 llvm::WebAssemblyAsmPrinter::emitEndOfAsmFile(llvm::Module&) WebAssemblyAsmPrinter.cpp:0:0
#8 0x00007f9b2884daa4 llvm::AsmPrinter::doFinalization(llvm::Module&) (/b/s/w/ir/k/install/bin/../lib/libLLVM-13git.so+0x21d3aa4)
#9 0x00007f9b28064f65 llvm::FPPassManager::doFinalization(llvm::Module&) (/b/s/w/ir/k/install/bin/../lib/libLLVM-13git.so+0x19eaf65)
#10 0x00007f9b2805eb26 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/b/s/w/ir/k/install/bin/../lib/libLLVM-13git.so+0x19e4b26)
#11 0x00007f9b252573a6 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >) (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x21f03a6)
#12 0x00007f9b2558134c clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) CodeGenAction.cpp:0:0
#13 0x00007f9b2434b484 clang::ParseAST(clang::Sema&, bool, bool) (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x12e4484)
#14 0x00007f9b25b0c260 clang::FrontendAction::Execute() (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x2aa5260)
#15 0x00007f9b25a8296a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x2a1b96a)
#16 0x00007f9b25b7e928 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x2b17928)
#17 0x0000000000214c99 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/b/s/w/ir/k/install/bin/clang+0x214c99)
#18 0x0000000000212b62 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) driver.cpp:0:0
#19 0x00007f9b2578f9b2 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, bool*) const::$_1>(long) Job.cpp:0:0
#20 0x00007f9b27e236b7 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/b/s/w/ir/k/install/bin/../lib/libLLVM-13git.so+0x17a96b7)
#21 0x00007f9b2578f507 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, bool*) const (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x2728507)
#22 0x00007f9b2575f07f clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x26f807f)
#23 0x00007f9b2575f377 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&) const (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x26f8377)
#24 0x00007f9b25776a4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&) (/b/s/w/ir/k/install/bin/../lib/libclang-cpp.so.13git+0x270fa4c)
#25 0x00000000002124bd main (/b/s/w/ir/k/install/bin/clang+0x2124bd)
#26 0x00007f9b2279e840 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x20840)
#27 0x000000000020f96a _start (/b/s/w/ir/k/install/bin/clang+0x20f96a)
clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation)
clang version 13.0.0 (/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-llvm-llvm--project 2c25efcbd322c58b62e592a8265ef83803f0e7b9)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /b/s/w/ir/k/install/bin
clang-13: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-13: note: diagnostic msg: /b/s/w/ir/tmp/t/stdin-5ebc25.c
clang-13: note: diagnostic msg: /b/s/w/ir/tmp/t/stdin-5ebc25.sh
clang-13: note: diagnostic msg:
********************
emcc: error: '/b/s/w/ir/k/install/bin/clang -DEMSCRIPTEN -fignore-exceptions -fno-inline-functions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=14 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/b/s/w/ir/k/install/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -Werror -fno-unroll-loops -D_XOPEN_SOURCE=700 -Wno-unused-result -Os -fno-builtin -Wno-ignored-attributes -Wno-dangling-else -Wno-unknown-pragmas -Wno-shift-op-parentheses -Wno-string-plus-int -Wno-pointer-sign -I/b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/internal -c /b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/stdio/stdin.c -o /b/s/w/ir/k/install/emscripten/cache/build/libc/stdin.o' failed (139)
'/b/s/w/ir/k/install/emscripten/emcc -Werror -fno-unroll-loops -D_XOPEN_SOURCE=700 -Wno-unused-result -Os -fno-builtin -Wno-ignored-attributes -Wno-dangling-else -Wno-unknown-pragmas -Wno-shift-op-parentheses -Wno-string-plus-int -Wno-pointer-sign -I/b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/internal -c /b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/stdio/stdin.c -o /b/s/w/ir/k/install/emscripten/cache/build/libc/stdin.o -Wno-deprecated' failed (1)
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/b/s/w/ir/cipd_bin_packages/cpython3/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/b/s/w/ir/cipd_bin_packages/cpython3/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/b/s/w/ir/k/install/emscripten/tools/system_libs.py", line 83, in run_one_command
shared.run_process(cmd, env=safe_env)
File "/b/s/w/ir/k/install/emscripten/tools/shared.py", line 96, in run_process
ret = subprocess.run(cmd, check=check, input=input, *args, **kw)
File "/b/s/w/ir/cipd_bin_packages/cpython3/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/b/s/w/ir/k/install/emscripten/emcc', '-Werror', '-fno-unroll-loops', '-D_XOPEN_SOURCE=700', '-Wno-unused-result', '-Os', '-fno-builtin', '-Wno-ignored-attributes', '-Wno-dangling-else', '-Wno-unknown-pragmas', '-Wno-shift-op-parentheses', '-Wno-string-plus-int', '-Wno-pointer-sign', '-I/b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/internal', '-c', '/b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/stdio/stderr.c', '-o', '/b/s/w/ir/k/install/emscripten/cache/build/libc/stderr.o', '-Wno-deprecated']' returned non-zero exit status 1.
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/b/s/w/ir/k/install/emscripten/embuilder.py", line 267, in <module>
sys.exit(main())
File "/b/s/w/ir/k/install/emscripten/embuilder.py", line 171, in main
library.get_path()
File "/b/s/w/ir/k/install/emscripten/tools/system_libs.py", line 316, in get_path
return shared.Cache.get_lib(self.get_filename(), self.build)
File "/b/s/w/ir/k/install/emscripten/tools/cache.py", line 130, in get_lib
return self.get(name, *args, **kwargs)
File "/b/s/w/ir/k/install/emscripten/tools/cache.py", line 158, in get
creator(cachename)
File "/b/s/w/ir/k/install/emscripten/tools/system_libs.py", line 366, in build
create_lib(out_filename, self.build_objects(build_dir))
File "/b/s/w/ir/k/install/emscripten/tools/system_libs.py", line 359, in build_objects
run_build_commands(commands)
File "/b/s/w/ir/k/install/emscripten/tools/system_libs.py", line 104, in run_build_commands
pool.map_async(run_one_command, commands, chunksize=1).get(999999)
File "/b/s/w/ir/cipd_bin_packages/cpython3/lib/python3.8/multiprocessing/pool.py", line 768, in get
raise self._value
subprocess.CalledProcessError: Command '['/b/s/w/ir/k/install/emscripten/emcc', '-Werror', '-fno-unroll-loops', '-D_XOPEN_SOURCE=700', '-Wno-unused-result', '-Os', '-fno-builtin', '-Wno-ignored-attributes', '-Wno-dangling-else', '-Wno-unknown-pragmas', '-Wno-shift-op-parentheses', '-Wno-string-plus-int', '-Wno-pointer-sign', '-I/b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/internal', '-c', '/b/s/w/ir/k/install/emscripten/system/lib/libc/musl/src/stdio/stderr.c', '-o', '/b/s/w/ir/k/install/emscripten/cache/build/libc/stderr.o', '-Wno-deprecated']' returned non-zero exit status 1.
!@@@STEP_FAILURE@@@
!@@@BUILD_STEP Summary@@@
Failed steps: 1.
emscripten
Warned steps: 0.
!@@@STEP_FAILURE@@@
Completed in 107.72216534614563s