Python version 3.8.10 (chromium.34, Jul 2 2024, 01:33:02)
[GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
sys.executable = /home/chrome-bot/.cache/vpython-root.1000/store/python_venv-bv3d5jfr6u91rvk3n0abpuif20/contents/bin/python3
EMSDK_PYTHON = /home/chrome-bot/.cache/vpython-root.1000/store/python_venv-bv3d5jfr6u91rvk3n0abpuif20/contents/bin/python3
Change directory to: /b/s/w/ir/cache/builder/emscripten-releases/src
adding to path: /b/s/w/ir/cache/builder/emscripten-releases/cmake-3.21.3-linux-x86_64/bin
adding to path: /b/s/w/ir/cache/builder/emscripten-releases/third_party/ninja
adding to path: /b/s/w/ir/cache/builder/emscripten-releases/node-v22.16.0-linux-x64/bin
@@@BUILD_STEP Execute emscripten testsuite (emwasm)@@@
Running npm install ...
subprocess.check_call(`/b/s/w/ir/cache/builder/emscripten-releases/node-v22.16.0-linux-x64/bin/npm ci`, cwd=`/b/s/w/ir/x/w/install/emscripten`)
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
added 427 packages, and audited 428 packages in 5s
59 packages are looking for funding
run `npm fund` for details
1 low severity vulnerability
To address all issues, run:
npm audit fix
Run `npm audit` for details.
subprocess.check_call(`/b/s/w/ir/x/w/install/emscripten/test/runner thinltoz`, cwd=`/b/s/w/ir/cache/builder/emscripten-releases/emtest-out`)
Running test_core: (1089 tests)
Using 8 parallel test processes
test_zero_struct_varargs (test_core.thinltoz) ... skipped 'is_wasm2js : tests va_arg()'
test_zero_multiplication (test_core.thinltoz) ... skipped 'is_wasm2js : tests multiplication by zero'
test_zerodiv (test_core.thinltoz) ... skipped 'is_wasm2js : tests division by zero'
<building and saving third_party_zlib_Oz_b4165908898f0eb935a6303e7d4395af into cache>
<building and saving third_party_zlib_Oz_b4165908898f0eb935a6303e7d4395af into cache>
env_modify: {'IDL_CHECKS': 'FAST'}
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libGL-getprocaddr.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libGL-getprocaddr.a" for subsequent builds)
system_libs:INFO: compiled 4 inputs in 0.42s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libal.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libal.a" for subsequent builds)
system_libs:INFO: compiled 1 inputs in 0.17s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libhtml5.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libhtml5.a" for subsequent builds)
system_libs:INFO: compiled 5 inputs in 0.27s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc_optz.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc_optz.a" for subsequent builds)
system_libs:INFO: compiled 7 inputs in 0.35s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libstubs.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libstubs.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs in 0.17s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libnoexit.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libnoexit.a" for subsequent builds)
system_libs:INFO: compiled 1 inputs in 0.17s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc.a" for subsequent builds)
system_libs:INFO: compiled 1044 inputs in 7.66s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libdlmalloc.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libdlmalloc.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs in 0.67s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libcompiler_rt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libcompiler_rt.a" for subsequent builds)
system_libs:INFO: compiled 182 inputs in 2.10s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libsockets.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libsockets.a" for subsequent builds)
system_libs:INFO: compiled 27 inputs in 0.86s
cache:INFO: - ok
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000577663876d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005776638747b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000577663877576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000742536842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007425368969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007425368969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007425368969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000742536842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007425368287f3 abort ./stdlib/abort.c:81:7
#9 0x000074253682871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000742536839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005776662f46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005776662eb044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005776662f3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005776662ea465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005776662ea02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005776662ea875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005776662f4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005776662bd30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000577666518e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000577664f35910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005776642b69f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005776642a82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005776642a7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005776642a7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000577663bf898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000577663bff4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000577663c00f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000742536894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000742536926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_write_stdout_fileno.wasm /b/s/w/ir/x/t/emtest_x5aobjwh/emscripten_temp_dnjy_lhf/test_write_stdout_fileno_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_x5aobjwh/tmpyh0cm9d_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_write_stdout_fileno (test_core.thinltoz) ... FAIL
env_modify: {'IDL_CHECKS': 'DEFAULT'}
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libemmalloc.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libemmalloc.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs in 0.44s
cache:INFO: - ok
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005b63b297fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b63b297d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b63b2980576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072bb22a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072bb22a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072bb22a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072bb22a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072bb22a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072bb22a287f3 abort ./stdlib/abort.c:81:7
#9 0x000072bb22a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072bb22a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b63b53fd6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b63b53f4044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b63b53fca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b63b53f3465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b63b53f302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b63b53f3875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b63b53fdfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b63b53c630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b63b5621e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b63b403e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b63b33bf9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b63b33b12b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b63b33b0523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b63b33b0e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b63b2d0198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b63b2d084ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b63b2d09f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072bb22a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072bb22b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test.wasm /b/s/w/ir/x/t/emtest_dovlghfu/emscripten_temp_ab0m4oo_/test_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_dovlghfu/tmps346p3htlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=malloc --export=free --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
None
None
test_webidl_default (test_core.thinltoz) ... FAIL
env_modify: {'IDL_CHECKS': 'ALL'}
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o whets.wasm /b/s/w/ir/x/t/emtest_o_8znky7/emscripten_temp_qnqsoide/whets_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_o_8znky7/tmpagudqufglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_whets (test_core.thinltoz) ... FAIL
env_modify: {'IDL_CHECKS': 'ALL'}
#0 0x00005de75acb0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005de75acae7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005de75acb1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b1e96842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b1e968969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b1e968969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b1e968969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b1e96842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b1e968287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b1e9682871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b1e96839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005de75d72e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005de75d725044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005de75d72da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005de75d724465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005de75d72402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005de75d724875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005de75d72efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005de75d6f730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005de75d952e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005de75c36f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005de75b6f09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005de75b6e22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005de75b6e1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005de75b6e1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005de75b03298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005de75b0394ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005de75b03af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b1e96894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b1e96926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00006247001ffd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006247001fd7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000624700200576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b3b2aa42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b3b2aa969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b3b2aa969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b3b2aa969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b3b2aa42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b3b2aa287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b3b2aa2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b3b2aa39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000624702c7d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000624702c74044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000624702c7ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000624702c73465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000624702c7302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000624702c73875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000624702c7dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000624702c4630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000624702ea1e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006247018be910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000624700c3f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000624700c312b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000624700c30523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000624700c30e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062470058198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006247005884ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000624700589f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b3b2aa94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b3b2ab26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_wrap_malloc.wasm /b/s/w/ir/x/t/emtest_hk4oj6at/emscripten_temp_cn6nn8gp/test_wrap_malloc_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_hk4oj6at/tmpw9pr4tz_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test.wasm /b/s/w/ir/x/t/emtest_3fu64zcv/emscripten_temp_uevm3k29/test_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_3fu64zcv/tmp0qipv58tlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=malloc --export=free --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_wrap_malloc (test_core.thinltoz) ... FAIL
env_modify: {'IDL_CHECKS': 'DEFAULT'}
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_webidl_fast (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc_optz-debug.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc_optz-debug.a" for subsequent builds)
#0 0x00005621feea8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005621feea67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005621feea9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a8cf1a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a8cf1a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a8cf1a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a8cf1a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a8cf1a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a8cf1a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a8cf1a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a8cf1a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005622019266a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056220191d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000562201925a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056220191c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056220191c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056220191c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000562201926fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005622018ef30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000562201b4ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000562200567910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005621ff8e89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005621ff8da2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005621ff8d9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005621ff8d9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005621ff22a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005621ff2314ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005621ff232f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a8cf1a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a8cf1b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_wrap_malloc.wasm /b/s/w/ir/x/t/emtest__0bxysfa/emscripten_temp_ilykj_nc/test_wrap_malloc_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -lemmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__0bxysfa/tmpx5ph08pwlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_wprintf.wasm /b/s/w/ir/x/t/emtest_j4r40i_v/emscripten_temp_mdbcf1wz/test_wprintf_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_j4r40i_v/tmpcsioqvozlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_wrap_malloc_emmalloc (test_core.thinltoz) ... FAIL
None
None
test_wprintf (test_core.thinltoz) ... FAIL
test_wasm_worker_hello_modularize_minimal_runtime (test_core.thinltoz) ... skipped 'also_with_modularize is not compatible with WASM_ESM_INTEGRATION'
test_wasm_worker_hello_modularize (test_core.thinltoz) ... skipped 'also_with_modularize is not compatible with WASM_ESM_INTEGRATION'
system_libs:INFO: compiled 7 inputs in 0.58s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libstubs-debug.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libstubs-debug.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs in 0.41s
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc-debug.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc-debug.a" for subsequent builds)
#0 0x00005e313f5e9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e313f5e77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e313f5ea576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000732902442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007329024969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007329024969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007329024969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000732902442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007329024287f3 abort ./stdlib/abort.c:81:7
#9 0x000073290242871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000732902439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e31420676a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e314205e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e3142066a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e314205d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e314205d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e314205d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e3142067fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e314203030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e314228be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e3140ca8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e31400299f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e314001b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e314001a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e314001ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e313f96b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e313f9724ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e313f973f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000732902494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000732902526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test.wasm /b/s/w/ir/x/t/emtest_1kd_nkko/emscripten_temp_jmcx1xpl/test_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1kd_nkko/tmpfj4847onlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=malloc --export=free --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_webidl (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005f9eac12ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f9eac12c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f9eac12f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075e6e9242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075e6e92969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075e6e92969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075e6e92969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075e6e9242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075e6e92287f3 abort ./stdlib/abort.c:81:7
#9 0x000075e6e922871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075e6e9239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f9eaebac6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f9eaeba3044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f9eaebaba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f9eaeba2465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f9eaeba202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f9eaeba2875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f9eaebacfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f9eaeb7530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f9eaedd0e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f9ead7ed910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f9eacb6e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f9eacb602b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f9eacb5f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f9eacb5fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f9eac4b098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f9eac4b74ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f9eac4b8f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075e6e9294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075e6e9326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_zlib.wasm /b/s/w/ir/x/t/emtest_vykjbt2d/emscripten_temp_uhos972z/test_zlib_0.o /b/s/w/ir/x/t/emtest_vykjbt2d/emscripten_test_thinltoz_j3i4i84d/building/third_party/zlib/libz.a -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_vykjbt2d/tmph_c01g_xlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_zlib_configure (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005a1ba271fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a1ba271d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a1ba2720576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073fa57e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073fa57e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073fa57e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073fa57e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073fa57e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073fa57e287f3 abort ./stdlib/abort.c:81:7
#9 0x000073fa57e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073fa57e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a1ba519d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a1ba5194044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a1ba519ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a1ba5193465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a1ba519302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a1ba5193875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a1ba519dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a1ba516630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a1ba53c1e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a1ba3dde910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a1ba315f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a1ba31512b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a1ba3150523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a1ba3150e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a1ba2aa198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a1ba2aa84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a1ba2aa9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073fa57e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073fa57f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_hello_world.wasm /b/s/w/ir/x/t/emtest_69c1cr7n/emscripten_temp_cfspd6zn/test_hello_world_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_69c1cr7n/tmp6yzpsb8wlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_wasm_synchronous_compilation (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000607f18d86d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000607f18d847b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000607f18d87576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007471d9c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007471d9c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007471d9c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007471d9c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007471d9c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007471d9c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007471d9c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007471d9c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000607f1b8046a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000607f1b7fb044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000607f1b803a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000607f1b7fa465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000607f1b7fa02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000607f1b7fa875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000607f1b804fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000607f1b7cd30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000607f1ba28e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000607f1a445910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000607f197c69f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000607f197b82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000607f197b7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000607f197b7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000607f1910898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000607f1910f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000607f19110f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007471d9c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007471d9d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_wasm_intrinsics_simd.wasm /b/s/w/ir/x/t/emtest_0bpmdba5/emscripten_temp_70fbjdma/test_wasm_intrinsics_simd_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_0bpmdba5/tmpz5r8nbgglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_wasm_intrinsics_simd (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 1044 inputs in 10.55s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libdlmalloc-debug.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libdlmalloc-debug.a" for subsequent builds)
test_wasm2js_fallback_minimal_runtime (test_core.thinltoz) ... ok (1.17s)
system_libs:INFO: compiled 2 inputs in 0.72s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc++-debug-noexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc++-debug-noexcept.a" for subsequent builds)
test_wasm2js_fallback (test_core.thinltoz) ... ok (1.01s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000057519cc8cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057519cc8a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057519cc8d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078d8fd042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078d8fd0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078d8fd0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078d8fd0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078d8fd042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078d8fd0287f3 abort ./stdlib/abort.c:81:7
#9 0x000078d8fd02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078d8fd039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057519f70a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057519f701044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057519f709a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057519f700465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057519f70002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057519f700875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057519f70afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057519f6d330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057519f92ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057519e34b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057519d6cc9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057519d6be2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057519d6bd523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057519d6bde44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057519d00e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057519d0154ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057519d016f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078d8fd094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078d8fd126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o /b/s/w/ir/x/t/emtest_9hv7bhc5/emscripten_temp_1b961ujj/test_hello_world.wasm /b/s/w/ir/x/t/emtest_9hv7bhc5/emscripten_temp_1b961ujj/test_hello_world_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9hv7bhc5/tmpu1zuzijnlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__get_temp_ret --export=__set_temp_ret --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_wasm2js (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
-- make stdout --
[ 5%] Building C object CMakeFiles/zlib.dir/adler32.o
[ 10%] Building C object CMakeFiles/zlib.dir/compress.o
[ 15%] Building C object CMakeFiles/zlib.dir/crc32.o
[ 20%] Building C object CMakeFiles/zlib.dir/deflate.o
[ 25%] Building C object CMakeFiles/zlib.dir/gzclose.o
[ 30%] Building C object CMakeFiles/zlib.dir/gzlib.o
[ 35%] Building C object CMakeFiles/zlib.dir/gzread.o
[ 40%] Building C object CMakeFiles/zlib.dir/gzwrite.o
[ 45%] Building C object CMakeFiles/zlib.dir/inflate.o
[ 50%] Building C object CMakeFiles/zlib.dir/infback.o
[ 55%] Building C object CMakeFiles/zlib.dir/inftrees.o
[ 60%] Building C object CMakeFiles/zlib.dir/inffast.o
[ 65%] Building C object CMakeFiles/zlib.dir/trees.o
[ 70%] Building C object CMakeFiles/zlib.dir/uncompr.o
[ 75%] Building C object CMakeFiles/zlib.dir/zutil.o
[ 80%] Linking C static library libz.a
[ 80%] Built target zlib
[ 85%] Building C object CMakeFiles/example.dir/example.o
[ 90%] Linking C executable example.js
-- end make stdout --
-- make stderr --
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005eafdf8c4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005eafdf8c27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005eafdf8c5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c6f83842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c6f838969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c6f838969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c6f838969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c6f83842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c6f838287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c6f8382871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c6f83839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005eafe23426a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005eafe2339044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005eafe2341a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005eafe2338465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005eafe233802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005eafe2338875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005eafe2342fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005eafe230b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005eafe2566e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005eafe0f83910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005eafe03049f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005eafe02f62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005eafe02f5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005eafe02f5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005eafdfc4698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005eafdfc4d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005eafdfc4ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c6f83894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c6f83926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o example.wasm CMakeFiles/example.dir/example.o libz.a -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_it234_21/tmp9gw97wwplibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
gmake[2]: *** [CMakeFiles/example.dir/build.make:101: example.js] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:113: CMakeFiles/example.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
-- end stderr --
test_zlib_cmake (test_core.thinltoz) ... ERROR
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_vswprintf_utf8.wasm /b/s/w/ir/x/t/emtest_yi0f1r2s/emscripten_temp_hq6w47yc/test_vswprintf_utf8_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_yi0f1r2s/tmp35zbp9nplibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_vswprintf_utf8 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005e7e6e7e6d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e7e6e7e47b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e7e6e7e7576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c7621442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c76214969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c76214969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c76214969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c7621442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c76214287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c762142871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c7621439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e7e712646a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e7e7125b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e7e71263a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e7e7125a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e7e7125a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e7e7125a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e7e71264fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e7e7122d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e7e71488e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e7e6fea5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e7e6f2269f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e7e6f2182b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e7e6f217523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e7e6f217e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e7e6eb6898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e7e6eb6f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e7e6eb70f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c7621494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c7621526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_vsnprintf.wasm /b/s/w/ir/x/t/emtest_na88qdlf/emscripten_temp_u20zjts_/test_vsnprintf_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_na88qdlf/tmprxdmaiyklibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_vsnprintf (test_core.thinltoz) ... FAIL
#0 0x00005c73162e6d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c73162e47b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c73162e7576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ba8c6842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ba8c68969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ba8c68969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ba8c68969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ba8c6842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ba8c68287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ba8c682871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ba8c6839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c7318d646a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c7318d5b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c7318d63a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c7318d5a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c7318d5a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c7318d5a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c7318d64fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c7318d2d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c7318f88e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c73179a5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c7316d269f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c7316d182b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c7316d17523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c7316d17e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c731666898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c731666f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c7316670f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ba8c6894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ba8c6926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_vprintf.wasm /b/s/w/ir/x/t/emtest_kxirx6tx/emscripten_temp_g6y_r5x5/test_vprintf_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_kxirx6tx/tmpue4h49z0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_vprintf (test_core.thinltoz) ... FAIL
test_varargs_byval (test_core.thinltoz) ... skipped 'clang cannot compile this code with that target yet'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005a6aa60fed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a6aa60fc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a6aa60ff576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000793209642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007932096969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007932096969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007932096969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000793209642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007932096287f3 abort ./stdlib/abort.c:81:7
#9 0x000079320962871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000793209639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a6aa8b7c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a6aa8b73044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a6aa8b7ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a6aa8b72465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a6aa8b7202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a6aa8b72875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a6aa8b7cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a6aa8b4530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a6aa8da0e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a6aa77bd910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a6aa6b3e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a6aa6b302b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a6aa6b2f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a6aa6b2fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a6aa648098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a6aa64874ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a6aa6488f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000793209694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000793209726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_varargs_multi.wasm /b/s/w/ir/x/t/emtest_vxt1nycl/emscripten_temp_uzd__g_l/test_varargs_multi_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_vxt1nycl/tmp_1r5bj19libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_varargs_multi (test_core.thinltoz) ... FAIL
test_vararg_copy (test_core.thinltoz) ... skipped 'is_wasm2js : tests va_arg()'
#0 0x00005a7271ce5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a7271ce37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a7271ce6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f8b9f042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f8b9f0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f8b9f0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f8b9f0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f8b9f042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f8b9f0287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f8b9f02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f8b9f039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a72747636a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a727475a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a7274762a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a7274759465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a727475902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a7274759875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a7274763fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a727472c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a7274987e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a72733a4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a72727259f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a72727172b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a7272716523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a7272716e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a727206798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a727206e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a727206ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f8b9f094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f8b9f126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_varargs.wasm /b/s/w/ir/x/t/emtest_l8q2oil0/emscripten_temp_u6up_7fa/test_varargs_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_l8q2oil0/tmpw2dy07aqlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_varargs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000622d7a11cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000622d7a11a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000622d7a11d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007eace2642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007eace26969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007eace26969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007eace26969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007eace2642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007eace26287f3 abort ./stdlib/abort.c:81:7
#9 0x00007eace262871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007eace2639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000622d7cb9a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000622d7cb91044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000622d7cb99a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000622d7cb90465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000622d7cb9002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000622d7cb90875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000622d7cb9afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000622d7cb6330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000622d7cdbee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000622d7b7db910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000622d7ab5c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000622d7ab4e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000622d7ab4d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000622d7ab4de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000622d7a49e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000622d7a4a54ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000622d7a4a6f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007eace2694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007eace2726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005a37fb4f4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a37fb4f27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a37fb4f5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007246f6e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007246f6e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007246f6e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007246f6e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007246f6e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007246f6e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007246f6e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007246f6e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a37fdf726a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a37fdf69044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a37fdf71a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a37fdf68465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a37fdf6802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a37fdf68875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a37fdf72fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a37fdf3b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a37fe196e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a37fcbb3910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a37fbf349f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a37fbf262b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a37fbf25523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a37fbf25e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a37fb87698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a37fb87d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a37fb87ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007246f6e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007246f6f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_utime.wasm /b/s/w/ir/x/t/emtest_nfcyj4u5/emscripten_temp_nldrjlz1/test_utime_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_nfcyj4u5/tmpbftexjq_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utime (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_utf.wasm /b/s/w/ir/x/t/emtest_z7h25yoq/emscripten_temp_2o9d47k0/test_utf_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_z7h25yoq/tmpalpr7jz_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utf_textdecoder (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000635c45cb7d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000635c45cb57b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000635c45cb8576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007aaa09a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007aaa09a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007aaa09a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007aaa09a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007aaa09a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007aaa09a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007aaa09a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007aaa09a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000635c487356a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000635c4872c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000635c48734a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000635c4872b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000635c4872b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000635c4872b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000635c48735fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000635c486fe30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000635c48959e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000635c47376910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000635c466f79f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000635c466e92b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000635c466e8523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000635c466e8e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000635c4603998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000635c460404ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000635c46041f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007aaa09a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007aaa09b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000063e262f5bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063e262f597b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063e262f5c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078a570242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078a5702969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078a5702969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078a5702969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078a570242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078a5702287f3 abort ./stdlib/abort.c:81:7
#9 0x000078a57022871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078a570239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063e2659d96a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063e2659d0044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063e2659d8a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063e2659cf465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063e2659cf02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063e2659cf875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063e2659d9fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063e2659a230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063e265bfde76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063e26461a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063e26399b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063e26398d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063e26398c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063e26398ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063e2632dd98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063e2632e44ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063e2632e5f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078a570294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078a570326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_utf8_invalid.wasm /b/s/w/ir/x/t/emtest_v_xepwbm/emscripten_temp_gu08hds4/test_utf8_invalid_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_v_xepwbm/tmpsibxnuaglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_utf8.wasm /b/s/w/ir/x/t/emtest_fbgcyh7t/emscripten_temp_nhq7x4z0/test_utf8_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_fbgcyh7t/tmpsy4d5jx5libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utf8_invalid_textdecoder (test_core.thinltoz) ... FAIL
None
None
test_utf8_textdecoder (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000061256d017d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061256d0157b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061256d018576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000748976842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007489768969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007489768969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007489768969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000748976842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007489768287f3 abort ./stdlib/abort.c:81:7
#9 0x000074897682871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000748976839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061256fa956a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061256fa8c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061256fa94a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061256fa8b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061256fa8b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061256fa8b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061256fa95fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061256fa5e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061256fcb9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061256e6d6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061256da579f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061256da492b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061256da48523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061256da48e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061256d39998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061256d3a04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061256d3a1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000748976894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000748976926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005adef06a9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005adef06a77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005adef06aa576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ed7a3e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ed7a3e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ed7a3e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ed7a3e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ed7a3e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ed7a3e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ed7a3e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ed7a3e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005adef31276a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005adef311e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005adef3126a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005adef311d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005adef311d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005adef311d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005adef3127fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005adef30f030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005adef334be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005adef1d68910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005adef10e99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005adef10db2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005adef10da523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005adef10dae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005adef0a2b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005adef0a324ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005adef0a33f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ed7a3e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ed7a3f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_utf8_invalid.wasm /b/s/w/ir/x/t/emtest__e26e7gv/emscripten_temp_y41b1p_9/test_utf8_invalid_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__e26e7gv/tmpi6mvi8q1libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utf8_invalid_minimal_runtime_textdecoder (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_utf8_invalid.wasm /b/s/w/ir/x/t/emtest_1jj_ykun/emscripten_temp_ijfix3ce/test_utf8_invalid_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1jj_ykun/tmpx1pmh0s3libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utf8_invalid_minimal_runtime (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000065401a2c6d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000065401a2c47b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000065401a2c7576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f9986642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f99866969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f99866969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f99866969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f9986642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f99866287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f998662871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f9986639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000065401cd446a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000065401cd3b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000065401cd43a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000065401cd3a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000065401cd3a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000065401cd3a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000065401cd44fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000065401cd0d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000065401cf68e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000065401b985910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000065401ad069f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000065401acf82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000065401acf7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000065401acf7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000065401a64898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000065401a64f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000065401a650f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f9986694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f9986726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_utf8_invalid.wasm /b/s/w/ir/x/t/emtest_m72gsuuo/emscripten_temp_6s39v1ka/test_utf8_invalid_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_m72gsuuo/tmppygx6pyvlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utf8_invalid (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005bb86a48cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005bb86a48a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005bb86a48d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c3ec7842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c3ec78969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c3ec78969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c3ec78969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c3ec7842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c3ec78287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c3ec782871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c3ec7839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005bb86cf0a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005bb86cf01044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005bb86cf09a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005bb86cf00465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005bb86cf0002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005bb86cf00875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005bb86cf0afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005bb86ced330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005bb86d12ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005bb86bb4b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005bb86aecc9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005bb86aebe2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005bb86aebd523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005bb86aebde44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005bb86a80e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005bb86a8154ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005bb86a816f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c3ec7894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c3ec7926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o benchmark_utf8.wasm /b/s/w/ir/x/t/emtest_jpwn7yj9/emscripten_temp_9jb9qhbx/benchmark_utf8_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/t/emtest_jpwn7yj9/emscripten_temp_9jb9qhbx/embedded_files.o -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_jpwn7yj9/tmprm3l6yknlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utf8_bench_textdecoder (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000616529841d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061652983f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000616529842576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000716e73c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000716e73c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000716e73c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000716e73c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000716e73c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000716e73c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000716e73c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000716e73c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061652c2bf6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061652c2b6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061652c2bea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061652c2b5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061652c2b502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061652c2b5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061652c2bffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061652c28830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061652c4e3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061652af00910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061652a2819f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061652a2732b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061652a272523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061652a272e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000616529bc398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000616529bca4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000616529bcbf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000716e73c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000716e73d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o benchmark_utf8.wasm /b/s/w/ir/x/t/emtest_tjhcpok7/emscripten_temp_845wj1wv/benchmark_utf8_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/t/emtest_tjhcpok7/emscripten_temp_845wj1wv/embedded_files.o -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_tjhcpok7/tmpabsyk2felibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utf8_bench_bigint_textdecoder (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005bb6bc818d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005bb6bc8167b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005bb6bc819576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e2a51442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e2a514969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e2a514969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e2a514969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e2a51442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e2a514287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e2a5142871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e2a51439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005bb6bf2966a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005bb6bf28d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005bb6bf295a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005bb6bf28c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005bb6bf28c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005bb6bf28c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005bb6bf296fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005bb6bf25f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005bb6bf4bae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005bb6bded7910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005bb6bd2589f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005bb6bd24a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005bb6bd249523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005bb6bd249e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005bb6bcb9a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005bb6bcba14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005bb6bcba2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e2a51494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e2a51526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o benchmark_utf8.wasm /b/s/w/ir/x/t/emtest_iwwn7p84/emscripten_temp_7uxhoj5_/benchmark_utf8_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/t/emtest_iwwn7p84/emscripten_temp_7uxhoj5_/embedded_files.o -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_iwwn7p84/tmpnfbzmgnllibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utf8_bench_bigint (test_core.thinltoz) ... FAIL
#0 0x000057dd3c7e8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057dd3c7e67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057dd3c7e9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000794591242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007945912969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007945912969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007945912969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000794591242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007945912287f3 abort ./stdlib/abort.c:81:7
#9 0x000079459122871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000794591239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057dd3f2666a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057dd3f25d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057dd3f265a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057dd3f25c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057dd3f25c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057dd3f25c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057dd3f266fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057dd3f22f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057dd3f48ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057dd3dea7910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057dd3d2289f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057dd3d21a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057dd3d219523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057dd3d219e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057dd3cb6a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057dd3cb714ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057dd3cb72f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000794591294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000794591326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o benchmark_utf8.wasm /b/s/w/ir/x/t/emtest_k54bvgf5/emscripten_temp_d9wx1c9v/benchmark_utf8_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/t/emtest_k54bvgf5/emscripten_temp_d9wx1c9v/embedded_files.o -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_k54bvgf5/tmpodvfipkulibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utf8_bench (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005cee41338d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005cee413367b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005cee41339576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073aeec442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073aeec4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073aeec4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073aeec4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073aeec442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073aeec4287f3 abort ./stdlib/abort.c:81:7
#9 0x000073aeec42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073aeec439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005cee43db66a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005cee43dad044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005cee43db5a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005cee43dac465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005cee43dac02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005cee43dac875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005cee43db6fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005cee43d7f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005cee43fdae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005cee429f7910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005cee41d789f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005cee41d6a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005cee41d69523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005cee41d69e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005cee416ba98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005cee416c14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005cee416c2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073aeec494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073aeec526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_utf8.wasm /b/s/w/ir/x/t/emtest_t1327be1/emscripten_temp_ezc8ns2r/test_utf8_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_t1327be1/tmpz1v91k6tlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utf8 (test_core.thinltoz) ... FAIL
test_utf32_short_wchar_textdecoder (test_core.thinltoz) ... skipped '-fshort-wchar is not compatible with LTO (libraries would need rebuilting)'
test_utf32_short_wchar (test_core.thinltoz) ... skipped '-fshort-wchar is not compatible with LTO (libraries would need rebuilting)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005d0127172d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d01271707b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d0127173576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073f0aa842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073f0aa8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073f0aa8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073f0aa8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073f0aa842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073f0aa8287f3 abort ./stdlib/abort.c:81:7
#9 0x000073f0aa82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073f0aa839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d0129bf06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d0129be7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d0129befa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d0129be6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d0129be602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d0129be6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d0129bf0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d0129bb930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d0129e14e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d0128831910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d0127bb29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d0127ba42b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d0127ba3523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d0127ba3e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d01274f498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d01274fb4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d01274fcf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073f0aa894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073f0aa926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
system_libs:INFO: compiled 56 inputs in 19.00s
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o utf32.wasm /b/s/w/ir/x/t/emtest_fl3vv4b7/emscripten_temp_dsemyk61/utf32_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_fl3vv4b7/tmp9dd1ji1glibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utf32_textdecoder (test_core.thinltoz) ... FAIL
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc++abi-debug-noexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc++abi-debug-noexcept.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005d5360925d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d53609237b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d5360926576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078b3bde42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078b3bde969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078b3bde969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078b3bde969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078b3bde42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078b3bde287f3 abort ./stdlib/abort.c:81:7
#9 0x000078b3bde2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078b3bde39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d53633a36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d536339a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d53633a2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d5363399465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d536339902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d5363399875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d53633a3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d536336c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d53635c7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d5361fe4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d53613659f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d53613572b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d5361356523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d5361356e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d5360ca798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d5360cae4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d5360caff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078b3bde94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078b3bdf26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o utf32.wasm /b/s/w/ir/x/t/emtest_9fbu9ezr/emscripten_temp_pwbdp4ns/utf32_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9fbu9ezr/tmp5tdxncfglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utf32 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000055d2c0548d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055d2c05467b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055d2c0549576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075137f842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075137f8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075137f8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075137f8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075137f842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075137f8287f3 abort ./stdlib/abort.c:81:7
#9 0x000075137f82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075137f839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055d2c2fc66a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055d2c2fbd044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055d2c2fc5a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055d2c2fbc465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055d2c2fbc02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055d2c2fbc875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055d2c2fc6fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055d2c2f8f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055d2c31eae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055d2c1c07910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055d2c0f889f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055d2c0f7a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055d2c0f79523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055d2c0f79e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055d2c08ca98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055d2c08d14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055d2c08d2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075137f894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075137f926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_utf16.wasm /b/s/w/ir/x/t/emtest_09ar37b5/emscripten_temp_zkc6lgyy/test_utf16_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_09ar37b5/tmpkdffdpkalibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utf16_textdecoder (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000063459f3f8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063459f3f67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063459f3f9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072218fc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072218fc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072218fc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072218fc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072218fc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072218fc287f3 abort ./stdlib/abort.c:81:7
#9 0x000072218fc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072218fc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006345a1e766a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006345a1e6d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006345a1e75a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006345a1e6c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006345a1e6c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006345a1e6c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006345a1e76fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006345a1e3f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006345a209ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006345a0ab7910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063459fe389f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063459fe2a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063459fe29523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063459fe29e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063459f77a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063459f7814ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063459f782f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072218fc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072218fd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o benchmark_utf16.wasm /b/s/w/ir/x/t/emtest_gia8utru/emscripten_temp_ctk7hady/benchmark_utf16_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/t/emtest_gia8utru/emscripten_temp_ctk7hady/embedded_files.o -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_gia8utru/tmp3ft9h2idlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utf16_bench (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
system_libs:INFO: compiled 16 inputs in 4.22s
#0 0x000061ad3d2fbd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061ad3d2f97b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061ad3d2fc576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000773ddee42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000773ddee969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000773ddee969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000773ddee969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000773ddee42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000773ddee287f3 abort ./stdlib/abort.c:81:7
#9 0x0000773ddee2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000773ddee39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061ad3fd796a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061ad3fd70044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061ad3fd78a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061ad3fd6f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061ad3fd6f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061ad3fd6f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061ad3fd79fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061ad3fd4230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061ad3ff9de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061ad3e9ba910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061ad3dd3b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061ad3dd2d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061ad3dd2c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061ad3dd2ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061ad3d67d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061ad3d6844ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ldwasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
+0x1f154ed)
#27 0x000061ad3d685f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000773ddee94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000773ddef26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
cache:INFO: - ok
cache:INFO: generating system asset: sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o" for subsequent builds)
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_utf.wasm /b/s/w/ir/x/t/emtest_l9vnxkg0/emscripten_temp_s5ylpcn2/test_utf_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_l9vnxkg0/tmpki675gwzlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005bfc64661d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005bfc6465f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005bfc64662576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000752b7f842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000752b7f8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000752b7f8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000752b7f8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000752b7f842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000752b7f8287f3 abort ./stdlib/abort.c:81:7
#9 0x0000752b7f82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000752b7f839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005bfc670df6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005bfc670d6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005bfc670dea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005bfc670d5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005bfc670d502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005bfc670d5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005bfc670dffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005bfc670a830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005bfc67303e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005bfc65d20910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005bfc650a19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005bfc650932b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005bfc65092523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005bfc65092e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005bfc649e398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005bfc649ea4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005bfc649ebf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000752b7f894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000752b7f926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_utf (test_core.thinltoz) ... FAIL
test_unsigned (test_core.thinltoz) ... skipped 'is_wasm2js : tests signed vs unsigned values'
system_libs:INFO: compiled 1 inputs in 0.27s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libGL-mt-getprocaddr.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libGL-mt-getprocaddr.a" for subsequent builds)
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_utf16.wasm /b/s/w/ir/x/t/emtest_63cbs7g0/emscripten_temp_h9qhr19g/test_utf16_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_63cbs7g0/tmpqjnebibmlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_utf16 (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 4 inputs in 0.42s
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc_optz-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc_optz-mt.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000642b9afced28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000642b9afcc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000642b9afcf576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c7f4c842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c7f4c8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c7f4c8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c7f4c8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c7f4c842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c7f4c8287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c7f4c82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c7f4c839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000642b9da4c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000642b9da43044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000642b9da4ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000642b9da42465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000642b9da4202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000642b9da42875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000642b9da4cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000642b9da1530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000642b9dc70e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000642b9c68d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000642b9ba0e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000642b9ba002b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000642b9b9ff523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000642b9b9ffe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000642b9b35098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000642b9b3574ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000642b9b358f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c7f4c894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c7f4c926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
system_libs:INFO: compiled 7 inputs in 0.63s
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test.wasm /b/s/w/ir/x/t/emtest_821so5fz/emscripten_temp_v07k9cn9/test_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lc++-debug-noexcept -lc++abi-debug-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_821so5fz/tmpz4m_zkwflibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=malloc --export=free --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --max-memory=2147483648 --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005de40f2e2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005de40f2e07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005de40f2e3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007be636042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007be6360969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007be6360969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007be6360969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007be636042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007be6360287f3 abort ./stdlib/abort.c:81:7
#9 0x00007be63602871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007be636039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005de411d606a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005de411d57044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005de411d5fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005de411d56465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005de411d5602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005de411d56875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005de411d60fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005de411d2930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005de411f84e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005de4109a1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005de40fd229f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005de40fd142b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005de40fd13523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005de40fd13e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005de40f66498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005de40f66b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005de40f66cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007be636094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007be636126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_webidl_all_growth (test_core.thinltoz) ... FAIL
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc-mt.a" for subsequent builds)
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_unistd_write_broken_link.wasm /b/s/w/ir/x/t/emtest_s1zlfhsq/emscripten_temp_jingls9e/test_unistd_write_broken_link_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_s1zlfhsq/tmppbbo4lk4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005ed8038d8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ed8038d67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ed8038d9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a2a61c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a2a61c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a2a61c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a2a61c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a2a61c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a2a61c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a2a61c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a2a61c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ed8063566a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ed80634d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ed806355a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ed80634c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ed80634c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ed80634c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ed806356fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ed80631f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ed80657ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ed804f97910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ed8043189f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ed80430a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ed804309523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ed804309e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ed803c5a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ed803c614ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ed803c62f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a2a61c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a2a61d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_unistd_write_broken_link (test_core.thinltoz) ... FAIL
test_unistd_unlink_wasmfs_nodefs (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/18112'
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_unistd_write_broken_link.wasm /b/s/w/ir/x/t/emtest_fw7h8imq/emscripten_temp_ctb6yaz8/test_unistd_write_broken_link_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_fw7h8imq/tmpuuswxpyllibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_write_broken_link_rawfs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005a16ea4c2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a16ea4c07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a16ea4c3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000762a93042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000762a930969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000762a930969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000762a930969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000762a93042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000762a930287f3 abort ./stdlib/abort.c:81:7
#9 0x0000762a9302871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000762a93039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a16ecf406a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a16ecf37044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a16ecf3fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a16ecf36465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a16ecf3602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a16ecf36875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a16ecf40fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a16ecf0930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a16ed164e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a16ebb81910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a16eaf029f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a16eaef42b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a16eaef3523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a16eaef3e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a16ea84498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a16ea84b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a16ea84cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000762a93094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000762a93126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o unlink.wasm /b/s/w/ir/x/t/emtest_mvgnlwdx/emscripten_temp_ppdbr6_t/unlink_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mvgnlwdx/tmpp7xweciylibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_unlink_rawfs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005973ba542d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005973ba5407b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005973ba543576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c4564642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c45646969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c45646969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c45646969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c4564642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c45646287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c456462871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c4564639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005973bcfc06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005973bcfb7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005973bcfbfa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005973bcfb6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005973bcfb602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005973bcfb6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005973bcfc0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005973bcf8930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005973bd1e4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005973bbc01910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005973baf829f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005973baf742b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005973baf73523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005973baf73e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005973ba8c498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005973ba8cb4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005973ba8ccf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c4564694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c4564726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o unlink.wasm /b/s/w/ir/x/t/emtest_p9k4umqq/emscripten_temp_s6oi_3vs/unlink_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_p9k4umqq/tmpd14z1psxlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_unlink_nodefs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005e857fda8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e857fda67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e857fda9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c5ebc642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c5ebc6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c5ebc6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c5ebc6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c5ebc642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c5ebc6287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c5ebc62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c5ebc639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e85828266a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e858281d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e8582825a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e858281c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e858281c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e858281c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e8582826fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e85827ef30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e8582a4ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e8581467910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e85807e89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e85807da2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e85807d9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e85807d9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e858012a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e85801314ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e8580132f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c5ebc694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c5ebc726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o unlink.wasm /b/s/w/ir/x/t/emtest_5pjk414l/emscripten_temp_7212iqdz/unlink_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5pjk414l/tmpbllhtjkulibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_unlink (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 1129 inputs in 9.96s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libdlmalloc-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libdlmalloc-mt.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs in 0.67s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libcompiler_rt-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libcompiler_rt-mt.a" for subsequent builds)
system_libs:INFO: compiled 182 inputs in 2.07s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libsockets-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libsockets-mt.a" for subsequent builds)
system_libs:INFO: compiled 27 inputs in 0.85s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libwasmfs_noderawfs.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libwasmfs_noderawfs.a" for subsequent builds)
system_libs:INFO: compiled 1 inputs in 0.17s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libwasmfs_no_fs.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libwasmfs_no_fs.a" for subsequent builds)
system_libs:INFO: compiled 1 inputs in 0.17s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libwasmfs.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libwasmfs.a" for subsequent builds)
system_libs:INFO: compiled 15 inputs in 7.00s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libwasm_workers.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libwasm_workers.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs in 0.22s
cache:INFO: - ok
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
#0 0x00005eae189a0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005eae1899e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005eae189a1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000713f22c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000713f22c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000713f22c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000713f22c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000713f22c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000713f22c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000713f22c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000713f22c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005eae1b41e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005eae1b415044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005eae1b41da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005eae1b414465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005eae1b41402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005eae1b414875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005eae1b41efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005eae1b3e730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005eae1b642e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005eae1a05f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005eae193e09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005eae193d22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005eae193d1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005eae193d1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005eae18d2298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005eae18d294ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005eae18d2af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000713f22c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000713f22d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o unlink.wasm /b/s/w/ir/x/t/emtest_va9zo0wb/emscripten_temp_r_t5kbpa/unlink_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib --whole-archive -lwasmfs_noderawfs --no-whole-archive -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs_no_fs -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_va9zo0wb/tmps0fog_8mlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_unlink_wasmfs_rawfs (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test.wasm /b/s/w/ir/x/t/emtest_vqgpx0qw/emscripten_temp_0x4kb7ep/test_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lc++-debug-noexcept -lc++abi-debug-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_vqgpx0qw/tmplz9oqdgblibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=malloc --export=free --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_webidl_all (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005d73a6879d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d73a68777b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d73a687a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d326dc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d326dc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d326dc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d326dc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d326dc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d326dc287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d326dc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d326dc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d73a92f76a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d73a92ee044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d73a92f6a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d73a92ed465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d73a92ed02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d73a92ed875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d73a92f7fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d73a92c030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d73a951be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d73a7f38910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d73a72b99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d73a72ab2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d73a72aa523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d73a72aae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d73a6bfb98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d73a6c024ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d73a6c03f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d326dc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d326dd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o hello_wasm_worker.wasm /b/s/w/ir/x/t/emtest_rslb3jyi/emscripten_temp_ue5nxsz_/hello_wasm_worker_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt --whole-archive -lwasm_workers --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_rslb3jyi/tmpdnvitxkzlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export=_emscripten_wasm_worker_initialize --export=__set_thread_state --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
test_wasm_worker_hello_minimal_runtime (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o hello_wasm_worker.wasm /b/s/w/ir/x/t/emtest_ao5cyi6n/emscripten_temp_ssglgdrh/hello_wasm_worker_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt --whole-archive -lwasm_workers --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ao5cyi6n/tmpxgx7s0fylibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export=_emscripten_wasm_worker_initialize --export=__set_thread_state --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
None
None
test_wasm_worker_hello (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o malloc_wasm_worker.wasm /b/s/w/ir/x/t/emtest_vjbge19_/emscripten_temp_jc2oh3_2/malloc_wasm_worker_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt --whole-archive -lwasm_workers --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_vjbge19_/tmpjq_vu0m8libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export=_emscripten_wasm_worker_initialize --export=__set_thread_state --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005a6a1dc46d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a6a1dc447b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a6a1dc47576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078970d442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078970d4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078970d4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078970d4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078970d442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078970d4287f3 abort ./stdlib/abort.c:81:7
#9 0x000078970d42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078970d439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a6a206c46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a6a206bb044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a6a206c3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a6a206ba465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a6a206ba02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a6a206ba875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a6a206c4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a6a2068d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a6a208e8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a6a1f305910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a6a1e6869f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a6a1e6782b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a6a1e677523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a6a1e677e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a6a1dfc898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a6a1dfcf4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a6a1dfd0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078970d494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078970d526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_wasm_worker_malloc (test_core.thinltoz) ... FAIL
#0 0x00005f9dc1fccd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f9dc1fca7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f9dc1fcd576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000761fbb242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000761fbb2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000761fbb2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000761fbb2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000761fbb242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000761fbb2287f3 abort ./stdlib/abort.c:81:7
#9 0x0000761fbb22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000761fbb239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f9dc4a4a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f9dc4a41044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f9dc4a49a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f9dc4a40465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f9dc4a4002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f9dc4a40875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f9dc4a4afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f9dc4a1330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f9dc4c6ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f9dc368b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f9dc2a0c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f9dc29fe2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f9dc29fd523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f9dc29fde44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f9dc234e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f9dc23554ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f9dc2356f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000761fbb294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000761fbb326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_wait_async.wasm /b/s/w/ir/x/t/emtest_7wal8adx/emscripten_temp_sc9dvp2n/test_wait_async_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt --whole-archive -lwasm_workers --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_7wal8adx/tmpait84x15libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export=_emscripten_wasm_worker_initialize --export=__set_thread_state --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_wasm_worker_wait_async (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o truncate.wasm /b/s/w/ir/x/t/emtest_knbm1jlu/emscripten_temp_tmxw2xoh/truncate_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib --whole-archive -lwasmfs_noderawfs --no-whole-archive -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_knbm1jlu/tmp4sbramfzlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o unlink.wasm /b/s/w/ir/x/t/emtest_9pfe7x97/emscripten_temp_riuzfzpu/unlink_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs_no_fs -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9pfe7x97/tmp35mo_jlglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_truncate_wasmfs_rawfs (test_core.thinltoz) ... FAIL
None
None
test_unistd_unlink_wasmfs (test_core.thinltoz) ... FAIL
cache:INFO: generating system asset: sysroot/lib/wasm32-emscripten/thinlto/crt1.o... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1.o" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005b61869d0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b61869ce7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b61869d1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fc7f0e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007fc7f0e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007fc7f0e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007fc7f0e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007fc7f0e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007fc7f0e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007fc7f0e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007fc7f0e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b618944e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b6189445044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b618944da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b6189444465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b618944402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b6189444875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b618944efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b618941730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b6189672e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b618808f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b61874109f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b61874022b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b6187401523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b6187401e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b6186d5298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b6186d594ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b6186d5af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007fc7f0e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007fc7f0f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
system_libs:INFO: compiled 1 inputs in 0.61s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libstandalonewasm-nocatch-pure.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libstandalonewasm-nocatch-pure.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000061da0811ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061da0811c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061da0811f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000780cb3242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000780cb32969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000780cb32969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000780cb32969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000780cb3242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000780cb32287f3 abort ./stdlib/abort.c:81:7
#9 0x0000780cb322871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000780cb3239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061da0ab9c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061da0ab93044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061da0ab9ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061da0ab92465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061da0ab9202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061da0ab92875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061da0ab9cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061da0ab6530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061da0adc0e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061da097dd910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061da08b5e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061da08b502b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061da08b4f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061da08b4fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061da084a098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061da084a74ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061da084a8f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000780cb3294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000780cb3326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o truncate.wasm /b/s/w/ir/x/t/emtest_wusookxw/emscripten_temp_0dw5ffzq/truncate_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wusookxw/tmpa3xg_og3libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o truncate.wasm /b/s/w/ir/x/t/emtest_4vd557ei/emscripten_temp_ju9o4yll/truncate_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_4vd557ei/tmp1fczwe1qlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_truncate_nodefs (test_core.thinltoz) ... FAIL
#0 0x00005e92f6deed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e92f6dec7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e92f6def576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a12f7e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a12f7e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a12f7e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a12f7e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a12f7e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a12f7e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a12f7e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a12f7e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e92f986c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e92f9863044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e92f986ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e92f9862465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e92f986202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e92f9862875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e92f986cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e92f983530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e92f9a90e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e92f84ad910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e92f782e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e92f78202b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e92f781f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e92f781fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e92f717098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e92f71774ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e92f7178f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a12f7e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a12f7f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_unistd_truncate_rawfs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o truncate.wasm /b/s/w/ir/x/t/emtest_6_d_xua9/emscripten_temp_kpjxsr18/truncate_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_6_d_xua9/tmpbyu7orbllibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_truncate (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o truncate.wasm /b/s/w/ir/x/t/emtest_3ggpvgbo/emscripten_temp_2bs4c4wt/truncate_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_3ggpvgbo/tmpymbtt5aglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_node_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_truncate_wasmfs_nodefs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
#0 0x000057d819fb9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057d819fb77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057d819fba576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000070159c642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000070159c6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000070159c6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000070159c6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000070159c642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000070159c6287f3 abort ./stdlib/abort.c:81:7
#9 0x000070159c62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000070159c639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057d81ca376a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057d81ca2e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057d81ca36a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057d81ca2d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057d81ca2d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057d81ca2d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057d81ca37fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057d81ca0030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057d81cc5be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057d81b678910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057d81a9f99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057d81a9eb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057d81a9ea523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057d81a9eae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057d81a33b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057d81a3424ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057d81a343f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000070159c694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000070159c726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o truncate.wasm /b/s/w/ir/x/t/emtest_oi29mil2/emscripten_temp_5e5p_phw/truncate_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_oi29mil2/tmpk5hou78olibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_truncate_wasmfs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o sysconf.wasm /b/s/w/ir/x/t/emtest_e59csvv4/emscripten_temp__f204xkv/sysconf_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_e59csvv4/tmpvp4ildyglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_unistd_sysconf (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
system_libs:INFO: compiled 14 inputs in 1.77s
#0 0x0000607062aacd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000607062aaa7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000607062aad576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a24fa042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a24fa0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a24fa0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a24fa0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a24fa042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a24fa0287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a24fa02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a24fa039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060706552a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000607065521044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000607065529a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000607065520465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060706552002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000607065520875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060706552afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006070654f330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060706574ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060706416b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006070634ec9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006070634de2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006070634dd523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006070634dde44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000607062e2e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000607062e354ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ldPLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
+0x1f154ed)
#27 0x0000607062e36f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a24fa094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a24fa126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
cache:INFO: - ok
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o sysconf_phys_pages.wasm /b/s/w/ir/x/t/emtest_d0ubnx58/emscripten_temp_8y8ayerk/sysconf_phys_pages_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_d0ubnx58/tmp7ewjmtxzlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_sysconf_phys_pages (test_core.thinltoz) ... FAIL
#0 0x00006081e4a36d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006081e4a347b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006081e4a37576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078d13ba42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078d13ba969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078d13ba969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078d13ba969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078d13ba42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078d13ba287f3 abort ./stdlib/abort.c:81:7
#9 0x000078d13ba2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078d13ba39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006081e74b46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006081e74ab044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006081e74b3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006081e74aa465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006081e74aa02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006081e74aa875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006081e74b4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006081e747d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006081e76d8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006081e60f5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006081e54769f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006081e54682b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006081e5467523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006081e5467e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006081e4db898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006081e4dbf4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006081e4dc0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078d13ba94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078d13bb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o pipe.wasm /b/s/w/ir/x/t/emtest_5x7y8ygy/emscripten_temp_35nk9_0z/pipe_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5x7y8ygy/tmpzxwfmt3vlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_pipe_rawfs (test_core.thinltoz) ... FAIL
#0 0x000064eb7d3add28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000064eb7d3ab7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000064eb7d3ae576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007209f0242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007209f02969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007209f02969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007209f02969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007209f0242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007209f02287f3 abort ./stdlib/abort.c:81:7
#9 0x00007209f022871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007209f0239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000064eb7fe2b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000064eb7fe22044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000064eb7fe2aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000064eb7fe21465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000064eb7fe2102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000064eb7fe21875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000064eb7fe2bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000064eb7fdf430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000064eb8004fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000064eb7ea6c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000064eb7dded9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000064eb7dddf2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000064eb7ddde523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000064eb7dddee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064eb7d72f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000064eb7d7364ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000064eb7d737f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007209f0294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007209f0326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000056364e408d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056364e4067b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056364e409576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000792782442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007927824969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007927824969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007927824969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000792782442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007927824287f3 abort ./stdlib/abort.c:81:7
#9 0x000079278242871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000792782439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000563650e866a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000563650e7d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000563650e85a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000563650e7c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000563650e7c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000563650e7c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000563650e86fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000563650e4f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005636510aae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056364fac7910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056364ee489f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056364ee3a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056364ee39523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056364ee39e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056364e78a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056364e7914ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056364e792f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000792782494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000792782526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o pipe.wasm /b/s/w/ir/x/t/emtest_njzpxqoy/emscripten_temp_s2yropxp/pipe_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_njzpxqoy/tmpgok6z9lvlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_unistd_pipe (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o symlink_on_nodefs.wasm /b/s/w/ir/x/t/emtest_io3283g0/emscripten_temp_eok22z6_/symlink_on_nodefs_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_io3283g0/tmpyb2wuoujlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005d484f243d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d484f2417b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d484f244576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000773360e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000773360e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000773360e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000773360e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000773360e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000773360e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000773360e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000773360e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d4851cc16a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d4851cb8044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d4851cc0a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d4851cb7465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d4851cb702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d4851cb7875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d4851cc1fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d4851c8a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d4851ee5e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d4850902910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d484fc839f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d484fc752b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d484fc74523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d484fc74e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d484f5c598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d484f5cc4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d484f5cdf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000773360e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000773360f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_unistd_symlink_on_nodefs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o misc.wasm /b/s/w/ir/x/t/emtest_cjy2xxrx/emscripten_temp_wo61doat/misc_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cjy2xxrx/tmpl4vn5kx9libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000065318df95d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000065318df937b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000065318df96576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000725974e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000725974e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000725974e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000725974e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000725974e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000725974e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000725974e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000725974e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000653190a136a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000653190a0a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000653190a12a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000653190a09465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000653190a0902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000653190a09875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000653190a13fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006531909dc30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000653190c37e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000065318f654910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000065318e9d59f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000065318e9c72b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000065318e9c6523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000065318e9c6e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000065318e31798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000065318e31e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000065318e31ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000725974e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000725974f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_unistd_misc_nodefs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o links.wasm /b/s/w/ir/x/t/emtest_e2_f6s5c/emscripten_temp_t5j1ks9m/links_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_e2_f6s5c/tmp9njslg_zlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000065311b894d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000065311b8927b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000065311b895576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000746614642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007466146969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007466146969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007466146969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000746614642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007466146287f3 abort ./stdlib/abort.c:81:7
#9 0x000074661462871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000746614639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000065311e3126a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000065311e309044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000065311e311a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000065311e308465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000065311e30802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000065311e308875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000065311e312fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000065311e2db30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000065311e536e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000065311cf53910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000065311c2d49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000065311c2c62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000065311c2c5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000065311c2c5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000065311bc1698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000065311bc1d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000065311bc1ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000746614694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000746614726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_unistd_links_nodefs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o misc.wasm /b/s/w/ir/x/t/emtest_igrd02b9/emscripten_temp_e2rkwrb_/misc_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_igrd02b9/tmpofm862kzlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x0000608c1663ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000608c1663c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000608c1663f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007553a3842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007553a38969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007553a38969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007553a38969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007553a3842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007553a38287f3 abort ./stdlib/abort.c:81:7
#9 0x00007553a382871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007553a3839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000608c190bc6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000608c190b3044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000608c190bba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000608c190b2465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000608c190b202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000608c190b2875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000608c190bcfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000608c1908530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000608c192e0e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000608c17cfd910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000608c1707e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000608c170702b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000608c1706f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000608c1706fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000608c169c098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000608c169c74ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000608c169c8f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007553a3894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007553a3926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_unistd_misc (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o links.wasm /b/s/w/ir/x/t/emtest_sa5ne_n9/emscripten_temp_658f6wo7/links_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_sa5ne_n9/tmphehuvnv9libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_links (test_core.thinltoz) ... FAIL
#0 0x0000605efe098d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000605efe0967b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000605efe099576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000720ac2242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000720ac22969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000720ac22969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000720ac22969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000720ac2242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000720ac22287f3 abort ./stdlib/abort.c:81:7
#9 0x0000720ac222871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000720ac2239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000605f00b166a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000605f00b0d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000605f00b15a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000605f00b0c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000605f00b0c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000605f00b0c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000605f00b16fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000605f00adf30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000605f00d3ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000605eff757910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000605efead89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000605efeaca2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000605efeac9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000605efeac9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000605efe41a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000605efe4214ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000605efe422f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000720ac2294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000720ac2326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o io.wasm /b/s/w/ir/x/t/emtest_y7y_5jgv/emscripten_temp_yoj63j6c/io_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_y7y_5jgv/tmpmf79zuzolibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_io_nodefs_bigint (test_core.thinltoz) ... FAIL
#0 0x00005a2e556a0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a2e5569e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a2e556a1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000701ac8a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000701ac8a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000701ac8a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000701ac8a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000701ac8a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000701ac8a287f3 abort ./stdlib/abort.c:81:7
#9 0x0000701ac8a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000701ac8a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a2e5811e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a2e58115044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a2e5811da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a2e58114465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a2e5811402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a2e58114875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a2e5811efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a2e580e730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a2e58342e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a2e56d5f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a2e560e09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a2e560d22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a2e560d1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a2e560d1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a2e55a2298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a2e55a294ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a2e55a2af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000701ac8a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000701ac8b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000645c8d189d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000645c8d1877b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000645c8d18a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000767adc242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000767adc2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000767adc2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000767adc2969fc pthread_kill ./nptl/pthread_kill.c:89:10
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
#7 0x0000767adc242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000767adc2287f3 abort ./stdlib/abort.c:81:7
#9 0x0000767adc22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
0x0000767adc239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000645c8fc076a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000645c8fbfe044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000645c8fc06a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000645c8fbfd465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000645c8fbfd02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000645c8fbfd875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000645c8fc07fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000645c8fbd030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000645c8fe2be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000645c8e848910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000645c8dbc99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000645c8dbbb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000645c8dbba523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000645c8dbbae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000645c8d50b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000645c8d5124ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000645c8d513f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000767adc294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000767adc326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o io.wasm /b/s/w/ir/x/t/emtest_1_5efphx/emscripten_temp_y26fdi87/io_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1_5efphx/tmpt8sn3vbflibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_io_nodefs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o io.wasm /b/s/w/ir/x/t/emtest_sfprphfb/emscripten_temp_d1986y27/io_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_sfprphfb/tmpqvhq5n5klibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_unistd_io_bigint (test_core.thinltoz) ... FAIL
#0 0x000063e8e9494d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063e8e94927b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063e8e9495576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007467f8442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007467f84969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007467f84969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007467f84969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007467f8442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007467f84287f3 abort ./stdlib/abort.c:81:7
#9 0x00007467f842871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007467f8439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063e8ebf126a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063e8ebf09044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063e8ebf11a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063e8ebf08465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063e8ebf0802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063e8ebf08875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063e8ebf12fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063e8ebedb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063e8ec136e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063e8eab53910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063e8e9ed49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063e8e9ec62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063e8e9ec5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063e8e9ec5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063e8e981698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063e8e981d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063e8e981ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007467f8494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007467f8526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o io.wasm /b/s/w/ir/x/t/emtest_f9xa9_zu/emscripten_temp_v4nn3j_9/io_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_f9xa9_zu/tmpyscipc9nlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_io (test_core.thinltoz) ... FAIL
#0 0x000055571b3c3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055571b3c17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055571b3c4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a5b80c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a5b80c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a5b80c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a5b80c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a5b80c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a5b80c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a5b80c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a5b80c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055571de416a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055571de38044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055571de40a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055571de37465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055571de3702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055571de37875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055571de41fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055571de0a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055571e065e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055571ca82910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055571be039f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055571bdf52b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055571bdf4523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055571bdf4e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055571b74598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055571b74c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055571b74df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a5b80c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a5b80d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000064369cd9bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000064369cd997b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000064369cd9c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079fc1e842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079fc1e8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000079fc1e8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000079fc1e8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000079fc1e842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000079fc1e8287f3 abort ./stdlib/abort.c:81:7
#9 0x000079fc1e82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000079fc1e839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000064369f8196a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000064369f810044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000064369f818a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000064369f80f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000064369f80f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000064369f80f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000064369f819fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000064369f7e230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000064369fa3de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000064369e45a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000064369d7db9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000064369d7cd2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000064369d7cc523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000064369d7cce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064369d11d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000064369d1244ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000064369d125f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000079fc1e894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000079fc1e926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o fsync_stdout.wasm /b/s/w/ir/x/t/emtest_s69wfold/emscripten_temp_wuxdayy_/fsync_stdout_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_s69wfold/tmp4zmyy4cblibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000061258b816d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061258b8147b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061258b817576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ae890442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ae8904969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ae8904969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ae8904969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ae890442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ae8904287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ae89042871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ae890439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061258e2946a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061258e28b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061258e293a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061258e28a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061258e28a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061258e28a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061258e294fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061258e25d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061258e4b8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061258ced5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061258c2569f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061258c2482b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061258c247523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061258c247e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061258bb9898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061258bb9f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061258bba0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ae890494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ae890526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_unistd_fsync_stdout (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o dup.wasm /b/s/w/ir/x/t/emtest_g3xh64ii/emscripten_temp_qg6xpdpw/dup_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_g3xh64ii/tmp0xwuifvilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_dup_rawfs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o dup.wasm /b/s/w/ir/x/t/emtest_975pvlyy/emscripten_temp_i0fi2b9k/dup_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_975pvlyy/tmp1ij3hil5libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000064bd41ed1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000064bd41ecf7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000064bd41ed2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d6b1d442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d6b1d4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d6b1d4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d6b1d4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d6b1d442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d6b1d4287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d6b1d42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d6b1d439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000064bd4494f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000064bd44946044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000064bd4494ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000064bd44945465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000064bd4494502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000064bd44945875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000064bd4494ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000064bd4491830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000064bd44b73e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000064bd43590910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000064bd429119f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000064bd429032b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000064bd42902523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000064bd42902e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064bd4225398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000064bd4225a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000064bd4225bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d6b1d494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d6b1d526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_unistd_dup (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o curdir.wasm /b/s/w/ir/x/t/emtest__0c9fn2_/emscripten_temp_6tqdpawz/curdir_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__0c9fn2_/tmps212tm1jlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_curdir (test_core.thinltoz) ... FAIL
#0 0x00005dc820462d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005dc8204607b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005dc820463576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075137dc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075137dc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075137dc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075137dc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075137dc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075137dc287f3 abort ./stdlib/abort.c:81:7
#9 0x000075137dc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075137dc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005dc822ee06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005dc822ed7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005dc822edfa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005dc822ed6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005dc822ed602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005dc822ed6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005dc822ee0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005dc822ea930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005dc823104e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005dc821b21910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005dc820ea29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005dc820e942b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005dc820e93523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005dc820e93e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005dc8207e498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005dc8207eb4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005dc8207ecf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075137dc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075137dd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000556516b68d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000556516b667b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000556516b69576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ff4cc042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ff4cc0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ff4cc0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ff4cc0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ff4cc042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ff4cc0287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ff4cc02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ff4cc039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005565195e66a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005565195dd044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005565195e5a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005565195dc465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005565195dc02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005565195dc875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005565195e6fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005565195af30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055651980ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000556518227910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005565175a89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055651759a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000556517599523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000556517599e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000556516eea98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000556516ef14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000556516ef2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ff4cc094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ff4cc126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o close.wasm /b/s/w/ir/x/t/emtest_278731we/emscripten_temp_mmgifznh/close_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_278731we/tmps7l9cg8_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o close.wasm /b/s/w/ir/x/t/emtest_qwfxsnxh/emscripten_temp_fozwm9sd/close_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_qwfxsnxh/tmpru9_8kpslibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_close (test_core.thinltoz) ... FAIL
None
None
test_unistd_close_rawfs (test_core.thinltoz) ... FAIL
env_modify: {'LC_ALL': 'latin-1', 'PYTHONUTF8': '0', 'PYTHONCOERCECLOCALE': '0'}
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
common:WARNING: no wasm engine was found to run the standalone part of this test
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o access.wasm /b/s/w/ir/x/t/emtest_dgbchc17/emscripten_temp_e0nkul6a/access_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib --whole-archive -lwasmfs_noderawfs --no-whole-archive -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_dgbchc17/tmpej0gye_0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_access_wasmfs_rawfs (test_core.thinltoz) ... FAIL
#0 0x00005f0b18c9bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f0b18c997b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f0b18c9c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078415b242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078415b2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078415b2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078415b2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078415b242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078415b2287f3 abort ./stdlib/abort.c:81:7
#9 0x000078415b22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078415b239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f0b1b7196a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f0b1b710044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f0b1b718a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f0b1b70f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f0b1b70f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f0b1b70f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f0b1b719fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f0b1b6e230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f0b1b93de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f0b1a35a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f0b196db9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f0b196cd2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f0b196cc523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f0b196cce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f0b1901d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f0b190244ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f0b19025f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078415b294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078415b326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o access.wasm /b/s/w/ir/x/t/emtest_4cs4tpz_/emscripten_temp_lche0o6t/access_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_4cs4tpz_/tmpblurpnw3libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_node_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x0000645fcc45bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000645fcc4597b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000645fcc45c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d0b8a242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d0b8a2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d0b8a2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d0b8a2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d0b8a242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d0b8a2287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d0b8a22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d0b8a239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000645fceed96a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000645fceed0044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000645fceed8a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000645fceecf465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000645fceecf02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000645fceecf875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000645fceed9fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000645fceea230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000645fcf0fde76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000645fcdb1a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000645fcce9b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000645fcce8d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000645fcce8c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000645fcce8ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000645fcc7dd98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000645fcc7e44ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000645fcc7e5f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d0b8a294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d0b8a326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_unistd_sysconf_standalone (test_core.thinltoz) ... ok (9.86s)
None
None
test_unistd_access_wasmfs_nodefs (test_core.thinltoz) ... FAIL
#0 0x000063d3f5b37d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063d3f5b357b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063d3f5b38576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e3449a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e3449a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e3449a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e3449a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e3449a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e3449a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e3449a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e3449a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063d3f85b56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063d3f85ac044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063d3f85b4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063d3f85ab465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063d3f85ab02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063d3f85ab875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063d3f85b5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063d3f857e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063d3f87d9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063d3f71f6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063d3f65779f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063d3f65692b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063d3f6568523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063d3f6568e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063d3f5eb998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063d3f5ec04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063d3f5ec1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e3449a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e3449b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o access.wasm /b/s/w/ir/x/t/emtest_zktnytjf/emscripten_temp_39csqgr2/access_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_zktnytjf/tmpcm0lphhmlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o access.wasm /b/s/w/ir/x/t/emtest_chibv2x3/emscripten_temp_qhvbdb4i/access_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_chibv2x3/tmp519r3j5qlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_access_nodefs (test_core.thinltoz) ... FAIL
None
None
test_unistd_access_rawfs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o access.wasm /b/s/w/ir/x/t/emtest_l0q4_q_m/emscripten_temp_rl2wmx84/access_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_l0q4_q_m/tmpzz1i76idlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x0000583e4451cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000583e4451a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000583e4451d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ff934c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ff934c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ff934c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ff934c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ff934c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ff934c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ff934c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ff934c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000583e46f9a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000583e46f91044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000583e46f99a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000583e46f90465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000583e46f9002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000583e46f90875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000583e46f9afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000583e46f6330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000583e471bee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000583e45bdb910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000583e44f5c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000583e44f4e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000583e44f4d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000583e44f4de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000583e4489e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000583e448a54ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000583e448a6f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ff934c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ff934d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_unistd_access_wasmfs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o access.wasm /b/s/w/ir/x/t/emtest_17tqtipp/emscripten_temp_l41glw7v/access_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_17tqtipp/tmp1hnc545alibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unistd_access (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000646ea26a3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000646ea26a17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000646ea26a4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000705a69242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000705a692969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000705a692969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000705a692969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000705a69242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000705a692287f3 abort ./stdlib/abort.c:81:7
#9 0x0000705a6922871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000705a69239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000646ea51216a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000646ea5118044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000646ea5120a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000646ea5117465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000646ea511702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000646ea5117875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000646ea5121fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000646ea50ea30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000646ea5345e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000646ea3d62910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000646ea30e39f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000646ea30d52b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000646ea30d4523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000646ea30d4e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000646ea2a2598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000646ea2a2c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000646ea2a2df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000705a69294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000705a69326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_unicode_js_library.wasm /b/s/w/ir/x/t/emtest_6a3vwcgg/emscripten_temp_hhtbzb56/test_unicode_js_library_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_6a3vwcgg/tmp32mpjnp0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
cache:INFO: generating system asset: sysroot/lib/wasm32-emscripten/thinlto/crt1_reactor.o... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_reactor.o" for subsequent builds)
None
None
test_unicode_js_library (test_core.thinltoz) ... FAIL
#0 0x00005ace3931fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ace3931d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ace39320576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071dbf9e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071dbf9e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071dbf9e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071dbf9e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071dbf9e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071dbf9e287f3 abort ./stdlib/abort.c:81:7
#9 0x000071dbf9e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071dbf9e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ace3bd9d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ace3bd94044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ace3bd9ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ace3bd93465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ace3bd9302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ace3bd93875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ace3bd9dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ace3bd6630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ace3bfc1e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ace3a9de910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ace39d5f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ace39d512b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ace39d50523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ace39d50e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ace396a198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ace396a84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ace396a9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071dbf9e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071dbf9f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005c8f58cd3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c8f58cd17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c8f58cd4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d438a242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d438a2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d438a2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d438a2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d438a242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d438a2287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d438a22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d438a239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c8f5b7516a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c8f5b748044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c8f5b750a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c8f5b747465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c8f5b74702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c8f5b747875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c8f5b751fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c8f5b71a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c8f5b975e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c8f5a392910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c8f597139f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c8f597052b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c8f59704523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c8f59704e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c8f5905598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c8f5905c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c8f5905df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d438a294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d438a326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000587d9b240d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000587d9b23e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000587d9b241576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ddf34642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ddf346969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ddf346969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ddf346969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ddf34642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ddf346287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ddf3462871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ddf34639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000587d9dcbe6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000587d9dcb5044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000587d9dcbda48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000587d9dcb4465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000587d9dcb402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000587d9dcb4875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000587d9dcbefbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000587d9dc8730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000587d9dee2e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000587d9c8ff910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000587d9bc809f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000587d9bc722b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000587d9bc71523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000587d9bc71e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000587d9b5c298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000587d9b5c94ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000587d9b5caf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ddf34694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ddf34726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
system_libs:INFO: compiled 1 inputs in 0.47s
cache:INFO: - ok
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ctors_no_main.wasm /b/s/w/ir/x/t/emtest_sfwk2ece/emscripten_temp_h6kx62z4/test_ctors_no_main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_sfwk2ece/tmp77qepod_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_undefined_main (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_uname.wasm /b/s/w/ir/x/t/emtest_wjnbfl20/emscripten_temp_cpo1qgfp/test_uname_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wjnbfl20/tmpa5iabys3libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libubsan_rt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libubsan_rt.a" for subsequent builds)
None
None
test_uname (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_unary_literal.wasm /b/s/w/ir/x/t/emtest_2chxjt0s/emscripten_temp_fzxgusxq/test_unary_literal_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_2chxjt0s/tmpi7za_f2elibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_unary_literal (test_core.thinltoz) ... FAIL
#0 0x000062a903435d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000062a9034337b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000062a903436576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a9cbbc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a9cbbc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a9cbbc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a9cbbc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a9cbbc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a9cbbc287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a9cbbc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a9cbbc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062a905eb36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062a905eaa044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062a905eb2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062a905ea9465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062a905ea902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062a905ea9875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062a905eb3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062a905e7c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062a9060d7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062a904af4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062a903e759f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062a903e672b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062a903e66523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062a903e66e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062a9037b798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062a9037be4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062a9037bff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a9cbbc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a9cbbd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ctors_no_main.wasm /b/s/w/ir/x/t/emtest_1u46da8v/emscripten_temp_9g_a3fn_/test_ctors_no_main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1u46da8v/tmpkxe_r6uolibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_undefined_main_explicit (test_core.thinltoz) ... FAIL
test_undefined_main_standalone (test_core.thinltoz) ... ok (4.00s)
test_undefined_main_wasm_output (test_core.thinltoz) ... ok (4.18s)
common:WARNING: no wasm engine was found to run the standalone part of this test
system_libs:INFO: compiled 14 inputs in 2.90s
test_undefined_main_explicit_standalone (test_core.thinltoz) ... ok (5.66s)
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libsanitizer_common_rt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libsanitizer_common_rt.a" for subsequent builds)
system_libs:INFO: compiled 81 inputs in 3.96s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libubsan_minimal_rt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libubsan_minimal_rt.a" for subsequent builds)
system_libs:INFO: compiled 1 inputs in 0.27s
cache:INFO: - ok
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005cb9aabd0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005cb9aabce7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005cb9aabd1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074f018c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074f018c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074f018c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074f018c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074f018c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074f018c287f3 abort ./stdlib/abort.c:81:7
#9 0x000074f018c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074f018c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005cb9ad64e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005cb9ad645044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005cb9ad64da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005cb9ad644465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005cb9ad64402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005cb9ad644875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005cb9ad64efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005cb9ad61730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005cb9ad872e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005cb9ac28f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005cb9ab6109f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005cb9ab6022b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005cb9ab601523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005cb9ab601e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005cb9aaf5298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005cb9aaf594ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005cb9aaf5af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074f018c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074f018d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_mzxpe0r0/emscripten_temp_v8xm9hfi/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lubsan_rt -lsanitizer_common_rt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mzxpe0r0/tmpv56_05uplibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=malloc --export=calloc --export=memalign --export=free --export=emscripten_builtin_malloc --export=emscripten_builtin_calloc --export=emscripten_builtin_memalign --export=emscripten_builtin_free --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_ubsan_typeinfo_eq (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00006547433aed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006547433ac7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006547433af576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000780e9a042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000780e9a0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000780e9a0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000780e9a0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000780e9a042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000780e9a0287f3 abort ./stdlib/abort.c:81:7
#9 0x0000780e9a02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000780e9a039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000654745e2c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000654745e23044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000654745e2ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000654745e22465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000654745e2202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000654745e22875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000654745e2cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000654745df530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000654746050e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000654744a6d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000654743dee9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000654743de02b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000654743ddf523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000654743ddfe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000065474373098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006547437374ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000654743738f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000780e9a094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000780e9a126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ubsan_minimal_too_many_errors.wasm /b/s/w/ir/x/t/emtest_ld99_1_e/emscripten_temp_itfhgpua/test_ubsan_minimal_too_many_errors_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++abi-noexcept -lsockets -lubsan_minimal_rt -lsanitizer_common_rt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ld99_1_e/tmp43qxy2czlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=malloc --export=calloc --export=memalign --export=free --export=emscripten_builtin_malloc --export=emscripten_builtin_calloc --export=emscripten_builtin_memalign --export=emscripten_builtin_free --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005c662d990d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c662d98e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c662d991576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000768516c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000768516c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000768516c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000768516c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000768516c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000768516c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000768516c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000768516c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c663040e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c6630405044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c663040da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c6630404465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c663040402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c6630404875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c663040efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c66303d730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c6630632e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c662f04f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c662e3d09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c662e3c22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c662e3c1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c662e3c1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c662dd1298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c662dd194ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c662dd1af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000768516c94ac3 start_thread None
None
test_ubsan_minimal_too_many_errors (test_core.thinltoz) ... FAIL
test_ubsan_full_null_ref_fsanitize_null (test_core.thinltoz) ... ERROR
./nptl/pthread_create.c:442:8
#29 0x0000768516d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000061a0b3928d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061a0b39267b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061a0b3929576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007add12a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007add12a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007add12a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007add12a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007add12a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007add12a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007add12a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007add12a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061a0b63a66a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061a0b639d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061a0b63a5a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061a0b639c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061a0b639c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061a0b639c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061a0b63a6fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061a0b636f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061a0b65cae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061a0b4fe7910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061a0b43689f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061a0b435a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061a0b4359523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061a0b4359e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061a0b3caa98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061a0b3cb14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061a0b3cb2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007add12a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007add12b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005fdf6d567d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005fdf6d5657b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005fdf6d568576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074e079242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074e0792969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074e0792969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074e0792969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074e079242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074e0792287f3 abort ./stdlib/abort.c:81:7
#9 0x000074e07922871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074e079239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005fdf6ffe56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005fdf6ffdc044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005fdf6ffe4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005fdf6ffdb465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005fdf6ffdb02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005fdf6ffdb875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005fdf6ffe5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005fdf6ffae30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005fdf70209e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005fdf6ec26910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005fdf6dfa79f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005fdf6df992b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005fdf6df98523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005fdf6df98e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005fdf6d8e998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005fdf6d8f04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005fdf6d8f1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074e079294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074e079326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00006120e4b57d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006120e4b557b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006120e4b58576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e2cff642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e2cff6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e2cff6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e2cff6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e2cff642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e2cff6287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e2cff62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e2cff639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006120e75d56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006120e75cc044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006120e75d4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006120e75cb465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006120e75cb02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006120e75cb875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006120e75d5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006120e759e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006120e77f9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006120e6216910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006120e55979f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006120e55892b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006120e5588523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006120e5588e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006120e4ed998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006120e4ee04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006120e4ee1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e2cff694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e2cff726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ubsan_minimal_errors_same_place.wasm /b/s/w/ir/x/t/emtest_tdo4j3be/emscripten_temp_0y9p10gy/test_ubsan_minimal_errors_same_place_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++abi-noexcept -lsockets -lubsan_minimal_rt -lsanitizer_common_rt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_tdo4j3be/tmp_2xp_e7olibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=malloc --export=calloc --export=memalign --export=free --export=emscripten_builtin_malloc --export=emscripten_builtin_calloc --export=emscripten_builtin_memalign --export=emscripten_builtin_free --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00006227a1d1bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006227a1d197b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006227a1d1c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000766de7042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000766de70969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000766de70969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000766de70969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000766de7042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000766de70287f3 abort ./stdlib/abort.c:81:7
#9 0x0000766de702871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000766de7039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006227a47996a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006227a4790044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006227a4798a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006227a478f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006227a478f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006227a478f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006227a4799fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006227a476230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006227a49bde76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006227a33da910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006227a275b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006227a274d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006227a274c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006227a274ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006227a209d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006227a20a44ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006227a20a5f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000766de7094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000766de7126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_ubsan_minimal_errors_same_place (test_core.thinltoz) ... FAIL
#0 0x00006253e0490d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006253e048e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006253e0491576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000797b5f042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000797b5f0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000797b5f0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000797b5f0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000797b5f042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000797b5f0287f3 abort ./stdlib/abort.c:81:7
#9 0x0000797b5f02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000797b5f039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006253e2f0e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006253e2f05044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006253e2f0da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006253e2f04465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006253e2f0402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006253e2f04875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006253e2f0efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006253e2ed730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006253e3132e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006253e1b4f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006253e0ed09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006253e0ec22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006253e0ec1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006253e0ec1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006253e081298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006253e08194ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006253e081af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000797b5f094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000797b5f126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ubsan_full_null_ref.wasm /b/s/w/ir/x/t/emtest_2shf8ulh/emscripten_temp_mli3xfjf/test_ubsan_full_null_ref_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lubsan_rt -lsanitizer_common_rt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_2shf8ulh/tmpl9q2mqc6libemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=malloc --export=calloc --export=memalign --export=free --export=emscripten_builtin_malloc --export=emscripten_builtin_calloc --export=emscripten_builtin_memalign --export=emscripten_builtin_free --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --max-memory=2147483648 --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libGL-getprocaddr.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libGL-getprocaddr.a" for subsequent builds)
None
None
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ubsan_full_overflow.wasm /b/s/w/ir/x/t/emtest_l4ll5tcj/emscripten_temp_x0zn9go9/test_ubsan_full_overflow_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++abi-noexcept -lsockets -lubsan_rt -lsanitizer_common_rt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_l4ll5tcj/tmpfjt8d2_4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=malloc --export=calloc --export=memalign --export=free --export=emscripten_builtin_malloc --export=emscripten_builtin_calloc --export=emscripten_builtin_memalign --export=emscripten_builtin_free --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
test_ubsan_full_stack_trace_g (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ubsan_full_overflow.wasm /b/s/w/ir/x/t/emtest_g74gtp21/emscripten_temp_ohdyavga/test_ubsan_full_overflow_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++abi-noexcept -lsockets -lubsan_rt -lsanitizer_common_rt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_g74gtp21/tmp947q6pjvlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=malloc --export=calloc --export=memalign --export=free --export=emscripten_builtin_malloc --export=emscripten_builtin_calloc --export=emscripten_builtin_memalign --export=emscripten_builtin_free --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ubsan_full_overflow.wasm /b/s/w/ir/x/t/emtest_mdmkf_6q/emscripten_temp_ikeelwnh/test_ubsan_full_overflow_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++abi-noexcept -lsockets -lubsan_rt -lsanitizer_common_rt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mdmkf_6q/tmpe9784jdqlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=malloc --export=calloc --export=memalign --export=free --export=emscripten_builtin_malloc --export=emscripten_builtin_calloc --export=emscripten_builtin_memalign --export=emscripten_builtin_free --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
None
None
test_ubsan_full_overflow_fsanitize_undefined (test_core.thinltoz) ... FAIL
test_ubsan_full_overflow_fsanitize_overflow (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ubsan_full_null_ref.wasm /b/s/w/ir/x/t/emtest_j_w11oyv/emscripten_temp_hdpbslv7/test_ubsan_full_null_ref_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lubsan_rt -lsanitizer_common_rt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_j_w11oyv/tmp3zjfo9bzlibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=malloc --export=calloc --export=memalign --export=free --export=emscripten_builtin_malloc --export=emscripten_builtin_calloc --export=emscripten_builtin_memalign --export=emscripten_builtin_free --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --max-memory=2147483648 --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_ubsan_full_overflow_fsanitize_integer (test_core.thinltoz) ... FAIL
None
None
test_ubsan_full_stack_trace_g4 (test_core.thinltoz) ... FAIL
#0 0x00005f2b09925d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f2b099237b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f2b09926576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007aa3bdc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007aa3bdc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007aa3bdc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007aa3bdc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007aa3bdc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007aa3bdc287f3 abort ./stdlib/abort.c:81:7
#9 0x00007aa3bdc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007aa3bdc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f2b0c3a36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f2b0c39a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f2b0c3a2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f2b0c399465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f2b0c39902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f2b0c399875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f2b0c3a3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f2b0c36c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f2b0c5c7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f2b0afe4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f2b0a3659f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f2b0a3572b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f2b0a356523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f2b0a356e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f2b09ca798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f2b09cae4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f2b09caff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007aa3bdc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007aa3bdd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ubsan_full_null_ref.wasm /b/s/w/ir/x/t/emtest_fk2iatmc/emscripten_temp_18f_7c08/test_ubsan_full_null_ref_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lubsan_rt -lsanitizer_common_rt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_fk2iatmc/tmpbyrtu04ylibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=malloc --export=calloc --export=memalign --export=free --export=emscripten_builtin_malloc --export=emscripten_builtin_calloc --export=emscripten_builtin_memalign --export=emscripten_builtin_free --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
system_libs:INFO: compiled 4 inputs in 0.86s
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_ubsan_full_null_ref_fsanitize_undefined (test_core.thinltoz) ... FAIL
test_trivial_struct_varargs (test_core.thinltoz) ... skipped 'is_wasm2js : tests va_arg()'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libal.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libal.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005a3acffb1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a3acffaf7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a3acffb2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000742fa8a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000742fa8a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000742fa8a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000742fa8a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000742fa8a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000742fa8a287f3 abort ./stdlib/abort.c:81:7
#9 0x0000742fa8a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000742fa8a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a3ad2a2f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a3ad2a26044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a3ad2a2ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a3ad2a25465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a3ad2a2502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a3ad2a25875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a3ad2a2ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a3ad29f830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a3ad2c53e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a3ad1670910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a3ad09f19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a3ad09e32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a3ad09e2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a3ad09e2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a3ad033398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a3ad033a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a3ad033bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000742fa8a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000742fa8b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00006317415c7d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006317415c57b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006317415c8576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000746ec5842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000746ec58969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000746ec58969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000746ec58969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000746ec5842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000746ec58287f3 abort ./stdlib/abort.c:81:7
#9 0x0000746ec582871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000746ec5839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006317440456a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063174403c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000631744044a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063174403b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063174403b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063174403b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000631744045fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063174400e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000631744269e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000631742c86910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006317420079f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000631741ff92b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000631741ff8523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000631741ff8e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063174194998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006317419504ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000631741951f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000746ec5894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000746ec5926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ubsan_full_left_shift.wasm /b/s/w/ir/x/t/emtest_v8e52hcr/emscripten_temp_v8eiyon8/test_ubsan_full_left_shift_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++abi-noexcept -lsockets -lubsan_rt -lsanitizer_common_rt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_v8e52hcr/tmp7hy_dh1slibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=malloc --export=calloc --export=memalign --export=free --export=emscripten_builtin_malloc --export=emscripten_builtin_calloc --export=emscripten_builtin_memalign --export=emscripten_builtin_free --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_ubsan_full_left_shift_fsanitize_shift (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 1 inputs in 0.73s
#0 0x0000639d59334d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000639d593327b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000639d59335576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e4c4e042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e4c4e0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e4c4e0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e4c4e0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e4c4e042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e4c4e0287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e4c4e02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e4c4e039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000639d5bdb26a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000639d5bda9044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000639d5bdb1a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000639d5bda8465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000639d5bda802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000639d5bda8875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000639d5bdb2fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000639d5bd7b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000639d5bfd6e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000639d5a9f3910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000639d59d749f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000639d59d662b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000639d59d65523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000639d59d65e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000639d596b698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000639d596bd4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000639d596bef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e4c4e094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e4c4e126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ubsan_full_no_return.wasm /b/s/w/ir/x/t/emtest_8g6ic3pf/emscripten_temp_yspxhf8h/test_ubsan_full_no_return_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lubsan_rt -lsanitizer_common_rt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8g6ic3pf/tmpdl069jaxlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=malloc --export=calloc --export=memalign --export=free --export=emscripten_builtin_malloc --export=emscripten_builtin_calloc --export=emscripten_builtin_memalign --export=emscripten_builtin_free --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005da597982d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005da5979807b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005da597983576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000746f63442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000746f634969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000746f634969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000746f634969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000746f63442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000746f634287f3 abort ./stdlib/abort.c:81:7
#9 0x0000746f6342871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000746f63439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005da59a4006a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005da59a3f7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005da59a3ffa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005da59a3f6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005da59a3f602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005da59a3f6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005da59a400fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005da59a3c930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005da59a624e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005da599041910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005da5983c29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005da5983b42b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005da5983b3523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005da5983b3e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005da597d0498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005da597d0b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005da597d0cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000746f63494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000746f63526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_ubsan_full_no_return_fsanitize_undefined (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libhtml5.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libhtml5.a" for subsequent builds)
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ubsan_full_no_return.wasm /b/s/w/ir/x/t/emtest_9911l8ln/emscripten_temp_td61q2fz/test_ubsan_full_no_return_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lubsan_rt -lsanitizer_common_rt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9911l8ln/tmp6c9hx0xclibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=malloc --export=calloc --export=memalign --export=free --export=emscripten_builtin_malloc --export=emscripten_builtin_calloc --export=emscripten_builtin_memalign --export=emscripten_builtin_free --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000577c092d0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000577c092ce7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000577c092d1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000751aa4c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000751aa4c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000751aa4c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000751aa4c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000751aa4c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000751aa4c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000751aa4c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000751aa4c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000577c0bd4e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000577c0bd45044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000577c0bd4da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000577c0bd44465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000577c0bd4402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000577c0bd44875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000577c0bd4efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000577c0bd1730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000577c0bf72e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000577c0a98f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000577c09d109f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000577c09d022b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000577c09d01523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000577c09d01e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000577c0965298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000577c096594ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000577c0965af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000751aa4c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000751aa4d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ubsan_full_left_shift.wasm /b/s/w/ir/x/t/emtest_xbm6na5j/emscripten_temp_epm3ujxf/test_ubsan_full_left_shift_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++abi-noexcept -lsockets -lubsan_rt -lsanitizer_common_rt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xbm6na5j/tmpoo_g4bf6libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=malloc --export=calloc --export=memalign --export=free --export=emscripten_builtin_malloc --export=emscripten_builtin_calloc --export=emscripten_builtin_memalign --export=emscripten_builtin_free --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_ubsan_full_no_return_fsanitize_return (test_core.thinltoz) ... FAIL
None
None
test_ubsan_full_left_shift_fsanitize_undefined (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ubsan_full_left_shift.wasm /b/s/w/ir/x/t/emtest_kv0hk2kq/emscripten_temp_rflj6uss/test_ubsan_full_left_shift_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++abi-noexcept -lsockets -lubsan_rt -lsanitizer_common_rt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_kv0hk2kq/tmpeov_4j9mlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=malloc --export=calloc --export=memalign --export=free --export=emscripten_builtin_malloc --export=emscripten_builtin_calloc --export=emscripten_builtin_memalign --export=emscripten_builtin_free --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_ubsan_full_left_shift_fsanitize_integer (test_core.thinltoz) ... FAIL
#0 0x0000616a98383d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000616a983817b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000616a98384576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007382bfe42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007382bfe969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007382bfe969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007382bfe969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007382bfe42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007382bfe287f3 abort ./stdlib/abort.c:81:7
#9 0x00007382bfe2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007382bfe39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000616a9ae016a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000616a9adf8044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000616a9ae00a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000616a9adf7465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000616a9adf702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000616a9adf7875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000616a9ae01fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000616a9adca30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000616a9b025e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000616a99a42910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000616a98dc39f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000616a98db52b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000616a98db4523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000616a98db4e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000616a9870598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000616a9870c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000616a9870df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007382bfe94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007382bff26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005811648b5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005811648b37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005811648b6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007034fc042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007034fc0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007034fc0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007034fc0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007034fc042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007034fc0287f3 abort ./stdlib/abort.c:81:7
#9 0x00007034fc02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007034fc039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005811673336a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058116732a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000581167332a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000581167329465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058116732902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000581167329875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000581167333fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005811672fc30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000581167557e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000581165f74910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005811652f59f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005811652e72b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005811652e6523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005811652e6e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000581164c3798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000581164c3e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000581164c3ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007034fc094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007034fc126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
system_libs:INFO: compiled 5 inputs in 0.82s
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_typeid.wasm /b/s/w/ir/x/t/emtest_q68ch8xl/emscripten_temp_68jiydop/test_typeid_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_q68ch8xl/tmpgecn8iqclibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_typeid (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_trickystring.wasm /b/s/w/ir/x/t/emtest_o741c7kz/emscripten_temp_yppyat99/test_trickystring_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_o741c7kz/tmpijqsjvielibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000063639a3ced28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063639a3cc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063639a3cf576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000763c88442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000763c884969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000763c884969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000763c884969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000763c88442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000763c884287f3 abort ./stdlib/abort.c:81:7
#9 0x0000763c8842871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000763c88439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063639ce4c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063639ce43044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063639ce4ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063639ce42465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063639ce4202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063639ce42875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063639ce4cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063639ce1530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063639d070e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063639ba8d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063639ae0e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063639ae002b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063639adff523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063639adffe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063639a75098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063639a7574ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063639a758f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000763c88494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000763c88526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc_optz.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc_optz.a" for subsequent builds)
None
None
test_trickystring (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_transtrcase.wasm /b/s/w/ir/x/t/emtest_knv5syww/emscripten_temp_2c78u9fa/test_transtrcase_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_knv5syww/tmpkac2fj7glibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_transtrcase (test_core.thinltoz) ... FAIL
#0 0x000055ae4f6c8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055ae4f6c67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055ae4f6c9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d030a442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d030a4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d030a4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d030a4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d030a442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d030a4287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d030a42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d030a439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055ae521466a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055ae5213d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055ae52145a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055ae5213c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055ae5213c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055ae5213c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055ae52146fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055ae5210f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055ae5236ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055ae50d87910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055ae501089f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055ae500fa2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055ae500f9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055ae500f9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055ae4fa4a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055ae4fa514ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055ae4fa52f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d030a494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d030a526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
system_libs:INFO: compiled 7 inputs in 0.75s
#0 0x000056cab3e0bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056cab3e097b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056cab3e0c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078affc642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078affc6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078affc6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078affc6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078affc642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078affc6287f3 abort ./stdlib/abort.c:81:7
#9 0x000078affc62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078affc639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056cab68896a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056cab6880044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056cab6888a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056cab687f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056cab687f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056cab687f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056cab6889fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056cab685230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056cab6aade76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056cab54ca910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056cab484b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056cab483d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056cab483c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056cab483ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056cab418d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056cab41944ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056cab4195f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078affc694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078affc726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_tinyfuncstr.wasm /b/s/w/ir/x/t/emtest_cpto8gfs/emscripten_temp_e17p66dv/test_tinyfuncstr_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cpto8gfs/tmpsu1z6ioflibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libstubs.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libstubs.a" for subsequent builds)
None
None
test_tinyfuncstr (test_core.thinltoz) ... FAIL
test_struct_varargs (test_core.thinltoz) ... skipped 'is_wasm2js : tests va_arg()'
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_tcgetattr.wasm /b/s/w/ir/x/t/emtest_j0qp9205/emscripten_temp_75rbdynt/test_tcgetattr_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_j0qp9205/tmpc83tyjb0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_tcgetattr (test_core.thinltoz) ... FAIL
#0 0x0000638821652d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006388216507b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000638821653576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d9ed8842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d9ed88969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d9ed88969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d9ed88969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d9ed8842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d9ed88287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d9ed882871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d9ed8839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006388240d06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006388240c7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006388240cfa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006388240c6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006388240c602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006388240c6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006388240d0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063882409930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006388242f4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000638822d11910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006388220929f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006388220842b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000638822083523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000638822083e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006388219d498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006388219db4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006388219dcf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d9ed8894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d9ed8926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005f57a0105d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f57a01037b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f57a0106576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000785b87c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000785b87c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000785b87c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000785b87c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000785b87c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000785b87c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000785b87c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000785b87c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f57a2b836a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f57a2b7a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f57a2b82a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f57a2b79465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f57a2b7902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f57a2b79875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f57a2b83fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f57a2b4c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f57a2da7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f57a17c4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f57a0b459f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f57a0b372b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f57a0b36523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f57a0b36e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f57a048798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f57a048e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_systypes.wasm /b/s/w/ir/x/t/emtest_xw0rtoi9/emscripten_temp_ency04xz/test_systypes_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xw0rtoi9/tmpxjo32gw5libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f57a048ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000785b87c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000785b87d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
system_libs:INFO: compiled 2 inputs in 0.54s
None
None
test_systypes (test_core.thinltoz) ... FAIL
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libnoexit.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libnoexit.a" for subsequent builds)
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_syscall_intercept.wasm /b/s/w/ir/x/t/emtest_mwdl7zte/emscripten_temp_m_kk4kjk/test_syscall_intercept_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mwdl7zte/tmp8wvzhthplibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_syscall_intercept (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000561e6b6b2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000561e6b6b07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000561e6b6b3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a3d6fc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a3d6fc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a3d6fc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a3d6fc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a3d6fc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a3d6fc287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a3d6fc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a3d6fc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000561e6e1306a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000561e6e127044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000561e6e12fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000561e6e126465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000561e6e12602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000561e6e126875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000561e6e130fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000561e6e0f930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19system_libs:INFO: compiled 1 inputs in 0.32s
0x0000561e6e354e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000561e6cd71910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000561e6c0f29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000561e6c0e42b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000561e6c0e3523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000561e6c0e3e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000561e6ba3498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000561e6ba3b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000561e6ba3cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a3d6fc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a3d6fd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc.a" for subsequent builds)
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_template_class_deduction.wasm /b/s/w/ir/x/t/emtest_qiauutmt/emscripten_temp_3gar3hdt/test_template_class_deduction_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_qiauutmt/tmpb0ew1kdklibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_template_class_deduction (test_core.thinltoz) ... FAIL
#0 0x0000573bb56a0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000573bb569e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000573bb56a1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d8353e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d8353e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d8353e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d8353e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d8353e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d8353e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d8353e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d8353e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000573bb811e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000573bb8115044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000573bb811da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000573bb8114465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000573bb811402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000573bb8114875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000573bb811efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000573bb80e730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000573bb8342e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000573bb6d5f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000573bb60e09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000573bb60d22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000573bb60d1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000573bb60d1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000573bb5a2298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000573bb5a294ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000573bb5a2af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d8353e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d8353f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000058bb6c2d9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058bb6c2d77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058bb6c2da576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fe954442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007fe9544969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007fe9544969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007fe9544969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007fe954442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007fe9544287f3 abort ./stdlib/abort.c:81:7
#9 0x00007fe95442871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007fe954439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058bb6ed576a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058bb6ed4e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058bb6ed56a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058bb6ed4d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058bb6ed4d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058bb6ed4d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058bb6ed57fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058bb6ed2030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058bb6ef7be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058bb6d998910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058bb6cd199f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058bb6cd0b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058bb6cd0a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058bb6cd0ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058bb6c65b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058bb6c6624ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058bb6c663f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007fe954494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007fe954526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_strtoll_hex.wasm /b/s/w/ir/x/t/emtest_en3wyfw3/emscripten_temp_qd8a36gg/test_strtoll_hex_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_en3wyfw3/tmpmlzflvxblibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_strtoll_oct.wasm /b/s/w/ir/x/t/emtest_ltz6bjfo/emscripten_temp_r230pr_i/test_strtoll_oct_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ltz6bjfo/tmpysx0wckflibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_strtoll_hex (test_core.thinltoz) ... FAIL
None
None
test_strtoll_oct (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005614492c6d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005614492c47b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005614492c7576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007074a5842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007074a58969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007074a58969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007074a58969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007074a5842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007074a58287f3 abort ./stdlib/abort.c:81:7
#9 0x00007074a582871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007074a5839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056144bd446a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056144bd3b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056144bd43a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056144bd3a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056144bd3a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056144bd3a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056144bd44fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056144bd0d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056144bf68e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056144a985910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000561449d069f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000561449cf82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000561449cf7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000561449cf7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056144964898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056144964f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000561449650f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007074a5894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007074a5926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_strtoll_dec.wasm /b/s/w/ir/x/t/emtest_3wilg2z6/emscripten_temp_odknauiu/test_strtoll_dec_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_3wilg2z6/tmp4nd6kv5jlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_strtoll_dec (test_core.thinltoz) ... FAIL
#0 0x0000586e54932d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000586e549307b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000586e54933576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000764264842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007642648969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007642648969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007642648969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000764264842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007642648287f3 abort ./stdlib/abort.c:81:7
#9 0x000076426482871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000764264839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000586e573b06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000586e573a7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000586e573afa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000586e573a6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000586e573a602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000586e573a6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000586e573b0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000586e5737930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000586e575d4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000586e55ff1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000586e553729f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000586e553642b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000586e55363523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000586e55363e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000586e54cb498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000586e54cbb4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000586e54cbcf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000764264894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000764264926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005586754c9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005586754c77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005586754ca576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e1d3d042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e1d3d0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e1d3d0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e1d3d0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e1d3d042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e1d3d0287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e1d3d02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e1d3d039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000558677f476a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000558677f3e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000558677f46a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000558677f3d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000558677f3d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000558677f3d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000558677f47fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000558677f1030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055867816be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000558676b88910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000558675f099f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000558675efb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000558675efa523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000558675efae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055867584b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005586758524ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000558675853f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e1d3d094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e1d3d126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_42t16_ed/emscripten_temp_ifa32x5h/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_42t16_ed/tmpx1l8cu_8libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_structbyval (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_strtoll_bin.wasm /b/s/w/ir/x/t/emtest_4mqbziqs/emscripten_temp_54hxkzmk/test_strtoll_bin_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_4mqbziqs/tmpi1s12dw9libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_strtoll_bin (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005587e80e6d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005587e80e47b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005587e80e7576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078ad64442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078ad644969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078ad644969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078ad644969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078ad64442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078ad644287f3 abort ./stdlib/abort.c:81:7
#9 0x000078ad6442871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078ad64439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005587eab646a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005587eab5b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005587eab63a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005587eab5a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005587eab5a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005587eab5a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005587eab64fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005587eab2d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005587ead88e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005587e97a5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005587e8b269f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005587e8b182b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005587e8b17523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005587e8b17e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005587e846898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005587e846f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005587e8470f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078ad64494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078ad64526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000056d7d8a9cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056d7d8a9a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056d7d8a9d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000707255242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007072552969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007072552969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007072552969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000707255242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007072552287f3 abort ./stdlib/abort.c:81:7
#9 0x000070725522871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000707255239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056d7db51a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056d7db511044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056d7db519a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056d7db510465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056d7db51002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056d7db510875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056d7db51afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056d7db4e330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056d7db73ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056d7da15b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056d7d94dc9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056d7d94ce2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056d7d94cd523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056d7d94cde44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056d7d8e1e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056d7d8e254ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056d7d8e26f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000707255294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000707255326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_strtold.wasm /b/s/w/ir/x/t/emtest_959q_ys9/emscripten_temp_to_063oz/test_strtold_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_959q_ys9/tmpgu1v4jn_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000065497d4ead28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000065497d4e87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000065497d4eb576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c3336242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c33362969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c33362969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c33362969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c3336242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c33362287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c333622871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c3336239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000065497ff686a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000065497ff5f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000065497ff67a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000065497ff5e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000065497ff5e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000065497ff5e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000065497ff68fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000065497ff3130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000065498018ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000065497eba9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000065497df2a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000065497df1c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000065497df1b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000065497df1be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000065497d86c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000065497d8734ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000065497d874f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c3336294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c3336326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_strtold (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_strtol_oct.wasm /b/s/w/ir/x/t/emtest_gi8bl3v6/emscripten_temp_foei6idx/test_strtol_oct_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_gi8bl3v6/tmpa7s76ni3libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_strtol_hex.wasm /b/s/w/ir/x/t/emtest_84idabcr/emscripten_temp_4zydggnn/test_strtol_hex_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_84idabcr/tmp0766buhzlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_strtol_oct (test_core.thinltoz) ... FAIL
None
None
test_strtol_hex (test_core.thinltoz) ... FAIL
#0 0x000060b5bb7e1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060b5bb7df7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060b5bb7e2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e6c1d442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e6c1d4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e6c1d4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e6c1d4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e6c1d442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e6c1d4287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e6c1d42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e6c1d439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060b5be25f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000060b5be256044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060b5be25ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000060b5be255465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060b5be25502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000060b5be255875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060b5be25ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060b5be22830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060b5be483e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060b5bcea0910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060b5bc2219f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060b5bc2132b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060b5bc212523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060b5bc212e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060b5bbb6398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060b5bbb6a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060b5bbb6bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e6c1d494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e6c1d526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_strtol_dec.wasm /b/s/w/ir/x/t/emtest__tbqlj_e/emscripten_temp_tj7jiqr0/test_strtol_dec_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__tbqlj_e/tmpd2zuf41zlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x0000636336037d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006363360357b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000636336038576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076e747842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076e7478969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076e7478969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076e7478969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076e747842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076e7478287f3 abort ./stdlib/abort.c:81:7
#9 0x000076e74782871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076e747839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000636338ab56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000636338aac044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000636338ab4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000636338aab465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000636338aab02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000636338aab875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000636338ab5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000636338a7e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000636338cd9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006363376f6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000636336a779f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000636336a692b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000636336a68523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000636336a68e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006363363b998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006363363c04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006363363c1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076e747894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076e747926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_strtol_dec (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_strtol_bin.wasm /b/s/w/ir/x/t/emtest_lmkwfkg3/emscripten_temp_m0k7eoaw/test_strtol_bin_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_lmkwfkg3/tmpmkf4ewy2libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_strtol_bin (test_core.thinltoz) ... FAIL
#0 0x00006147a70f8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006147a70f67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006147a70f9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a9cfe442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a9cfe4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a9cfe4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a9cfe4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a9cfe442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a9cfe4287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a9cfe42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a9cfe439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006147a9b766a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006147a9b6d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006147a9b75a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006147a9b6c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006147a9b6c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006147a9b6c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006147a9b76fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006147a9b3f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006147a9d9ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006147a87b7910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006147a7b389f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006147a7b2a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006147a7b29523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006147a7b29e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006147a747a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006147a74814ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006147a7482f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a9cfe494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a9cfe526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_strtol.wasm /b/s/w/ir/x/t/emtest_fsvix34z/emscripten_temp_gzrtdest/test_strtol_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_fsvix34z/tmppv57gz9zlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_strtol (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000645bdc386d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000645bdc3847b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000645bdc387576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c5d19c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c5d19c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c5d19c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c5d19c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c5d19c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c5d19c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c5d19c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c5d19c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000645bdee046a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000645bdedfb044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000645bdee03a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000645bdedfa465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000645bdedfa02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000645bdedfa875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000645bdee04fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000645bdedcd30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000645bdf028e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000645bdda45910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000645bdcdc69f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000645bdcdb82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000645bdcdb7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000645bdcdb7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000645bdc70898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000645bdc70f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000645bdc710f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c5d19c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c5d19d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005da7953f4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005da7953f27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005da7953f5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075c54ba42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075c54ba969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075c54ba969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075c54ba969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075c54ba42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075c54ba287f3 abort ./stdlib/abort.c:81:7
#9 0x000075c54ba2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075c54ba39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005da797e726a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005da797e69044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005da797e71a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005da797e68465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005da797e6802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005da797e68875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005da797e72fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005da797e3b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005da798096e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005da796ab3910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005da795e349f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005da795e262b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005da795e25523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005da795e25e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005da79577698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005da79577d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005da79577ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075c54ba94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075c54bb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000058c692c57d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058c692c557b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058c692c58576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f4b33042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f4b330969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f4b330969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f4b330969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f4b33042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f4b330287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f4b3302871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f4b33039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058c6956d56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058c6956cc044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058c6956d4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058c6956cb465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058c6956cb02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058c6956cb875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058c6956d5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058c69569e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058c6958f9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058c694316910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058c6936979f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058c6936892b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058c693688523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058c693688e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058c692fd998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058c692fe04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058c692fe1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f4b33094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f4b33126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_strtok.wasm /b/s/w/ir/x/t/emtest_xgmc15ks/emscripten_temp_6b2lywnk/test_strtok_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xgmc15ks/tmpxjgglgqdlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_strtok (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_strstr.wasm /b/s/w/ir/x/t/emtest_8_t9wh6t/emscripten_temp_04umuo8s/test_strstr_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8_t9wh6t/tmp9rdevr3zlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_strstr (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_strtod.wasm /b/s/w/ir/x/t/emtest_ckwbbo9n/emscripten_temp_bgl79p5e/test_strtod_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ckwbbo9n/tmp7pl_sd5plibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005e2f08f36d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e2f08f347b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e2f08f37576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000791119042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007911190969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007911190969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007911190969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000791119042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007911190287f3 abort ./stdlib/abort.c:81:7
#9 0x000079111902871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000791119039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e2f0b9b46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e2f0b9ab044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e2f0b9b3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e2f0b9aa465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e2f0b9aa02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e2f0b9aa875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e2f0b9b4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e2f0b97d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e2f0bbd8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e2f0a5f5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e2f099769f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e2f099682b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e2f09967523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e2f09967e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e2f092b898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e2f092bf4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e2f092c0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000791119094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000791119126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_strtod (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_strcasecmp.wasm /b/s/w/ir/x/t/emtest_mqrb59pk/emscripten_temp_dky9jr5z/test_strcasecmp_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mqrb59pk/tmpb9espd4mlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_strcasecmp (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005fc063819d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005fc0638177b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005fc06381a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000727768042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007277680969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007277680969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007277680969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000727768042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007277680287f3 abort ./stdlib/abort.c:81:7
#9 0x000072776802871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000727768039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005fc0662976a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005fc06628e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005fc066296a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005fc06628d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005fc06628d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005fc06628d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005fc066297fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005fc06626030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005fc0664bbe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005fc064ed8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005fc0642599f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005fc06424b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005fc06424a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005fc06424ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005fc063b9b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005fc063ba24ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005fc063ba3f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000727768094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000727768126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stddef.wasm /b/s/w/ir/x/t/emtest_vmi69mlv/emscripten_temp_awydmu1h/test_stddef_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_vmi69mlv/tmpetdsrqa3libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005c823f3e0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c823f3de7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c823f3e1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000738d99a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000738d99a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000738d99a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000738d99a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000738d99a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000738d99a287f3 abort ./stdlib/abort.c:81:7
#9 0x0000738d99a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000738d99a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c8241e5e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c8241e55044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c8241e5da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c8241e54465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c8241e5402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c8241e54875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c8241e5efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c8241e2730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c8242082e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c8240a9f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c823fe209f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c823fe122b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c823fe11523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c823fe11e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c823f76298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c823f7694ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c823f76af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000738d99a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000738d99b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_stddef (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stdbool.wasm /b/s/w/ir/x/t/emtest_bx_vf6b5/emscripten_temp_5fool46t/test_stdbool_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_bx_vf6b5/tmpcliu5qdllibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005bf4dd03fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005bf4dd03d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005bf4dd040576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fdc3ec42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007fdc3ec969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007fdc3ec969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007fdc3ec969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007fdc3ec42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007fdc3ec287f3 abort ./stdlib/abort.c:81:7
#9 0x00007fdc3ec2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007fdc3ec39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005bf4dfabd6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005bf4dfab4044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005bf4dfabca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005bf4dfab3465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005bf4dfab302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005bf4dfab3875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005bf4dfabdfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005bf4dfa8630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005bf4dfce1e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005bf4de6fe910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005bf4dda7f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005bf4dda712b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005bf4dda70523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005bf4dda70e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005bf4dd3c198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005bf4dd3c84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005bf4dd3c9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007fdc3ec94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007fdc3ed26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_stdbool (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stdlibs.wasm /b/s/w/ir/x/t/emtest_ypjkka5a/emscripten_temp_1a8im9t1/test_stdlibs_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ypjkka5a/tmpxpf47szplibemscripten_js_symbols.so --strip-debug --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stdio_locking.wasm /b/s/w/ir/x/t/emtest_epo2w749/emscripten_temp_ipzyao5b/test_stdio_locking_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_epo2w749/tmpmgb_co1alibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_stdlibs (test_core.thinltoz) ... FAIL
None
None
test_stdio_locking (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005b43b7959d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b43b79577b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b43b795a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075ba61042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075ba610969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075ba610969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075ba610969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075ba61042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075ba610287f3 abort ./stdlib/abort.c:81:7
#9 0x000075ba6102871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075ba61039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b43ba3d76a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b43ba3ce044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b43ba3d6a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b43ba3cd465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b43ba3cd02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b43ba3cd875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b43ba3d7fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b43ba3a030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b43ba5fbe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b43b9018910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b43b83999f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b43b838b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b43b838a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b43b838ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b43b7cdb98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b43b7ce24ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b43b7ce3f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075ba61094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075ba61126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005c94fafabd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c94fafa97b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c94fafac576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007be208c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007be208c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007be208c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007be208c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007be208c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007be208c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007be208c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007be208c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c94fda296a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c94fda20044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c94fda28a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c94fda1f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c94fda1f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c94fda1f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c94fda29fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c94fd9f230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c94fdc4de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c94fc66a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c94fb9eb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c94fb9dd2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c94fb9dc523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c94fb9dce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c94fb32d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c94fb3344ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c94fb335f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007be208c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007be208d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_statx.wasm /b/s/w/ir/x/t/emtest_c109l0db/emscripten_temp_drv992yb/test_statx_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_c109l0db/tmpweo_pmsqlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_statvfs.wasm /b/s/w/ir/x/t/emtest_tw4v3o1_/emscripten_temp_7f7psm_9/test_statvfs_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_tw4v3o1_/tmp60jozjn9libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_statx (test_core.thinltoz) ... FAIL
None
None
test_statvfs (test_core.thinltoz) ... FAIL
#0 0x00005b4f374e9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b4f374e77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b4f374ea576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075aa0b042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075aa0b0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075aa0b0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075aa0b0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075aa0b042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075aa0b0287f3 abort ./stdlib/abort.c:81:7
#9 0x000075aa0b02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075aa0b039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b4f39f676a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b4f39f5e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b4f39f66a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b4f39f5d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b4f39f5d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b4f39f5d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b4f39f67fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b4f39f3030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b4f3a18be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b4f38ba8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b4f37f299f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b4f37f1b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b4f37f1a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b4f37f1ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b4f3786b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b4f378724ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b4f37873f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075aa0b094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075aa0b126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005fa4eed25d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005fa4eed237b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005fa4eed26576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f0828242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f08282969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f08282969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f08282969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f0828242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f08282287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f082822871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f0828239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005fa4f17a36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005fa4f179a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005fa4f17a2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005fa4f1799465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005fa4f179902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005fa4f1799875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005fa4f17a3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005fa4f176c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005fa4f19c7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005fa4f03e4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005fa4ef7659f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005fa4ef7572b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005fa4ef756523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005fa4ef756e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005fa4ef0a798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005fa4ef0ae4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005fa4ef0aff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f0828294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f0828326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_statics.wasm /b/s/w/ir/x/t/emtest_3c_ikkl6/emscripten_temp_gt4muh75/test_statics_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_3c_ikkl6/tmpqfc9b5k6libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_statics (test_core.thinltoz) ... FAIL
test_stat_chmod_wasmfs_rawfs (test_core.thinltoz) ... skipped 'test requires symlink creation which currently missing from wasmfs+noderawfs'
test_stat_chmod_wasmfs_nodefs (test_core.thinltoz) ... skipped 'test requires symlink creation which currently missing from wasmfs+noderawfs'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stdvec.wasm /b/s/w/ir/x/t/emtest_h2x04dm3/emscripten_temp_5n6w7_f0/test_stdvec_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_h2x04dm3/tmp1ledkzymlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_stdvec (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005a83d943fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a83d943d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a83d9440576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073e5f7842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073e5f78969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073e5f78969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073e5f78969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073e5f7842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073e5f78287f3 abort ./stdlib/abort.c:81:7
#9 0x000073e5f782871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073e5f7839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a83dbebd6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a83dbeb4044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a83dbebca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a83dbeb3465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a83dbeb302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a83dbeb3875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a83dbebdfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a83dbe8630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a83dc0e1e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a83daafe910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a83d9e7f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a83d9e712b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a83d9e70523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a83d9e70e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a83d97c198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a83d97c84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a83d97c9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073e5f7894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073e5f7926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_static_variable.wasm /b/s/w/ir/x/t/emtest_xwfw8dca/emscripten_temp_pabd3_eg/test_static_variable_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xwfw8dca/tmppi3lce9tlibemscripten_js_symbols.so --strip-debug --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_static_variable (test_core.thinltoz) ... FAIL
#0 0x00005e2385316d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e23853147b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e2385317576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000704539042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007045390969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007045390969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007045390969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000704539042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007045390287f3 abort ./stdlib/abort.c:81:7
#9 0x000070453902871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000704539039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e2387d946a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e2387d8b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e2387d93a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e2387d8a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e2387d8a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e2387d8a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e2387d94fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e2387d5d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e2387fb8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e23869d5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e2385d569f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e2385d482b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e2385d47523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e2385d47e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e238569898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e238569f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e23856a0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000704539094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000704539126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_mknod.wasm /b/s/w/ir/x/t/emtest_3jqympgd/emscripten_temp_4yf1uk03/test_mknod_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_3jqympgd/tmpbcee779clibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_stat_mknod (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_mknod.wasm /b/s/w/ir/x/t/emtest_wyqaik01/emscripten_temp_9_1sule0/test_mknod_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs_no_fs -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wyqaik01/tmpgmaybhkllibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
None
None
test_stat_mknod_wasmfs (test_core.thinltoz) ... FAIL
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
#0 0x000060f6e9bd3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060f6e9bd17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060f6e9bd4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078bc27c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078bc27c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078bc27c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078bc27c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078bc27c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078bc27c287f3 abort ./stdlib/abort.c:81:7
#9 0x000078bc27c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078bc27c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060f6ec6516a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000060f6ec648044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060f6ec650a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000060f6ec647465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060f6ec64702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000060f6ec647875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060f6ec651fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060f6ec61a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060f6ec875e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060f6eb292910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060f6ea6139f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060f6ea6052b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060f6ea604523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060f6ea604e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060f6e9f5598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060f6e9f5c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060f6e9f5df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078bc27c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078bc27d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_chmod.wasm /b/s/w/ir/x/t/emtest_mmhyw9ik/emscripten_temp_ik458z_7/test_chmod_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mmhyw9ik/tmp_v5pa564libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_chmod.wasm /b/s/w/ir/x/t/emtest_apb8uo_9/emscripten_temp_pz2neopc/test_chmod_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs_no_fs -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_apb8uo_9/tmph_t5c26zlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
None
None
test_stat_chmod_rawfs (test_core.thinltoz) ... FAIL
None
None
test_stat_chmod_wasmfs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_std_function_incomplete_return.wasm /b/s/w/ir/x/t/emtest_nzntjx48/emscripten_temp_72l3c9t2/test_std_function_incomplete_return_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_nzntjx48/tmplq4dr3ijlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x0000591fafb2ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000591fafb2c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000591fafb2f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000707f37e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000707f37e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000707f37e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000707f37e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000707f37e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000707f37e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000707f37e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000707f37e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000591fb25ac6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000591fb25a3044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000591fb25aba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000591fb25a2465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000591fb25a202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000591fb25a2875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000591fb25acfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000591fb257530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000591fb27d0e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000591fb11ed910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000591fb056e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000591fb05602b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000591fb055f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000591fb055fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000591fafeb098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000591fafeb74ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000591fafeb8f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000707f37e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000707f37f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_std_function_incomplete_return (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_chmod.wasm /b/s/w/ir/x/t/emtest_82bast62/emscripten_temp_7wcuof90/test_chmod_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_82bast62/tmpirelywyhlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_stat_chmod_nodefs (test_core.thinltoz) ... FAIL
#0 0x00005d62c6201d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d62c61ff7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d62c6202576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077aa10e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077aa10e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000077aa10e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000077aa10e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000077aa10e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000077aa10e287f3 abort ./stdlib/abort.c:81:7
#9 0x000077aa10e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000077aa10e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d62c8c7f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d62c8c76044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d62c8c7ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d62c8c75465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d62c8c7502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d62c8c75875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d62c8c7ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d62c8c4830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d62c8ea3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d62c78c0910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d62c6c419f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d62c6c332b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d62c6c32523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d62c6c32e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d62c658398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d62c658a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d62c658bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000077aa10e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000077aa10f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_chmod.wasm /b/s/w/ir/x/t/emtest_xfkkzwfp/emscripten_temp_i8_c38ve/test_chmod_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xfkkzwfp/tmpk4nuz0yklibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000059f6712afd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000059f6712ad7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059f6712b0576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000746811842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007468118969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007468118969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007468118969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000746811842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007468118287f3 abort ./stdlib/abort.c:81:7
#9 0x000074681182871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000746811839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059f673d2d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000059f673d24044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000059f673d2ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000059f673d23465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000059f673d2302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000059f673d23875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000059f673d2dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059f673cf630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059f673f51e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059f67296e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000059f671cef9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000059f671ce12b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000059f671ce0523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000059f671ce0e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059f67163198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000059f6716384ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000059f671639f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000746811894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000746811926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_stat_chmod (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stat.wasm /b/s/w/ir/x/t/emtest_qgvhaz_i/emscripten_temp_6pfv1ff9/test_stat_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_qgvhaz_i/tmpo948_ymhlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_stat (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005aa6548c9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005aa6548c77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005aa6548ca576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000730d1a442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000730d1a4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000730d1a4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000730d1a4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000730d1a442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000730d1a4287f3 abort ./stdlib/abort.c:81:7
#9 0x0000730d1a42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000730d1a439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005aa6573476a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005aa65733e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005aa657346a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005aa65733d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005aa65733d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005aa65733d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005aa657347fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005aa65731030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005aa65756be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005aa655f88910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005aa6553099f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005aa6552fb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005aa6552fa523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005aa6552fae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005aa654c4b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005aa654c524ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005aa654c53f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000730d1a494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000730d1a526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stack_align.wasm /b/s/w/ir/x/t/emtest_t4p5xe5v/emscripten_temp_7w8z7vau/test_stack_align_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_t4p5xe5v/tmp6o9pny_0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00006225a5025d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006225a50237b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006225a5026576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007520d8442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007520d84969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007520d84969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007520d84969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007520d8442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007520d84287f3 abort ./stdlib/abort.c:81:7
#9 0x00007520d842871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007520d8439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006225a7aa36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006225a7a9a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006225a7aa2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006225a7a99465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006225a7a9902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006225a7a99875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006225a7aa3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006225a7a6c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006225a7cc7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006225a66e4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006225a5a659f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006225a5a572b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006225a5a56523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006225a5a56e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006225a53a798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006225a53ae4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (None
None
test_stack_align (test_core.thinltoz) ... FAIL
/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006225a53aff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007520d8494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007520d8526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00006278fba0ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006278fba087b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006278fba0b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000736b64642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000736b646969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000736b646969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000736b646969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000736b64642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000736b646287f3 abort ./stdlib/abort.c:81:7
#9 0x0000736b6462871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000736b64639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006278fe4886a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006278fe47f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006278fe487a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006278fe47e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006278fe47e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006278fe47e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006278fe488fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006278fe45130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006278fe6ace76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006278fd0c9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006278fc44a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006278fc43c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006278fc43b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006278fc43be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006278fbd8c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006278fbd934ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006278fbd94f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000736b64694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000736b64726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00006095e7835d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006095e78337b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006095e7836576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a95e6242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a95e62969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a95e62969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a95e62969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a95e6242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a95e62287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a95e622871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a95e6239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006095ea2b36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006095ea2aa044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006095ea2b2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006095ea2a9465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006095ea2a902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006095ea2a9875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006095ea2b3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006095ea27c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006095ea4d7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006095e8ef4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006095e82759f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006095e82672b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006095e8266523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006095e8266e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006095e7bb798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006095e7bbe4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006095e7bbff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a95e6294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a95e6326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stack_placement.wasm /b/s/w/ir/x/t/emtest_uysd0lhm/emscripten_temp_57htw5y1/test_stack_placement_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_uysd0lhm/tmprdfqe3f9libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=1024 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stackAlloc.wasm /b/s/w/ir/x/t/emtest_o5bdm1kl/emscripten_temp_z62hs5p0/test_stackAlloc_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_o5bdm1kl/tmp2cp831onlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_stack_placement (test_core.thinltoz) ... FAIL
#0 0x0000645d403e6d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000645d403e47b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000645d403e7576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a281e442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a281e4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a281e4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a281e4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a281e442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a281e4287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a281e42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a281e439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000645d42e646a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000645d42e5b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000645d42e63a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000645d42e5a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000645d42e5a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000645d42e5a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000645d42e64fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000645d42e2d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000645d43088e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000645d41aa5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000645d40e269f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000645d40e182b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000645d40e17523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000645d40e17e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000645d4076898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000645d4076f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000645d40770f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a281e494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a281e526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o stack_overflow.wasm /b/s/w/ir/x/t/emtest_b56ec6yg/emscripten_temp_357cqya0/stack_overflow_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_b56ec6yg/tmp4anjs_wllibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=1048576 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_stackAlloc (test_core.thinltoz) ... FAIL
None
None
test_stack_overflow_check (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o stack_overflow.wasm /b/s/w/ir/x/t/emtest_k5t9nt0j/emscripten_temp_u4ymt75w/stack_overflow_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_k5t9nt0j/tmpby3d00bulibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_stack_overflow (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000058d597e27d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058d597e257b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058d597e28576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000758dd2442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000758dd24969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000758dd24969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000758dd24969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000758dd2442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000758dd24287f3 abort ./stdlib/abort.c:81:7
#9 0x0000758dd242871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000758dd2439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058d59a8a56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058d59a89c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058d59a8a4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058d59a89b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058d59a89b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058d59a89b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058d59a8a5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058d59a86e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058d59aac9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058d5994e6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058d5988679f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058d5988592b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058d598858523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058d598858e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058d5981a998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058d5981b04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058d5981b1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000758dd2494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000758dd2526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_z01d6njo/emscripten_temp_4t2ggned/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_z01d6njo/tmpwfcs8ewplibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005d6132b71d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d6132b6f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d6132b72576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077ff8c442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077ff8c4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000077ff8c4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000077ff8c4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000077ff8c442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000077ff8c4287f3 abort ./stdlib/abort.c:81:7
#9 0x000077ff8c42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000077ff8c439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d61355ef6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d61355e6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d61355eea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d61355e5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d61355e502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d61355e5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d61355effbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d61355b830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d6135813e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d6134230910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d61335b19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d61335a32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d61335a2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d61335a2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d6132ef398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d6132efa4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d6132efbf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000077ff8c494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000077ff8c526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_ssr (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stack.wasm /b/s/w/ir/x/t/emtest_9py4rr6k/emscripten_temp_y68mvr2f/test_stack_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9py4rr6k/tmp2nsw88nalibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_stack (test_core.thinltoz) ... FAIL
None
In file included from /b/s/w/ir/x/w/install/emscripten/test/sse/test_sse_diagnostic.cpp:9:
/b/s/w/ir/x/w/install/emscripten/cache/sysroot/include/compat/xmmintrin.h:287:27: warning: Instruction emulated via slow path. [-Wuser-defined-warnings]
287 | return _mm_move_ss(__a, _mm_rcp_ps(__a));
| ^
/b/s/w/ir/x/w/install/emscripten/cache/sysroot/include/compat/xmmintrin.h:278:73: note: from 'diagnose_if' attribute on '_mm_rcp_ps':
278 | static __inline__ __m128 __attribute__((__always_inline__, __nodebug__, DIAGNOSE_SLOW))
| ^~~~~~~~~~~~~
/b/s/w/ir/x/w/install/emscripten/cache/sysroot/include/compat/xmmintrin.h:21:23: note: expanded from macro 'DIAGNOSE_SLOW'
21 | #define DIAGNOSE_SLOW diagnose_if(1, "Instruction emulated via slow path.", "warning")
| ^ ~
/b/s/w/ir/x/w/install/emscripten/cache/sysroot/include/compat/xmmintrin.h:307:27: warning: Instruction emulated via slow path. [-Wuser-defined-warnings]
307 | return _mm_move_ss(__a, _mm_rsqrt_ps(__a));
| ^
/b/s/w/ir/x/w/install/emscripten/cache/sysroot/include/compat/xmmintrin.h:302:27: note: expanded from macro '_mm_rsqrt_ps'
302 | #define _mm_rsqrt_ps(__a) _mm_rcp_ps(_mm_sqrt_ps((__a)))
| ^
/b/s/w/ir/x/w/install/emscripten/cache/sysroot/include/compat/xmmintrin.h:278:73: note: from 'diagnose_if' attribute on '_mm_rcp_ps':
278 | static __inline__ __m128 __attribute__((__always_inline__, __nodebug__, DIAGNOSE_SLOW))
| ^~~~~~~~~~~~~
/b/s/w/ir/x/w/install/emscripten/cache/sysroot/include/compat/xmmintrin.h:21:23: note: expanded from macro 'DIAGNOSE_SLOW'
21 | #define DIAGNOSE_SLOW diagnose_if(1, "Instruction emulated via slow path.", "warning")
| ^ ~
/b/s/w/ir/x/w/install/emscripten/cache/sysroot/include/compat/xmmintrin.h:418:27: warning: Instruction emulated via slow path. [-Wuser-defined-warnings]
418 | return _mm_move_ss(__a, _mm_cmpord_ps(__a, __b));
| ^
/b/s/w/ir/x/w/install/emscripten/cache/sysroot/include/compat/xmmintrin.h:410:73: note: from 'diagnose_if' attribute on '_mm_cmpord_ps':
410 | static __inline__ __m128 __attribute__((__always_inline__, __nodebug__, DIAGNOSE_SLOW)) _mm_cmpord_ps(__m128 __a, __m128 __b)
| ^~~~~~~~~~~~~
/b/s/w/ir/x/w/install/emscripten/cache/sysroot/include/compat/xmmintrin.h:21:23: note: expanded from macro 'DIAGNOSE_SLOW'
21 | #define DIAGNOSE_SLOW diagnose_if(1, "Instruction emulated via slow path.", "warning")
| ^ ~
/b/s/w/ir/x/w/install/emscripten/cache/sysroot/include/compat/xmmintrin.h:429:27: warning: Instruction emulated via slow path. [-Wuser-defined-warnings]
429 | return _mm_move_ss(__a, _mm_cmpunord_ps(__a, __b));
| ^
/b/s/w/ir/x/w/install/emscripten/cache/sysroot/include/compat/xmmintrin.h:421:73: note: from 'diagnose_if' attribute on '_mm_cmpunord_ps':
421 | static __inline__ __m128 __attribute__((__always_inline__, __nodebug__, DIAGNOSE_SLOW)) _mm_cmpunord_ps(__m128 __a, __m128 __b)
| ^~~~~~~~~~~~~
/b/s/w/ir/x/w/install/emscripten/cache/sysroot/include/compat/xmmintrin.h:21:23: note: expanded from macro 'DIAGNOSE_SLOW'
21 | #define DIAGNOSE_SLOW diagnose_if(1, "Instruction emulated via slow path.", "warning")
| ^ ~
/b/s/w/ir/x/w/install/emscripten/test/sse/test_sse_diagnostic.cpp:13:14: warning: Instruction emulated via slow path. [-Wuser-defined-warnings]
13 | __m128 b = _mm_rcp_ps(a);
| ^
/b/s/w/ir/x/w/install/emscripten/cache/sysroot/include/compat/xmmintrin.h:278:73: note: from 'diagnose_if' attribute on '_mm_rcp_ps':
278 | static __inline__ __m128 __attribute__((__always_inline__, __nodebug__, DIAGNOSE_SLOW))
| ^~~~~~~~~~~~~
/b/s/w/ir/x/w/install/emscripten/cache/sysroot/include/compat/xmmintrin.h:21:23: note: expanded from macro 'DIAGNOSE_SLOW'
21 | #define DIAGNOSE_SLOW diagnose_if(1, "Instruction emulated via slow path.", "warning")
| ^ ~
5 warnings generated.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000059cc4b824d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000059cc4b8227b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059cc4b825576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071ee54c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071ee54c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071ee54c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071ee54c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071ee54c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071ee54c287f3 abort ./stdlib/abort.c:81:7
#9 0x000071ee54c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071ee54c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059cc4e2a26a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000059cc4e299044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000059cc4e2a1a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000059cc4e298465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000059cc4e29802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000059cc4e298875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000059cc4e2a2fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059cc4e26b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059cc4e4c6e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059cc4cee3910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000059cc4c2649f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000059cc4c2562b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000059cc4c255523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000059cc4c255e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059cc4bba698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000059cc4bbad4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000059cc4bbaef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071ee54c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071ee54d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o a.out.wasm /b/s/w/ir/x/t/emtest_umlly4is/emscripten_temp_demys55i/test_sse_diagnostic_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_umlly4is/tmpupxo8_2mlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
test_sse_diagnostics (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 1045 inputs in 19.14s
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005a2dccde3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a2dccde17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a2dccde4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000784934842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007849348969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007849348969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007849348969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000784934842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007849348287f3 abort ./stdlib/abort.c:81:7
#9 0x000078493482871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000784934839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a2dcf8616a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a2dcf858044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a2dcf860a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a2dcf857465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a2dcf85702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a2dcf857875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a2dcf861fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a2dcf82a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a2dcfa85e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a2dce4a2910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a2dcd8239f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a2dcd8152b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a2dcd814523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a2dcd814e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a2dcd16598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a2dcd16c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a2dcd16df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000784934894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000784934926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libdlmalloc.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libdlmalloc.a" for subsequent builds)
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sse4_2.wasm /b/s/w/ir/x/t/emtest_potdqf0f/emscripten_temp_fvdith6_/test_sse4_2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_potdqf0f/tmp_hh1qlsdlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sse4_2 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000060b35fee9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060b35fee77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060b35feea576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007eb6b0442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007eb6b04969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007eb6b04969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007eb6b04969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007eb6b0442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007eb6b04287f3 abort ./stdlib/abort.c:81:7
#9 0x00007eb6b042871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007eb6b0439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060b3629676a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000060b36295e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060b362966a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000060b36295d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060b36295d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000060b36295d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060b362967fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060b36293030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060b362b8be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060b3615a8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060b3609299f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060b36091b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060b36091a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060b36091ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060b36026b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060b3602724ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060b360273f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007eb6b0494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007eb6b0526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000569ca8cc7d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000569ca8cc57b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000569ca8cc8576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000741dafe42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000741dafe969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000741dafe969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000741dafe969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000741dafe42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000741dafe287f3 abort ./stdlib/abort.c:81:7
#9 0x0000741dafe2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000741dafe39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000569cab7456a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000569cab73c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000569cab744a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000569cab73b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000569cab73b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000569cab73b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000569cab745fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000569cab70e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000569cab969e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000569caa386910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000569ca97079f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000569ca96f92b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000569ca96f8523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000569ca96f8e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000569ca904998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000569ca90504ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000569ca9051f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000741dafe94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000741daff26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ssse3.wasm /b/s/w/ir/x/t/emtest_iml6zh17/emscripten_temp_kcvlkdqt/test_ssse3_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_iml6zh17/tmp3d_w1rr3libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_ssse3 (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sse4_2.wasm /b/s/w/ir/x/t/emtest__6dagaxv/emscripten_temp_p57svr8e/test_sse4_2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__6dagaxv/tmph44pimjelibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_sse4 (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 2 inputs in 1.42s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libcompiler_rt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libcompiler_rt.a" for subsequent builds)
#0 0x0000627f356bed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000627f356bc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000627f356bf576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000783bad042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000783bad0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000783bad0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000783bad0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000783bad042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000783bad0287f3 abort ./stdlib/abort.c:81:7
#9 0x0000783bad02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000783bad039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000627f3813c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000627f38133044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000627f3813ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000627f38132465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000627f3813202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000627f38132875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000627f3813cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000627f3810530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000627f38360e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000627f36d7d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000627f360fe9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000627f360f02b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000627f360ef523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000627f360efe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000627f35a4098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000627f35a474ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000627f35a48f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000783bad094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000783bad126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sse3.wasm /b/s/w/ir/x/t/emtest__52w5_3_/emscripten_temp_wezu8atk/test_sse3_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__52w5_3_/tmpr9dh1waglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sse3 (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 182 inputs in 3.49s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc++-noexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc++-noexcept.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000593f9701ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000593f970187b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000593f9701b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000734de1842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000734de18969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000734de18969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000734de18969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000734de1842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000734de18287f3 abort ./stdlib/abort.c:81:7
#9 0x0000734de182871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000734de1839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000593f99a986a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000593f99a8f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000593f99a97a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000593f99a8e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000593f99a8e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000593f99a8e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000593f99a98fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000593f99a6130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000593f99cbce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000593f986d9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000593f97a5a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000593f97a4c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000593f97a4b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000593f97a4be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000593f9739c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000593f973a34ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000593f973a4f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000734de1894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000734de1926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sse1.wasm /b/s/w/ir/x/t/emtest_7yt0pla9/emscripten_temp_94fe9y2p/test_sse1_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_7yt0pla9/tmpnpwjqi2blibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sse1_nontrapping (test_core.thinltoz) ... FAIL
#0 0x000063d371db2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063d371db07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063d371db3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072881c642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072881c6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072881c6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072881c6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072881c642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072881c6287f3 abort ./stdlib/abort.c:81:7
#9 0x000072881c62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072881c639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063d3748306a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063d374827044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063d37482fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063d374826465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063d37482602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063d374826875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063d374830fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063d3747f930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063d374a54e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063d373471910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063d3727f29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063d3727e42b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063d3727e3523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063d3727e3e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063d37213498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063d37213b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063d37213cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072881c694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072881c726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sse1.wasm /b/s/w/ir/x/t/emtest_cfnw9rmm/emscripten_temp_methqqt4/test_sse1_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cfnw9rmm/tmpb0hjgjh8libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sse1 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005e3e8227bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e3e822797b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e3e8227c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007118e8042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007118e80969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007118e80969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007118e80969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007118e8042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007118e80287f3 abort ./stdlib/abort.c:81:7
#9 0x00007118e802871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007118e8039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e3e84cf96a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e3e84cf0044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e3e84cf8a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e3e84cef465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e3e84cef02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e3e84cef875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e3e84cf9fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e3e84cc230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e3e84f1de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e3e8393a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e3e82cbb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e3e82cad2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e3e82cac523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e3e82cace44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e3e825fd98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e3e826044ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e3e82605f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007118e8094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007118e8126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000634bb145cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000634bb145a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000634bb145d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000718b69442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000718b694969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000718b694969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000718b694969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000718b69442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000718b694287f3 abort ./stdlib/abort.c:81:7
#9 0x0000718b6942871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000718b69439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000634bb3eda6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000634bb3ed1044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000634bb3ed9a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000634bb3ed0465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000634bb3ed002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000634bb3ed0875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000634bb3edafbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000634bb3ea330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000634bb40fee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000634bb2b1b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000634bb1e9c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000634bb1e8e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000634bb1e8d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000634bb1e8de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000634bb17de98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000634bb17e54ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000634bb17e6f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000718b69494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000718b69526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sscanf_whitespace.wasm /b/s/w/ir/x/t/emtest_ab0d_rug/emscripten_temp_ytoe5t9w/test_sscanf_whitespace_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ab0d_rug/tmpxq295l08libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sscanf_whitespace (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sscanf_skip.wasm /b/s/w/ir/x/t/emtest_cd37x876/emscripten_temp_0gcxvd_z/test_sscanf_skip_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cd37x876/tmpbr9jzkyzlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sscanf_skip (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00006375a45aad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006375a45a87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006375a45ab576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007349fd842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007349fd8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007349fd8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007349fd8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007349fd842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007349fd8287f3 abort ./stdlib/abort.c:81:7
#9 0x00007349fd82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007349fd839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006375a70286a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006375a701f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006375a7027a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006375a701e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006375a701e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006375a701e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006375a7028fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006375a6ff130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006375a724ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006375a5c69910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006375a4fea9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006375a4fdc2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006375a4fdb523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006375a4fdbe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006375a492c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006375a49334ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006375a4934f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007349fd894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007349fd926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sscanf_other_whitespace.wasm /b/s/w/ir/x/t/emtest_ftj0mr2m/emscripten_temp_gqphpqsd/test_sscanf_other_whitespace_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ftj0mr2m/tmp0c_tppu2libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_sscanf_other_whitespace (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000060376684cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060376684a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060376684d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e6d45c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e6d45c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e6d45c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e6d45c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e6d45c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e6d45c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e6d45c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e6d45c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006037692ca6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006037692c1044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006037692c9a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006037692c0465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006037692c002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006037692c0875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006037692cafbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060376929330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006037694eee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000603767f0b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060376728c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060376727e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060376727d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060376727de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000603766bce98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000603766bd54ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000603766bd6f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e6d45c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e6d45d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sscanf_n.wasm /b/s/w/ir/x/t/emtest_37v1jkv3/emscripten_temp_3joihg65/test_sscanf_n_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_37v1jkv3/tmpinqu0uu9libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000062f2e64c9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000062f2e64c77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000062f2e64ca576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077f0ce842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077f0ce8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000077f0ce8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000077f0ce8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000077f0ce842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000077f0ce8287f3 abort ./stdlib/abort.c:81:7
#9 0x000077f0ce82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000077f0ce839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062f2e8f476a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062f2e8f3e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062f2e8f46a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062f2e8f3d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062f2e8f3d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062f2e8f3d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062f2e8f47fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062f2e8f1030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062f2e916be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062f2e7b88910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062f2e6f099f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062f2e6efb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062f2e6efa523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062f2e6efae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062f2e684b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062f2e68524ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062f2e6853f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000077f0ce894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000077f0ce926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_sscanf_n (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sse4_1.wasm /b/s/w/ir/x/t/emtest_cel11m_7/emscripten_temp_1wqlbqnj/test_sse4_1_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cel11m_7/tmpm9munsgglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=1048576 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sse4_1 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000631ed4eb7d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000631ed4eb57b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000631ed4eb8576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e83fba42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e83fba969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e83fba969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e83fba969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e83fba42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e83fba287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e83fba2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e83fba39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000631ed79356a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000631ed792c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000631ed7934a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000631ed792b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000631ed792b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000631ed792b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000631ed7935fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000631ed78fe30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000631ed7b59e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000631ed6576910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000631ed58f79f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000631ed58e92b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000631ed58e8523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000631ed58e8e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000631ed523998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000631ed52404ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000631ed5241f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e83fba94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e83fbb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sscanf_hex.wasm /b/s/w/ir/x/t/emtest_8njlrrdz/emscripten_temp_d5wxy4n9/test_sscanf_hex_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8njlrrdz/tmph_9uika7libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sscanf_hex (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000060556e688d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060556e6867b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060556e689576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000761305e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000761305e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000761305e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000761305e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000761305e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000761305e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000761305e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000761305e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006055711066a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006055710fd044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000605571105a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006055710fc465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006055710fc02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006055710fc875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000605571106fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006055710cf30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060557132ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060556fd47910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060556f0c89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060556f0ba2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060556f0b9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060556f0b9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060556ea0a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060556ea114ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060556ea12f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000761305e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000761305f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sscanf_float.wasm /b/s/w/ir/x/t/emtest_mwmb7bji/emscripten_temp_3a_armu4/test_sscanf_float_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mwmb7bji/tmp5zh8ka_blibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sscanf_float (test_core.thinltoz) ... FAIL
#0 0x0000652076a7dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000652076a7b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000652076a7e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007edf14242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007edf142969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007edf142969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007edf142969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007edf14242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007edf142287f3 abort ./stdlib/abort.c:81:7
#9 0x00007edf1422871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007edf14239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006520794fb6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006520794f2044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006520794faa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006520794f1465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006520794f102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006520794f1875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006520794fbfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006520794c430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000065207971fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000065207813c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006520774bd9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006520774af2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006520774ae523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006520774aee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000652076dff98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000652076e064ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000652076e07f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007edf14294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007edf14326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000061fdb4188d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061fdb41867b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061fdb4189576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072080d842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072080d8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072080d8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072080d8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072080d842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072080d8287f3 abort ./stdlib/abort.c:81:7
#9 0x000072080d82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072080d839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061fdb6c066a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061fdb6bfd044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061fdb6c05a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061fdb6bfc465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061fdb6bfc02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061fdb6bfc875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061fdb6c06fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061fdb6bcf30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061fdb6e2ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061fdb5847910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061fdb4bc89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061fdb4bba2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061fdb4bb9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061fdb4bb9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061fdb450a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061fdb45114ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061fdb4512f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072080d894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072080d926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sse2.wasm /b/s/w/ir/x/t/emtest_rhuzamdt/emscripten_temp_6i2go_gp/test_sse2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_rhuzamdt/tmpr114wlz0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=1048576 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sscanf_caps.wasm /b/s/w/ir/x/t/emtest_o0arddq2/emscripten_temp_e46lig46/test_sscanf_caps_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_o0arddq2/tmpitbe7ev4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sse2_nontrapping (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_sscanf_caps (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005697f8b16d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005697f8b147b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005697f8b17576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000796dde042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000796dde0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000796dde0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000796dde0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000796dde042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000796dde0287f3 abort ./stdlib/abort.c:81:7
#9 0x0000796dde02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000796dde039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005697fb5946a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005697fb58b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005697fb593a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005697fb58a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005697fb58a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005697fb58a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005697fb594fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005697fb55d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005697fb7b8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005697fa1d5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005697f95569f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005697f95482b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005697f9547523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005697f9547e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005697f8e9898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005697f8e9f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005697f8ea0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000796dde094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000796dde126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sscanf_6.wasm /b/s/w/ir/x/t/emtest_a2zk5bsc/emscripten_temp_gf5egyh2/test_sscanf_6_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_a2zk5bsc/tmpiwxdil2alibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sscanf_6 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000062f7fbbbbd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000062f7fbbb97b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000062f7fbbbc576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000733adb242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000733adb2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000733adb2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000733adb2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000733adb242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000733adb2287f3 abort ./stdlib/abort.c:81:7
#9 0x0000733adb22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000733adb239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062f7fe6396a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062f7fe630044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062f7fe638a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062f7fe62f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062f7fe62f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062f7fe62f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062f7fe639fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062f7fe60230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062f7fe85de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062f7fd27a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062f7fc5fb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062f7fc5ed2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062f7fc5ec523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062f7fc5ece44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062f7fbf3d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062f7fbf444ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062f7fbf45f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000733adb294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000733adb326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sse2.wasm /b/s/w/ir/x/t/emtest_z_0k872a/emscripten_temp_6x9v37x9/test_sse2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_z_0k872a/tmp8d2zyr0klibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=1048576 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sse2 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005defad00ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005defad00c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005defad00f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000742a1fe42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000742a1fe969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000742a1fe969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000742a1fe969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000742a1fe42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000742a1fe287f3 abort ./stdlib/abort.c:81:7
#9 0x0000742a1fe2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000742a1fe39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005defafa8c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005defafa83044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005defafa8ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005defafa82465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005defafa8202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005defafa82875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005defafa8cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005defafa5530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005defafcb0e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005defae6cd910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005defada4e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005defada402b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005defada3f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005defada3fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005defad39098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005defad3974ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005defad398f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000742a1fe94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000742a1ff26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sscanf_5.wasm /b/s/w/ir/x/t/emtest_096146yd/emscripten_temp_z9rtlzmp/test_sscanf_5_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_096146yd/tmpk_qze8ddlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sscanf_5 (test_core.thinltoz) ... FAIL
#0 0x00005df442a91d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005df442a8f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005df442a92576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074ffeec42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074ffeec969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074ffeec969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074ffeec969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074ffeec42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074ffeec287f3 abort ./stdlib/abort.c:81:7
#9 0x000074ffeec2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074ffeec39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005df44550f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005df445506044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005df44550ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005df445505465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005df44550502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005df445505875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005df44550ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005df4454d830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005df445733e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005df444150910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005df4434d19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005df4434c32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005df4434c2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005df4434c2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005df442e1398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005df442e1a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005df442e1bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074ffeec94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074ffeed26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005770a289ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005770a289c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005770a289f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007478a8442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007478a84969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007478a84969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007478a84969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007478a8442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007478a84287f3 abort ./stdlib/abort.c:81:7
#9 0x00007478a842871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007478a8439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005770a531c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005770a5313044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005770a531ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005770a5312465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005770a531202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005770a5312875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005770a531cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005770a52e530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005770a5540e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005770a3f5d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005770a32de9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005770a32d02b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005770a32cf523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005770a32cfe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005770a2c2098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005770a2c274ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005770a2c28f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007478a8494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007478a8526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sscanf_3.wasm /b/s/w/ir/x/t/emtest_cvqubnfz/emscripten_temp_85s4ecff/test_sscanf_3_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cvqubnfz/tmppfu_rsqtlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sscanf_3 (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sscanf_4.wasm /b/s/w/ir/x/t/emtest_rggiu78c/emscripten_temp_8t10e03m/test_sscanf_4_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_rggiu78c/tmph6auuc1xlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sscanf_4 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000612fdf05ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000612fdf05c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000612fdf05f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076a21a842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076a21a8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076a21a8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076a21a8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076a21a842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076a21a8287f3 abort ./stdlib/abort.c:81:7
#9 0x000076a21a82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076a21a839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000612fe1adc6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000612fe1ad3044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000612fe1adba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000612fe1ad2465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000612fe1ad202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000612fe1ad2875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000612fe1adcfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000612fe1aa530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000612fe1d00e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000612fe071d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000612fdfa9e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000612fdfa902b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000612fdfa8f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000612fdfa8fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000612fdf3e098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000612fdf3e74ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000612fdf3e8f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076a21a894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076a21a926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005806db7dad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005806db7d87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005806db7db576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007abddc042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007abddc0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007abddc0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007abddc0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007abddc042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007abddc0287f3 abort ./stdlib/abort.c:81:7
#9 0x00007abddc02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007abddc039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005806de2586a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005806de24f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005806de257a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005806de24e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005806de24e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005806de24e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005806de258fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005806de22130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005806de47ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005806dce99910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005806dc21a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005806dc20c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005806dc20b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005806dc20be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005806dbb5c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005806dbb634ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005806dbb64f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007abddc094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007abddc126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sscanf.wasm /b/s/w/ir/x/t/emtest_95q5n1qw/emscripten_temp_gde9_b3u/test_sscanf_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_95q5n1qw/tmp88a_9y8llibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_1sjok18n/emscripten_temp_75zyl2gp/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1sjok18n/tmpm62goesslibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sscanf (test_core.thinltoz) ... FAIL
None
None
test_sscanf_2 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000597ca2c56d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000597ca2c547b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000597ca2c57576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c572e442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c572e4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c572e4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c572e4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c572e442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c572e4287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c572e42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c572e439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000597ca56d46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000597ca56cb044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000597ca56d3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000597ca56ca465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000597ca56ca02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000597ca56ca875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000597ca56d4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000597ca569d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000597ca58f8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000597ca4315910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000597ca36969f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000597ca36882b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000597ca3687523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000597ca3687e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000597ca2fd898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000597ca2fdf4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000597ca2fe0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c572e494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c572e526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o a.out.wasm /b/s/w/ir/x/t/emtest_fm21etu7/emscripten_temp_quajpbnb/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_fm21etu7/tmpt6d2mi_elibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_source_map_minimal_runtime (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000058136c64fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058136c64d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058136c650576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007261df842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007261df8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007261df8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007261df8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007261df842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007261df8287f3 abort ./stdlib/abort.c:81:7
#9 0x00007261df82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007261df839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058136f0cd6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058136f0c4044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058136f0cca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058136f0c3465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058136f0c302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058136f0c3875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058136f0cdfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058136f09630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058136f2f1e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058136dd0e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058136d08f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058136d0812b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058136d080523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058136d080e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058136c9d198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058136c9d84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058136c9d9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007261df894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007261df926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o a.out.wasm /b/s/w/ir/x/t/emtest_9_c62lz3/emscripten_temp_ibxu23yt/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9_c62lz3/tmp8r3ahjxilibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_source_map (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000577cc6040d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000577cc603e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000577cc6041576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000766b54642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000766b546969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000766b546969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000766b546969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000766b54642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000766b546287f3 abort ./stdlib/abort.c:81:7
#9 0x0000766b5462871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000766b54639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000577cc8abe6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000577cc8ab5044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000577cc8abda48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000577cc8ab4465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000577cc8ab402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000577cc8ab4875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000577cc8abefbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000577cc8a8730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000577cc8ce2e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000577cc76ff910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000577cc6a809f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000577cc6a722b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000577cc6a71523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000577cc6a71e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000577cc63c298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000577cc63c94ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000577cc63caf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000766b54694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000766b54726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sizeof.wasm /b/s/w/ir/x/t/emtest_khiehcdy/emscripten_temp_ie32u9v_/test_sizeof_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_khiehcdy/tmpmgscjo4ilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sizeof (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_signals.wasm /b/s/w/ir/x/t/emtest_s8u57wzw/emscripten_temp_iujzjijf/test_signals_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_s8u57wzw/tmpafyf2xzilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_signals (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 56 inputs in 22.37s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc++abi-noexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc++abi-noexcept.a" for subsequent builds)
system_libs:INFO: compiled 16 inputs in 2.66s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libsockets.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libsockets.a" for subsequent builds)
system_libs:INFO: compiled 27 inputs in 0.88s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libubsan_rt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libubsan_rt.a" for subsequent builds)
system_libs:INFO: compiled 14 inputs in 1.84s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libsanitizer_common_rt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libsanitizer_common_rt.a" for subsequent builds)
cache:WARNING: Accessing the Emscripten cache at "/b/s/w/ir/x/w/install/emscripten/cache" (for "sysroot/lib/wasm32-emscripten/thinlto/libdlmalloc-tracing.a") is taking a long time, another process should be writing to it. If there are none and you suspect this process has deadlocked, try deleting the lock file "/b/s/w/ir/x/w/install/emscripten/cache/cache.lock" and try again. If this occurs deterministically, consider filing a bug.
system_libs:INFO: compiled 81 inputs in 4.21s
cache:INFO: - ok
cache:INFO: generating port: sysroot/lib/wasm32-emscripten/thinlto/libsqlite3.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libsqlite3.a" for subsequent builds)
test_ubsan_full_null_ref_dylink (test_core.thinltoz) ... ok (66.63s)
test_siglongjmp_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005f1d8e353d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f1d8e3517b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f1d8e354576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007621b8442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007621b84969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007621b84969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007621b84969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007621b8442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007621b84287f3 abort ./stdlib/abort.c:81:7
#9 0x00007621b842871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007621b8439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f1d90dd16a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f1d90dc8044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f1d90dd0a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f1d90dc7465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f1d90dc702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f1d90dc7875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f1d90dd1fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f1d90d9a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f1d90ff5e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f1d8fa12910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f1d8ed939f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f1d8ed852b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f1d8ed84523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f1d8ed84e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f1d8e6d598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f1d8e6dc4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f1d8e6ddf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007621b8494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007621b8526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_siglongjmp.wasm /b/s/w/ir/x/t/emtest_nx90oksg/emscripten_temp_b6n105e8/test_siglongjmp_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_nx90oksg/tmpzb8rg35wlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_siglongjmp_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00006496ea1fcd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006496ea1fa7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006496ea1fd576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f6380242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f63802969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f63802969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f63802969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f6380242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f63802287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f638022871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f6380239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006496ecc7a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006496ecc71044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006496ecc79a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006496ecc70465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006496ecc7002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006496ecc70875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006496ecc7afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006496ecc4330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006496ece9ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006496eb8bb910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006496eac3c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006496eac2e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006496eac2d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006496eac2de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006496ea57e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006496ea5854ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006496ea586f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f6380294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f6380326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sigalrm.wasm /b/s/w/ir/x/t/emtest_udcgknth/emscripten_temp_8qhf9g43/test_sigalrm_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_udcgknth/tmpesia5zg7libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sigalrm (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005dd47915ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005dd4791587b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005dd47915b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078105ec42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078105ec969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078105ec969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078105ec969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078105ec42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078105ec287f3 abort ./stdlib/abort.c:81:7
#9 0x000078105ec2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078105ec39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005dd47bbd86a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005dd47bbcf044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005dd47bbd7a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005dd47bbce465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005dd47bbce02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005dd47bbce875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005dd47bbd8fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005dd47bba130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005dd47bdfce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005dd47a819910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005dd479b9a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005dd479b8c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005dd479b8b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005dd479b8be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005dd4794dc98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005dd4794e34ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005dd4794e4f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078105ec94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078105ed26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sigaction_default.wasm /b/s/w/ir/x/t/emtest_rz1mqdh2/emscripten_temp_sjvazncy/test_sigaction_default_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_rz1mqdh2/tmp704mkj6slibemscripten_js_symbols.so --strip-debug --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sigaction_default_sigint (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000057732c69ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057732c69c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057732c69f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c3a4f442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c3a4f4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c3a4f4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c3a4f4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c3a4f442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c3a4f4287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c3a4f42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c3a4f439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057732f11c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057732f113044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057732f11ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057732f112465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057732f11202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057732f112875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057732f11cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057732f0e530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057732f340e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057732dd5d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057732d0de9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057732d0d02b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057732d0cf523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057732d0cfe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057732ca2098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057732ca274ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057732ca28f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c3a4f494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c3a4f526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sigaction_default.wasm /b/s/w/ir/x/t/emtest_4o4pkp03/emscripten_temp_f2nulw2d/test_sigaction_default_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_4o4pkp03/tmpu560dsxclibemscripten_js_symbols.so --strip-debug --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sigaction_default_sigabrt (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000062558a894d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000062558a8927b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000062558a895576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079f1c5642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079f1c56969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000079f1c56969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000079f1c56969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000079f1c5642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000079f1c56287f3 abort ./stdlib/abort.c:81:7
#9 0x000079f1c562871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000079f1c5639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062558d3126a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062558d309044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062558d311a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062558d308465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062558d30802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062558d308875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062558d312fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062558d2db30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062558d536e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062558bf53910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062558b2d49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062558b2c62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062558b2c5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062558b2c5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062558ac1698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062558ac1d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062558ac1ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000079f1c5694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000079f1c5726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o sha1.wasm /b/s/w/ir/x/t/emtest_5dr4hnp7/emscripten_temp_qwd8o6ci/sha1_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5dr4hnp7/tmpbj6odzb3libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sha1 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_setlocale.wasm /b/s/w/ir/x/t/emtest_3ck_lh3k/emscripten_temp_h_gdm5i2/test_setlocale_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_3ck_lh3k/tmpnf_a3_nclibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_setlocale (test_core.thinltoz) ... FAIL
cache:WARNING: Accessing the Emscripten cache at "/b/s/w/ir/x/w/install/emscripten/cache" (for "sysroot/lib/wasm32-emscripten/thinlto-pic/libc.a") is taking a long time, another process should be writing to it. If there are none and you suspect this process has deadlocked, try deleting the lock file "/b/s/w/ir/x/w/install/emscripten/cache/cache.lock" and try again. If this occurs deterministically, consider filing a bug.
system_libs:INFO: compiled 1 inputs in 28.05s
cache:INFO: - ok
cache:INFO: generating port: sysroot/lib/wasm32-emscripten/thinlto/libsqlite3-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libsqlite3-mt.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005d2d6084bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d2d608497b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d2d6084c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007dcc4fa42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007dcc4fa969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007dcc4fa969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007dcc4fa969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007dcc4fa42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007dcc4fa287f3 abort ./stdlib/abort.c:81:7
#9 0x00007dcc4fa2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007dcc4fa39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d2d632c96a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d2d632c0044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d2d632c8a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d2d632bf465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d2d632bf02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d2d632bf875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d2d632c9fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d2d6329230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d2d634ede76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d2d61f0a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d2d6128b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d2d6127d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d2d6127c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d2d6127ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d2d60bcd98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d2d60bd44ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d2d60bd5f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007dcc4fa94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007dcc4fb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test.wasm /b/s/w/ir/x/t/emtest_w6mnz_t2/emscripten_temp_ym_fcmp_/test_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libsqlite3.a -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_w6mnz_t2/tmpcme6f_61libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sqlite (test_core.thinltoz) ... FAIL
test_setjmp_within_loop_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000063cbaae82d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063cbaae807b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063cbaae83576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b2732842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b27328969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b27328969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b27328969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b2732842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b27328287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b273282871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b2732839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063cbad9006a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063cbad8f7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063cbad8ffa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063cbad8f6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063cbad8f602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063cbad8f6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063cbad900fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063cbad8c930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063cbadb24e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063cbac541910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063cbab8c29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063cbab8b42b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063cbab8b3523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063cbab8b3e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063cbab20498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063cbab20b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063cbab20cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b2732894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b2732926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_setjmp_within_loop.wasm /b/s/w/ir/x/t/emtest_u7pem9yo/emscripten_temp_1fchge0i/test_setjmp_within_loop_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_u7pem9yo/tmph40au9rrlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_setjmp_within_loop_emscripten (test_core.thinltoz) ... FAIL
cache:WARNING: Accessing the Emscripten cache at "/b/s/w/ir/x/w/install/emscripten/cache" (for "sysroot/lib/wasm32-emscripten/thinlto/libsqlite3.a") is taking a long time, another process should be writing to it. If there are none and you suspect this process has deadlocked, try deleting the lock file "/b/s/w/ir/x/w/install/emscripten/cache/cache.lock" and try again. If this occurs deterministically, consider filing a bug.
cache:WARNING: Accessing the Emscripten cache at "/b/s/w/ir/x/w/install/emscripten/cache" (for "sysroot/lib/wasm32-emscripten/thinlto/libsqlite3-mt.a") is taking a long time, another process should be writing to it. If there are none and you suspect this process has deadlocked, try deleting the lock file "/b/s/w/ir/x/w/install/emscripten/cache/cache.lock" and try again. If this occurs deterministically, consider filing a bug.
cache:WARNING: Accessing the Emscripten cache at "/b/s/w/ir/x/w/install/emscripten/cache" (for "sysroot/lib/wasm32-emscripten/thinlto/libcompiler_rt-legacysjlj.a") is taking a long time, another process should be writing to it. If there are none and you suspect this process has deadlocked, try deleting the lock file "/b/s/w/ir/x/w/install/emscripten/cache/cache.lock" and try again. If this occurs deterministically, consider filing a bug.
system_libs:INFO: compiled 1 inputs in 26.86s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libdlmalloc-tracing.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libdlmalloc-tracing.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs in 0.67s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libcompiler_rt-legacysjlj.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libcompiler_rt-legacysjlj.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000056c5f68b7d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056c5f68b57b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056c5f68b8576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078d53cc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078d53cc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078d53cc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078d53cc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078d53cc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078d53cc287f3 abort ./stdlib/abort.c:81:7
#9 0x000078d53cc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078d53cc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056c5f93356a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056c5f932c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056c5f9334a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056c5f932b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056c5f932b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056c5f932b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056c5f9335fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056c5f92fe30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056c5f9559e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056c5f7f76910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056c5f72f79f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056c5f72e92b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056c5f72e8523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056c5f72e8e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056c5f6c3998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056c5f6c404ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056c5f6c41f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078d53cc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078d53cd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000062e52753dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000062e52753b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000062e52753e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000769aece42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000769aece969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000769aece969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000769aece969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000769aece42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000769aece287f3 abort ./stdlib/abort.c:81:7
#9 0x0000769aece2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000769aece39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062e529fbb6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062e529fb2044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062e529fbaa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062e529fb1465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062e529fb102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062e529fb1875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062e529fbbfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062e529f8430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062e52a1dfe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062e528bfc910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062e527f7d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062e527f6f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062e527f6e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062e527f6ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062e5278bf98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062e5278c64ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_tracing.wasm /b/s/w/ir/x/t/emtest_3w53sv04/emscripten_temp_66zr1uzo/test_tracing_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc-tracing -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_3w53sv04/tmpo3izphl1libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=sbrk --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062e5278c7f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000769aece94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000769aecf26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_tracing (test_core.thinltoz) ... FAIL
test_setjmp_noleak_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test.wasm /b/s/w/ir/x/t/emtest_g64yx1fa/emscripten_temp_x3bl1ir_/test_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libsqlite3-mt.a /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_g64yx1fa/tmpx_03mu8tlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sqlite_pthreads (test_core.thinltoz) ... FAIL
NUM=1
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
#0 0x000059526ccfbd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000059526ccf97b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059526ccfc576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000722c9e842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000722c9e8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000722c9e8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000722c9e8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000722c9e842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000722c9e8287f3 abort ./stdlib/abort.c:81:7
#9 0x0000722c9e82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000722c9e839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059526f7796a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000059526f770044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000059526f778a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000059526f76f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000059526f76f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000059526f76f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000059526f779fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059526f74230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059526f99de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059526e3ba910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000059526d73b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000059526d72d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000059526d72c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000059526d72ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059526d07d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000059526d0844ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000059526d085f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000722c9e894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000722c9e926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test.wasm /b/s/w/ir/x/t/emtest_x75cmr44/emscripten_temp_wzcm721j/test_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libsqlite3.a -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs_no_fs -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_x75cmr44/tmpqu6wbjm6libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sqlite_wasmfs (test_core.thinltoz) ... FAIL
test_setjmp_many_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
NUM=1
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_setjmp_noleak.wasm /b/s/w/ir/x/t/emtest_5oquab15/emscripten_temp_5f1drj42/test_setjmp_noleak_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5oquab15/tmp1lja1y96libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_setjmp_noleak_emscripten (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 182 inputs in 3.43s
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc++-mt-noexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc++-mt-noexcept.a" for subsequent builds)
#0 0x0000559b1ed57d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000559b1ed557b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000559b1ed58576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078b122e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078b122e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078b122e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078b122e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078b122e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078b122e287f3 abort ./stdlib/abort.c:81:7
#9 0x000078b122e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078b122e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000559b217d56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000559b217cc044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000559b217d4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000559b217cb465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000559b217cb02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000559b217cb875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000559b217d5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000559b2179e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000559b219f9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000559b20416910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000559b1f7979f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000559b1f7892b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000559b1f788523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000559b1f788e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000559b1f0d998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000559b1f0e04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000559b1f0e1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078b122e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078b122f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_8fr49a2o/emscripten_temp_78a6kfo1/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8fr49a2o/tmpr57kmpxrlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_setjmp_many_emscripten (test_core.thinltoz) ... FAIL
test_setjmp_many_2_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005d3817db4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d3817db27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d3817db5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000723f61c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000723f61c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000723f61c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000723f61c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000723f61c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000723f61c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000723f61c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000723f61c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d381a8326a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d381a829044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d381a831a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d381a828465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d381a82802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d381a828875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d381a832fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d381a7fb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d381aa56e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d3819473910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d38187f49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d38187e62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d38187e5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d38187e5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d381813698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d381813d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d381813ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000723f61c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000723f61d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005b79fb088d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b79fb0867b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b79fb089576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fa869c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007fa869c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007fa869c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007fa869c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007fa869c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007fa869c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007fa869c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007fa869c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b79fdb066a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b79fdafd044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b79fdb05a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b79fdafc465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b79fdafc02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b79fdafc875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b79fdb06fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b79fdacf30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b79fdd2ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b79fc747910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b79fbac89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b79fbaba2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b79fbab9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b79fbab9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b79fb40a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b79fb4114ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b79fb412f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007fa869c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007fa869d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000580d87f85d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000580d87f837b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000580d87f86576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072faae842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072faae8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072faae8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072faae8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072faae842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072faae8287f3 abort ./stdlib/abort.c:81:7
#9 0x000072faae82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072faae839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000580d8aa036a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000580d8a9fa044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000580d8aa02a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000580d8a9f9465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000580d8a9f902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000580d8a9f9875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000580d8aa03fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000580d8a9cc30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000580d8ac27e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000580d89644910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000580d889c59f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000580d889b72b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000580d889b6523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000580d889b6e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000580d8830798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000580d8830e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000580d8830ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072faae894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072faae926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_lml5479h/emscripten_temp_fgfc3cko/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_lml5479h/tmp9vsy2x9zlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_l0cwkji0/emscripten_temp_jfvfztaq/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_l0cwkji0/tmpddrp73oklibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005823cb5b0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005823cb5ae7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005823cb5b1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074c88fc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074c88fc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074c88fc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074c88fc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074c88fc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074c88fc287f3 abort ./stdlib/abort.c:81:7
#9 0x000074c88fc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074c88fc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005823ce02e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005823ce025044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005823ce02da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005823ce024465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005823ce02402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005823ce024875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005823ce02efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005823cdff730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005823ce252e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005823ccc6f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005823cbff09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005823cbfe22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005823cbfe1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005823cbfe1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005823cb93298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005823cb9394ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005823cb93af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074c88fc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074c88fd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_setjmp_within_loop.wasm /b/s/w/ir/x/t/emtest_5_khugps/emscripten_temp_mq1ogmjm/test_setjmp_within_loop_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_5_khugps/tmprqtl4cdblibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_setjmp_many_wasm_legacy (test_core.thinltoz) ... FAIL
None
None
test_setjmp_within_loop_wasm_legacy (test_core.thinltoz) ... FAIL
None
None
test_setjmp_many_2_wasm_legacy (test_core.thinltoz) ... FAIL
get_null()
#0 0x0000585094959d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005850949577b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058509495a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007dae8a642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007dae8a6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007dae8a6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007dae8a6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007dae8a642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007dae8a6287f3 abort ./stdlib/abort.c:81:7
#9 0x00007dae8a62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007dae8a639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005850973d76a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005850973ce044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005850973d6a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005850973cd465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005850973cd02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005850973cd875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005850973d7fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005850973a030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005850975fbe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000585096018910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005850953999f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058509538b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058509538a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058509538ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000585094cdb98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000585094ce24ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000585094ce3f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007dae8a694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007dae8a726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_siglongjmp.wasm /b/s/w/ir/x/t/emtest_s_tvxfi_/emscripten_temp_86ksi_71/test_siglongjmp_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_s_tvxfi_/tmpfaditfajlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_siglongjmp_wasm_legacy (test_core.thinltoz) ... FAIL
#0 0x0000617bdcc56d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000617bdcc547b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000617bdcc57576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000700ad4c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000700ad4c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000700ad4c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000700ad4c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000700ad4c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000700ad4c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000700ad4c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000700ad4c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000617bdf6d46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000617bdf6cb044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000617bdf6d3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000617bdf6ca465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000617bdf6ca02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000617bdf6ca875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000617bdf6d4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000617bdf69d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000617bdf8f8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000617bde315910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000617bdd6969f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000617bdd6882b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000617bdd687523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000617bdd687e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000617bdcfd898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000617bdcfdf4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000617bdcfe0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000700ad4c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000700ad4d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_alz50chr/emscripten_temp_4v2tw3qv/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_alz50chr/tmpby5qmhuhlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_setjmp_many_2_emscripten (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_setjmp_noleak.wasm /b/s/w/ir/x/t/emtest_tgrjqimo/emscripten_temp_o5ny33vs/test_setjmp_noleak_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_tgrjqimo/tmpophj2boglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_setjmp_noleak_wasm_legacy (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000653828e5fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000653828e5d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000653828e60576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077e248442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077e2484969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000077e2484969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000077e2484969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000077e248442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000077e2484287f3 abort ./stdlib/abort.c:81:7
#9 0x000077e24842871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000077e248439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000065382b8dd6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000065382b8d4044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000065382b8dca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000065382b8d3465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000065382b8d302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000065382b8d3875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000065382b8ddfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000065382b8a630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000065382bb01e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000065382a51e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000065382989f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006538298912b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000653829890523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000653829890e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006538291e198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006538291e84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006538291e9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000077e248494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000077e248526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stack_placement.wasm --whole-archive /b/s/w/ir/x/t/emtest_tirxlmeh/emscripten_temp_kz3l1kjd/test_stack_placement_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=strerror --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy /b/s/w/ir/x/t/emtest_tirxlmeh/tmp6euponwxlibemscripten_js_symbols.so --import-memory --strip-debug --export-dynamic -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_tempret_get --export=_emscripten_tempret_set --export=strerror --export=htons --export=ntohs --export=malloc --export=htonl --export=_emscripten_timeout --export=realloc --export=free --export=fileno --export=emscripten_builtin_memalign --export=__dl_seterr --export=memcmp --export=memcpy --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --experimental-pic --unresolved-symbols=import-dynamic -pie -z stack-size=1024 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_stack_placement_pic (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005f3372a56d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f3372a547b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f3372a57576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072d6d9042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072d6d90969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072d6d90969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072d6d90969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072d6d9042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072d6d90287f3 abort ./stdlib/abort.c:81:7
#9 0x000072d6d902871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072d6d9039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f33754d46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f33754cb044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f33754d3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f33754ca465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f33754ca02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f33754ca875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f33754d4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f337549d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f33756f8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f3374115910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f33734969f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f33734882b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f3373487523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f3373487e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f3372dd898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f3372ddf4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f3372de0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072d6d9094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072d6d9126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sbrk_brk.wasm /b/s/w/ir/x/t/emtest_wlxv2dun/emscripten_temp_rlao9qex/test_sbrk_brk_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wlxv2dun/tmp1vadzs96libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sbrk (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000643f363b1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000643f363af7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000643f363b2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000070fc49042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000070fc490969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000070fc490969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000070fc490969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000070fc49042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000070fc490287f3 abort ./stdlib/abort.c:81:7
#9 0x000070fc4902871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000070fc49039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000643f38e2f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000643f38e26044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000643f38e2ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000643f38e25465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000643f38e2502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000643f38e25875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000643f38e2ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000643f38df830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000643f39053e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000643f37a70910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000643f36df19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000643f36de32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000643f36de2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000643f36de2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000643f3673398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000643f3673a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000643f3673bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000070fc49094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000070fc49126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sanitize_vptr.wasm /b/s/w/ir/x/t/emtest_505wkhe6/emscripten_temp_4d69df5u/test_sanitize_vptr_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lubsan_rt -lsanitizer_common_rt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_505wkhe6/tmpru2cgswnlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=malloc --export=calloc --export=memalign --export=free --export=emscripten_builtin_malloc --export=emscripten_builtin_calloc --export=emscripten_builtin_memalign --export=emscripten_builtin_free --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000057dace470d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057dace46e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057dace471576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077b72a642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077b72a6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000077b72a6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000077b72a6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000077b72a642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000077b72a6287f3 abort ./stdlib/abort.c:81:7
#9 0x000077b72a62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000077b72a639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057dad0eee6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057dad0ee5044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057dad0eeda48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057dad0ee4465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057dad0ee402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057dad0ee4875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057dad0eeefbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057dad0eb730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057dad1112e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057dacfb2f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057daceeb09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057daceea22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057daceea1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057daceea1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057dace7f298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057dace7f94ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057dace7faf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000077b72a694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000077b72a726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_sanitize_vptr (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_set_align.wasm /b/s/w/ir/x/t/emtest_tnm5jjgo/emscripten_temp_6vk3urrn/test_set_align_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_tnm5jjgo/tmplc4tiv6ylibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=sbrk --export=_emscripten_stack_alloc --export=emscripten_get_sbrk_ptr --export=emscripten_stack_get_base --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_set_align (test_core.thinltoz) ... FAIL
#0 0x000056fff008fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056fff008d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056fff0090576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f647f642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f647f6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f647f6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f647f6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f647f642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f647f6287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f647f62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f647f639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056fff2b0d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056fff2b04044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056fff2b0ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056fff2b03465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056fff2b0302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056fff2b03875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056fff2b0dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056fff2ad630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056fff2d31e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056fff174e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056fff0acf9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056fff0ac12b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056fff0ac0523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056fff0ac0e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056fff041198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056fff04184ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056fff0419f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f647f694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f647f726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_nzu9qgb4/emscripten_temp__bgbudvg/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_nzu9qgb4/tmp8cx0f5z7libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=sbrk --export=_emscripten_stack_alloc --export=emscripten_get_sbrk_ptr --export=emscripten_stack_get_base --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_segfault (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000063bbb5103d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063bbb51017b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063bbb5104576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000771914842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007719148969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007719148969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007719148969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000771914842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007719148287f3 abort ./stdlib/abort.c:81:7
#9 0x000077191482871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000771914839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063bbb7b816a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063bbb7b78044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063bbb7b80a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063bbb7b77465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063bbb7b7702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063bbb7b77875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063bbb7b81fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063bbb7b4a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063bbb7da5e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063bbb67c2910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063bbb5b439f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063bbb5b352b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063bbb5b34523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063bbb5b34e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063bbb548598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063bbb548c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063bbb548df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000771914894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000771914926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005e4f1f4ded28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e4f1f4dc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e4f1f4df576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a6298842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a62988969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a62988969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a62988969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a6298842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a62988287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a629882871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a6298839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e4f21f5c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e4f21f53044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e4f21f5ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e4f21f52465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e4f21f5202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e4f21f52875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e4f21f5cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e4f21f2530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e4f22180e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e4f20b9d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e4f1ff1e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e4f1ff102b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e4f1ff0f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e4f1ff0fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e4f1f86098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e4f1f8674ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e4f1f868f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a6298894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a6298926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_runtime_stacksave.wasm /b/s/w/ir/x/t/emtest_ex82kau6/emscripten_temp_4lh2rs9j/test_runtime_stacksave_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ex82kau6/tmpg03he52plibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_safe_stack_alloca.wasm /b/s/w/ir/x/t/emtest_pmzppole/emscripten_temp_0yyllr1m/test_safe_stack_alloca_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_pmzppole/tmpd_i09yj3libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_safe_stack_alloca (test_core.thinltoz) ... FAIL
None
None
test_runtime_stacksave (test_core.thinltoz) ... FAIL
#0 0x00005d5dc4f8bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d5dc4f897b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d5dc4f8c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000727d3a842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000727d3a8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000727d3a8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000727d3a8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000727d3a842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000727d3a8287f3 abort ./stdlib/abort.c:81:7
#9 0x0000727d3a82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000727d3a839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d5dc7a096a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d5dc7a00044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d5dc7a08a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d5dc79ff465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d5dc79ff02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d5dc79ff875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d5dc7a09fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d5dc79d230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d5dc7c2de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d5dc664a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d5dc59cb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d5dc59bd2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d5dc59bc523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d5dc59bce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d5dc530d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d5dc53144ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d5dc5315f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000727d3a894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000727d3a926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_safe_stack.wasm /b/s/w/ir/x/t/emtest_kcmlami4/emscripten_temp__fhblgtf/test_safe_stack_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_kcmlami4/tmp13iyvl5_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=1024 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_safe_stack (test_core.thinltoz) ... FAIL
common:WARNING: no wasm engine was found to run the standalone part of this test
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000064d06a9d9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000064d06a9d77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000064d06a9da576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078d9ba042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078d9ba0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078d9ba0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078d9ba0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078d9ba042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078d9ba0287f3 abort ./stdlib/abort.c:81:7
#9 0x000078d9ba02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078d9ba039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000064d06d4576a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000064d06d44e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000064d06d456a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000064d06d44d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000064d06d44d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000064d06d44d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000064d06d457fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000064d06d42030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000064d06d67be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000064d06c098910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000064d06b4199f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000064d06b40b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000064d06b40a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000064d06b40ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064d06ad5b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000064d06ad624ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000064d06ad63f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078d9ba094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078d9ba126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_rounding.wasm /b/s/w/ir/x/t/emtest_vlsq2v48/emscripten_temp_3xcwlaf0/test_rounding_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_vlsq2v48/tmpiliaxowglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005b056c66dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b056c66b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b056c66e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f0614442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f06144969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f06144969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f06144969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f0614442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f06144287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f061442871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f0614439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b056f0eb6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b056f0e2044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b056f0eaa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b056f0e1465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b056f0e102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b056f0e1875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b056f0ebfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b056f0b430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b056f30fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b056dd2c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b056d0ad9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b056d09f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b056d09e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b056d09ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b056c9ef98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b056c9f64ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b056c9f7f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f0614494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f0614526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_rounding (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o response_file.wasm /b/s/w/ir/x/t/emtest_n8itq2m6/emscripten_temp_ho2q3tpu/hello_world_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_n8itq2m6/tmpipyz40sqlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_response_file (test_core.thinltoz) ... FAIL
#0 0x00005813345c4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005813345c27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005813345c5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000720a8ca42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000720a8ca969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000720a8ca969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000720a8ca969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000720a8ca42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000720a8ca287f3 abort ./stdlib/abort.c:81:7
#9 0x0000720a8ca2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000720a8ca39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005813370426a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000581337039044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000581337041a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000581337038465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058133703802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000581337038875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000581337042fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058133700b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000581337266e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000581335c83910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005813350049f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000581334ff62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000581334ff5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000581334ff5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058133494698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058133494d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058133494ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000720a8ca94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000720a8cb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_return_address.wasm /b/s/w/ir/x/t/emtest_l2thcuss/emscripten_temp_ar84lye1/test_return_address_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_l2thcuss/tmpvhx_nohnlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_return_address (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005ac24d3b3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ac24d3b17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ac24d3b4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a91c6242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a91c62969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a91c62969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a91c62969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a91c6242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a91c62287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a91c622871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a91c6239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ac24fe316a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ac24fe28044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ac24fe30a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ac24fe27465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ac24fe2702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ac24fe27875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ac24fe31fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ac24fdfa30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ac250055e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ac24ea72910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ac24ddf39f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ac24dde52b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ac24dde4523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ac24dde4e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ac24d73598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ac24d73c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ac24d73df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a91c6294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a91c6326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000055c2df6e3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055c2df6e17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055c2df6e4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f1fb1442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f1fb14969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f1fb14969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f1fb14969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f1fb1442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f1fb14287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f1fb142871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f1fb1439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055c2e21616a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055c2e2158044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055c2e2160a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055c2e2157465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055c2e215702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055c2e2157875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055c2e2161fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055c2e212a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055c2e2385e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055c2e0da2910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055c2e01239f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055c2e01152b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055c2e0114523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055c2e0114e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055c2dfa6598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055c2dfa6c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055c2dfa6df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f1fb1494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f1fb1526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_rename.wasm /b/s/w/ir/x/t/emtest_op3hfxcx/emscripten_temp_fw9fym1b/test_rename_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_op3hfxcx/tmp5e35mg4klibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_rename.wasm /b/s/w/ir/x/t/emtest_006bqb08/emscripten_temp_w3h1mir6/test_rename_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs_no_fs -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_006bqb08/tmp1iu6gyv5libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_rename_wasmfs (test_core.thinltoz) ... FAIL
None
None
test_rename (test_core.thinltoz) ... FAIL
#0 0x000059e3691d6d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000059e3691d47b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059e3691d7576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a961c042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a961c0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a961c0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a961c0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a961c042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a961c0287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a961c02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a961c039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059e36bc546a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000059e36bc4b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000059e36bc53a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000059e36bc4a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000059e36bc4a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000059e36bc4a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000059e36bc54fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059e36bc1d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059e36be78e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059e36a895910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000059e369c169f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000059e369c082b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000059e369c07523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000059e369c07e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059e36955898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000059e36955f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000059e369560f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a961c094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a961c126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_remove.wasm /b/s/w/ir/x/t/emtest_zo_98eo1/emscripten_temp_5_kh46ee/test_remove_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_zo_98eo1/tmpxg2xzmldlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_remove (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005a40aab3fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a40aab3d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a40aab40576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e67a3442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e67a34969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e67a34969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e67a34969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e67a3442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e67a34287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e67a342871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e67a3439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a40ad5bd6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a40ad5b4044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a40ad5bca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a40ad5b3465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a40ad5b302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a40ad5b3875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a40ad5bdfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a40ad58630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a40ad7e1e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a40ac1fe910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a40ab57f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a40ab5712b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a40ab570523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a40ab570e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a40aaec198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a40aaec84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a40aaec9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e67a3494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e67a3526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_reinterpreted_ptrs.wasm /b/s/w/ir/x/t/emtest_bnwc1ngi/emscripten_temp_s9qp_0zl/test_reinterpreted_ptrs_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_bnwc1ngi/tmp3e0qpypqlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_reinterpreted_ptrs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_safe_stack_dylink_reversed (test_core.thinltoz) ... ok (12.59s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_safe_stack_dylink (test_core.thinltoz) ... ok (12.06s)
#0 0x00006159e2e43d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006159e2e417b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006159e2e44576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000736498e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000736498e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000736498e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000736498e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000736498e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000736498e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000736498e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000736498e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006159e58c16a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006159e58b8044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006159e58c0a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006159e58b7465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006159e58b702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006159e58b7875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006159e58c1fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006159e588a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006159e5ae5e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006159e4502910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006159e38839f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006159e38752b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006159e3874523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006159e3874e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006159e31c598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006159e31cc4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006159e31cdf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000736498e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000736498f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000584bb2c39d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000584bb2c377b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000584bb2c3a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000756e01842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000756e018969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000756e018969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000756e018969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000756e01842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000756e018287f3 abort ./stdlib/abort.c:81:7
#9 0x0000756e0182871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000756e01839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000584bb56b76a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000584bb56ae044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000584bb56b6a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000584bb56ad465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000584bb56ad02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000584bb56ad875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000584bb56b7fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000584bb568030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000584bb58dbe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000584bb42f8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000584bb36799f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000584bb366b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000584bb366a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000584bb366ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000584bb2fbb98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000584bb2fc24ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000584bb2fc3f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000756e01894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000756e01926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sse1.wasm /b/s/w/ir/x/t/emtest_np4pfvs2/emscripten_temp_ihga95v_/test_sse1_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_np4pfvs2/tmplwo9k9dalibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_relaxed_simd_implies_simd128 (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_readdir_unlink.wasm /b/s/w/ir/x/t/emtest_6tfkdcaj/emscripten_temp_dtpaz3uv/test_readdir_unlink_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_6tfkdcaj/tmp_sgs8zb4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_readdir_unlink (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005c4af9d25d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c4af9d237b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c4af9d26576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000772480a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000772480a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000772480a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000772480a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000772480a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000772480a287f3 abort ./stdlib/abort.c:81:7
#9 0x0000772480a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000772480a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c4afc7a36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c4afc79a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c4afc7a2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c4afc799465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c4afc79902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c4afc799875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c4afc7a3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c4afc76c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c4afc9c7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c4afb3e4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c4afa7659f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c4afa7572b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c4afa756523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c4afa756e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c4afa0a798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c4afa0ae4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c4afa0aff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000772480a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000772480b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000063fc012a2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063fc012a07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063fc012a3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077295d442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077295d4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000077295d4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000077295d4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000077295d442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000077295d4287f3 abort ./stdlib/abort.c:81:7
#9 0x000077295d42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000077295d439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063fc03d206a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063fc03d17044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063fc03d1fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063fc03d16465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063fc03d1602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063fc03d16875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063fc03d20fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063fc03ce930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063fc03f44e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063fc02961910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063fc01ce29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063fc01cd42b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063fc01cd3523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063fc01cd3e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063fc0162498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063fc0162b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063fc0162cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000077295d494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000077295d526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005fff5fed6d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005fff5fed47b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005fff5fed7576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000717836042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007178360969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007178360969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007178360969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000717836042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007178360287f3 abort ./stdlib/abort.c:81:7
#9 0x000071783602871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000717836039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005fff629546a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005fff6294b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005fff62953a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005fff6294a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005fff6294a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005fff6294a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005fff62954fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005fff6291d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005fff62b78e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005fff61595910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005fff609169f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005fff609082b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005fff60907523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005fff60907e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005fff6025898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005fff6025f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005fff60260f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000717836094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000717836126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_readdir_empty.wasm /b/s/w/ir/x/t/emtest_h04vdc5v/emscripten_temp_o44g6l09/test_readdir_empty_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_h04vdc5v/tmphecb4wcwlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_readdir.wasm /b/s/w/ir/x/t/emtest_qu_nj85d/emscripten_temp_nvgysu02/test_readdir_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_qu_nj85d/tmp45h3o3_glibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_readdir_empty.wasm /b/s/w/ir/x/t/emtest_je2s0c3j/emscripten_temp_v_vpiqj5/test_readdir_empty_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_je2s0c3j/tmptrm6jvw3libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_readdir_empty_bigint (test_core.thinltoz) ... FAIL
None
None
test_readdir_rawfs (test_core.thinltoz) ... FAIL
test_raytrace (test_core.thinltoz) ... skipped 'Relies on double value rounding, extremely sensitive'
None
None
test_readdir_empty (test_core.thinltoz) ... FAIL
#0 0x000057faef687d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057faef6857b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057faef688576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c7561e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c7561e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c7561e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c7561e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c7561e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c7561e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c7561e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c7561e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057faf21056a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057faf20fc044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057faf2104a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057faf20fb465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057faf20fb02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057faf20fb875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057faf2105fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057faf20ce30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057faf2329e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057faf0d46910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057faf00c79f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057faf00b92b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057faf00b8523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057faf00b8e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057faefa0998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057faefa104ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057faefa11f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c7561e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c7561f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_readdir.wasm /b/s/w/ir/x/t/emtest_j33ukr0u/emscripten_temp_1i8iglme/test_readdir_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_j33ukr0u/tmpq6vtaooilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_readdir (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000064e24e9b3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000064e24e9b17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000064e24e9b4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000786e62e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000786e62e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000786e62e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000786e62e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000786e62e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000786e62e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000786e62e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000786e62e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000064e2514316a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000064e251428044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000064e251430a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000064e251427465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000064e25142702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000064e251427875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000064e251431fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000064e2513fa30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000064e251655e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000064e250072910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000064e24f3f39f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000064e24f3e52b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000064e24f3e4523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000064e24f3e4e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064e24ed3598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000064e24ed3c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000064e24ed3df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000786e62e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000786e62f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_relocatable_void_function (test_core.thinltoz) ... ok (7.69s)
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_rand.wasm /b/s/w/ir/x/t/emtest_yhckpuak/emscripten_temp_59qbmbvc/test_rand_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_yhckpuak/tmpfntmtclwlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005c6978e0bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c6978e097b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c6978e0c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073fe79a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073fe79a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073fe79a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073fe79a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073fe79a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073fe79a287f3 abort ./stdlib/abort.c:81:7
#9 0x000073fe79a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073fe79a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c697b8896a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c697b880044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c697b888a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c697b87f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c697b87f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c697b87f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c697b889fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c697b85230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c697baade76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c697a4ca910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c697984b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c697983d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c697983c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c697983ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c697918d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c69791944ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c6979195f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073fe79a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073fe79b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_rand (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_p6tuxb4z/emscripten_temp_pkv191pn/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_p6tuxb4z/tmphto5ixa0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_random (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_weak_ref.wasm /b/s/w/ir/x/t/emtest_40bfk898/emscripten_temp_ih06idar/test_pthread_weak_ref_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_40bfk898/tmpao7oxn3qlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_weak_ref (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_wait64_notify.wasm /b/s/w/ir/x/t/emtest_kj1h1j4a/emscripten_temp_ho4ng0wm/test_wait64_notify_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_kj1h1j4a/tmpvk29ec9slibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_wait32_notify.wasm /b/s/w/ir/x/t/emtest_pv7eflus/emscripten_temp_9lyefjuh/test_wait32_notify_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_pv7eflus/tmpk9_19838libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_wait64_notify (test_core.thinltoz) ... FAIL
None
None
test_pthread_wait32_notify (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_random_device.wasm /b/s/w/ir/x/t/emtest_1i9zgh_9/emscripten_temp_das14gmn/test_random_device_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1i9zgh_9/tmpj2p38zholibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_random_device (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_stdout_after_main.wasm /b/s/w/ir/x/t/emtest_04h7hffa/emscripten_temp_2vqb8wgb/test_pthread_stdout_after_main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_04h7hffa/tmpf3ihk522libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_stdout_after_main (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005985874ffd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005985874fd7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000598587500576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ea053642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ea0536969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ea0536969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ea0536969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ea053642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ea0536287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ea05362871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ea053639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000598589f7d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000598589f74044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000598589f7ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000598589f73465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000598589f7302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000598589f73875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000598589f7dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000598589f4630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059858a1a1e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000598588bbe910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000598587f3f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000598587f312b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000598587f30523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000598587f30e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059858788198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005985878884ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000598587889f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ea053694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ea053726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o specific.wasm /b/s/w/ir/x/t/emtest_y5lhlxsn/emscripten_temp_r4y4wfog/specific_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_y5lhlxsn/tmpryo3deijlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_specific (test_core.thinltoz) ... FAIL
.. return
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_setspecific_mainthread.wasm /b/s/w/ir/x/t/emtest_fr9ui95u/emscripten_temp_rjun5o8n/test_pthread_setspecific_mainthread_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_fr9ui95u/tmpwye1acsdlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_setspecific_mainthread (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005a8f62511d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a8f6250f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a8f62512576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000786680e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000786680e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000786680e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000786680e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000786680e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000786680e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000786680e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000786680e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a8f64f8f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a8f64f86044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a8f64f8ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a8f64f85465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a8f64f8502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a8f64f85875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a8f64f8ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a8f64f5830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a8f651b3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a8f63bd0910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a8f62f519f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a8f62f432b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a8f62f42523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a8f62f42e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a8f6289398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a8f6289a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a8f6289bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000786680e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000786680f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
system_libs:INFO: compiled 56 inputs in 27.15s
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_run_script.wasm /b/s/w/ir/x/t/emtest_43yv5erc/emscripten_temp_mo42u5n5/test_pthread_run_script_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_43yv5erc/tmp6pdjd9u8libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_run_script (test_core.thinltoz) ... FAIL
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc++abi-mt-noexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc++abi-mt-noexcept.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_run_on_main_thread.wasm /b/s/w/ir/x/t/emtest_zc6y6rr4/emscripten_temp_2qkk7fp_/test_pthread_run_on_main_thread_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_zc6y6rr4/tmpcrtrb3t2libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_run_on_main_thread_minimal_runtime (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_run_on_main_thread.wasm /b/s/w/ir/x/t/emtest_44oso21d/emscripten_temp_szicug_1/test_pthread_run_on_main_thread_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_44oso21d/tmpewgkzydnlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_run_on_main_thread (test_core.thinltoz) ... FAIL
test_pthread_proxying_refcount (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/19795'
test_pthread_proxying_modularize (test_core.thinltoz) ... skipped 'also_with_modularize is not compatible with WASM_ESM_INTEGRATION'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_proxying_dropped_work.wasm /b/s/w/ir/x/t/emtest_ybvbst9s/emscripten_temp_d5fytqk2/test_pthread_proxying_dropped_work_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ybvbst9s/tmp8ep93giulibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_proxying_dropped_work (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 16 inputs in 2.76s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libwasmfs-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libwasmfs-mt.a" for subsequent builds)
system_libs:INFO: compiled 15 inputs in 7.38s
cache:INFO: - ok
cache:INFO: generating system asset: sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o" for subsequent builds)
system_libs:INFO: compiled 1 inputs in 0.17s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libstandalonewasm-nocatch-memgrow-pure.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libstandalonewasm-nocatch-memgrow-pure.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
system_libs:INFO: compiled 14 inputs in 0.91s
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
cache:INFO: - ok
cache:INFO: generating system asset: sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_wait_async.wasm /b/s/w/ir/x/t/emtest_77ateok0/emscripten_temp_pkt4pi8c/test_wait_async_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_77ateok0/tmp21zais1elibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_unhandledrejection.wasm /b/s/w/ir/x/t/emtest_cuupxsqm/emscripten_temp_1c6jnzdz/test_pthread_unhandledrejection_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cuupxsqm/tmp_ogouad8libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_unhandledrejection (test_core.thinltoz) ... FAIL
None
None
test_pthread_wait_async (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
system_libs:INFO: compiled 1 inputs in 0.33s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libGL-mt-getprocaddr.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libGL-mt-getprocaddr.a" for subsequent builds)
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test.wasm /b/s/w/ir/x/t/emtest_rih97hzb/emscripten_temp_b4iqdxbz/test_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libsqlite3-mt.a /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -lwasmfs_no_fs -lwasmfs-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_rih97hzb/tmpujbe3c30libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_sqlite_pthreads_wasmfs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
system_libs:INFO: compiled 4 inputs in 0.53s
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc_optz-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc_optz-mt.a" for subsequent builds)
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_proxying_canceled_work.wasm /b/s/w/ir/x/t/emtest_ze5si4uv/emscripten_temp_eljtm2yx/test_pthread_proxying_canceled_work_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ze5si4uv/tmpffltzylilibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
None
None
test_pthread_proxying_canceled_work (test_core.thinltoz) ... FAIL
test_pthread_offset_converter_modularize (test_core.thinltoz) ... skipped 'also_with_modularize is not compatible with WASM_ESM_INTEGRATION'
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_proxying_cpp.wasm /b/s/w/ir/x/t/emtest_z1s0ngs9/emscripten_temp_so9_tt3e/test_pthread_proxying_cpp_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_z1s0ngs9/tmpivcpjpz7libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=33554432 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_proxying_cpp (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 7 inputs in 0.57s
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc-mt.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_proxying.wasm /b/s/w/ir/x/t/emtest_8ql6vpi1/emscripten_temp_0dh7jmn8/test_pthread_proxying_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8ql6vpi1/tmp8ftszpg9libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=33554432 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_proxying (test_core.thinltoz) ... FAIL
#0 0x00005fad9fdbbd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005fad9fdb97b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005fad9fdbc576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072ddc4642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072ddc46969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072ddc46969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072ddc46969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072ddc4642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072ddc46287f3 abort ./stdlib/abort.c:81:7
#9 0x000072ddc462871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072ddc4639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005fada28396a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005fada2830044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005fada2838a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005fada282f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005fada282f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005fada282f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005fada2839fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005fada280230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005fada2a5de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005fada147a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005fada07fb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005fada07ed2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005fada07ec523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005fada07ece44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005fada013d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005fada01444ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005fada0145f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072ddc4694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072ddc4726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_proxy_to_pthread.wasm /b/s/w/ir/x/t/emtest_fxikjcfg/emscripten_temp_k6fudjhj/test_pthread_proxy_to_pthread_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_fxikjcfg/tmp7hkb1w2elibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_proxy_to_pthread (test_core.thinltoz) ... FAIL
test_pthread_join_and_asyncify (test_core.thinltoz) ... skipped 'test requires node canary and EMTEST_SKIP_NODE_CANARY is set'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_return_address.wasm /b/s/w/ir/x/t/emtest_qjyfm1_8/emscripten_temp_j94521se/test_return_address_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_qjyfm1_8/tmpev63nl9ulibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_thread_local_storage.wasm /b/s/w/ir/x/t/emtest_5p_w722k/emscripten_temp_dmkh8x3s/test_pthread_thread_local_storage_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5p_w722k/tmp8z54yq4slibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-memory=314572800 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_offset_converter (test_core.thinltoz) ... FAIL
#0 0x00006051ab6f4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006051ab6f27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006051ab6f5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c4941242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c49412969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c49412969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c49412969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c4941242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c49412287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c494122871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c4941239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006051ae1726a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006051ae169044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006051ae171a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006051ae168465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006051ae16802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006051ae168875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006051ae172fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006051ae13b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006051ae396e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006051acdb3910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006051ac1349f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006051ac1262b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006051ac125523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006051ac125e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006051aba7698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006051aba7d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006051aba7ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c4941294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c4941326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_pthread_thread_local_storage (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_nested_work_queue.wasm /b/s/w/ir/x/t/emtest_0pvgxvwx/emscripten_temp_1lh6i2jt/test_pthread_nested_work_queue_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_0pvgxvwx/tmp2mad8d5glibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_nested_work_queue (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_keepalive.wasm /b/s/w/ir/x/t/emtest_igcqs4ca/emscripten_temp_j49nvukq/test_pthread_keepalive_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_igcqs4ca/tmpdcve0icdlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_keepalive (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
common:WARNING: no wasm engine was found to run the standalone part of this test
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
test_sbrk_standalone (test_core.thinltoz) ... ok (41.43s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005b3a70326d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b3a703247b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b3a70327576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007117c5242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007117c52969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007117c52969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007117c52969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007117c5242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007117c52287f3 abort ./stdlib/abort.c:81:7
#9 0x00007117c522871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007117c5239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b3a72da46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b3a72d9b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b3a72da3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b3a72d9a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b3a72d9a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b3a72d9a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b3a72da4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b3a72d6d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b3a72fc8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b3a719e5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b3a70d669f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b3a70d582b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b3a70d57523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b3a70d57e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b3a706a898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b3a706af4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b3a706b0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007117c5294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007117c5326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_exit_main.wasm /b/s/w/ir/x/t/emtest_p8aj5_bu/emscripten_temp_0en9p3pt/test_pthread_exit_main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_p8aj5_bu/tmpjwnxb51tlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_exit_main (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_exit_main.wasm /b/s/w/ir/x/t/emtest_qxoocf1f/emscripten_temp_iathwv4v/test_pthread_exit_main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_qxoocf1f/tmp0n5e3a2ulibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_exit_main_stub (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_exit_runtime.wasm /b/s/w/ir/x/t/emtest_5il8q9k_/emscripten_temp_dwfpcu4c/test_pthread_exit_runtime_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5il8q9k_/tmpi1dp5fyclibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_exit_process (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000055f9edca0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055f9edc9e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055f9edca1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e3147442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e31474969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e31474969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e31474969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e3147442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e31474287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e314742871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e3147439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055f9f071e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055f9f0715044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055f9f071da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055f9f0714465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055f9f071402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055f9f0714875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055f9f071efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055f9f06e730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055f9f0942e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055f9ef35f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055f9ee6e09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055f9ee6d22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055f9ee6d1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055f9ee6d1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055f9ee02298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055f9ee0294ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055f9ee02af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e3147494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e3147526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_equal.wasm /b/s/w/ir/x/t/emtest_aas2xpwb/emscripten_temp_xud15uis/test_pthread_equal_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_aas2xpwb/tmpi29kby67libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_equal (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 1130 inputs in 11.85s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libdlmalloc-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libdlmalloc-mt.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs in 0.67s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libcompiler_rt-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libcompiler_rt-mt.a" for subsequent builds)
system_libs:INFO: compiled 182 inputs in 1.96s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libsockets-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libsockets-mt.a" for subsequent builds)
system_libs:INFO: compiled 27 inputs in 0.82s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc_optz-mt-debug.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc_optz-mt-debug.a" for subsequent builds)
system_libs:INFO: compiled 7 inputs in 0.34s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc-mt-debug.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc-mt-debug.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_safe_stack.wasm /b/s/w/ir/x/t/emtest_58mz8mlo/emscripten_temp_m575moi_/test_safe_stack_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_58mz8mlo/tmp66irvmeklibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_tls_dylink.wasm /b/s/w/ir/x/t/emtest_2bl0z5jl/emscripten_temp_5ty1k7po/test_pthread_tls_dylink_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_2bl0z5jl/tmp05mdlgo2libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_safe_stack_pthread (test_core.thinltoz) ... FAIL
None
None
test_pthread_tls_dylink (test_core.thinltoz) ... FAIL
#0 0x0000614b7aebcd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000614b7aeba7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000614b7aebd576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072e0ec442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072e0ec4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072e0ec4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072e0ec4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072e0ec442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072e0ec4287f3 abort ./stdlib/abort.c:81:7
#9 0x000072e0ec42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072e0ec439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000614b7d93a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000614b7d931044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000614b7d939a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000614b7d930465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000614b7d93002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000614b7d930875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000614b7d93afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000614b7d90330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000614b7db5ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000614b7c57b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000614b7b8fc9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000614b7b8ee2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000614b7b8ed523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000614b7b8ede44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000614b7b23e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000614b7b2454ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000614b7b246f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072e0ec494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072e0ec526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o hello_world.wasm /b/s/w/ir/x/t/emtest_xu580fqs/emscripten_temp_31m5mc8l/hello_world_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_thread_init --export-if-defined=_emscripten_thread_free_data --export-if-defined=emscripten_stack_set_limits --export-if-defined=_emscripten_thread_exit --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=strerror --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=_emscripten_run_js_on_main_thread --export-if-defined=_emscripten_run_callback_on_thread --export-if-defined=free --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=_emscripten_proxy_dlsync_async --export-if-defined=_emscripten_proxy_dlsync --export-if-defined=pthread_self --export-if-defined=_emscripten_check_mailbox /b/s/w/ir/x/t/emtest_xu580fqs/tmpb8jty2yolibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export=_emscripten_tempret_get --export=_emscripten_tempret_set --export=strerror --export=htons --export=ntohs --export=malloc --export=htonl --export=_emscripten_timeout --export=realloc --export=_emscripten_run_js_on_main_thread --export=_emscripten_run_callback_on_thread --export=free --export=fileno --export=emscripten_builtin_memalign --export=memcmp --export=memcpy --export=pthread_self --export=_emscripten_check_mailbox --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_pthread_dylink_main_module_1 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_dylink_entry_point.wasm /b/s/w/ir/x/t/emtest_5p4mhew4/emscripten_temp_b8ha5t6x/test_pthread_dylink_entry_point_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5p4mhew4/tmpmg5ju7e8libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=__memory_base --export-if-defined=__stack_pointer --export-if-defined=emscripten_builtin_memalign --export-if-defined=iprintf --export-if-defined=pthread_self --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_pthread_dylink_entry_point_autoload (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_dylink_entry_point.wasm /b/s/w/ir/x/t/emtest_7dohbani/emscripten_temp_1u77iy9a/test_pthread_dylink_entry_point_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_7dohbani/tmpgph064x6libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=__memory_base --export-if-defined=__stack_pointer --export-if-defined=emscripten_builtin_memalign --export-if-defined=iprintf --export-if-defined=pthread_self --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_pthread_dylink_entry_point (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_dylink.wasm /b/s/w/ir/x/t/emtest_vl6li94w/emscripten_temp_uh_8s3ek/test_pthread_dylink_0.o very_very_very_very_very_very_very_very_very_long.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_vl6li94w/tmpgnulx1j6libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=__memory_base --export-if-defined=__stack_pointer --export-if-defined=bar_main --export-if-defined=bar_side --export-if-defined=emscripten_builtin_memalign --export-if-defined=foo_main --export-if-defined=foo_side --export-if-defined=iprintf --export-if-defined=pthread_self --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_pthread_dylink (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 1129 inputs in 10.47s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libemmalloc-mt-debug.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libemmalloc-mt-debug.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs in 0.44s
cache:INFO: - ok
cache:INFO: generating system asset: sysroot/lib/wasm32-emscripten/thinlto-pic/crt1_proxy_main.o... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crt1_proxy_main.o" for subsequent builds)
system_libs:INFO: compiled 1 inputs in 0.20s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc++-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc++-mt.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emmalloc.wasm /b/s/w/ir/x/t/emtest_kpmjmtwm/emscripten_temp_i7m_vazp/test_emmalloc_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt-debug -lstubs-debug -lc-mt-debug -lemmalloc-mt-debug -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_kpmjmtwm/tmpndx5a1dxlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_emmalloc (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_dlsym.wasm /b/s/w/ir/x/t/emtest_yqkfgcjg/emscripten_temp_icligase/test_pthread_dlsym_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_yqkfgcjg/tmpplrrdf89libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=fflush --export-if-defined=emscripten_builtin_memalign --export-if-defined=pthread_self --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main' failed (received SIGABRT (-6))
None
None
test_pthread_dlsym (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_dlopen_many.wasm /b/s/w/ir/x/t/emtest_h1hdvl0w/emscripten_temp_vezhk9_i/test_pthread_dlopen_many_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_h1hdvl0w/tmpr1qzamellibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=fflush --export-if-defined=__memory_base --export-if-defined=__table_base --export-if-defined=atexit --export-if-defined=emscripten_builtin_memalign --export-if-defined=pthread_self --export-if-defined=puts --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main' failed (received SIGABRT (-6))
None
None
test_pthread_dlopen_many (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_dispatch_after_exit.wasm /b/s/w/ir/x/t/emtest_gschvkvj/emscripten_temp_0ifpwbpr/test_pthread_dispatch_after_exit_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_gschvkvj/tmpdupynnwelibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_dispatch_after_exit (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_dlopen.wasm /b/s/w/ir/x/t/emtest_te0s08id/emscripten_temp_vxethdbt/test_pthread_dlopen_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/t/emtest_te0s08id/emscripten_temp_vxethdbt/embedded_files.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_te0s08id/tmp2v5ff38plibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=fflush --export-if-defined=__memory_base --export-if-defined=__table_base --export-if-defined=atexit --export-if-defined=emscripten_builtin_memalign --export-if-defined=pthread_self --export-if-defined=puts --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main' failed (received SIGABRT (-6))
None
None
test_pthread_dlopen (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_cxx_threads.wasm /b/s/w/ir/x/t/emtest_5fbkfh0s/emscripten_temp_sskxte00/test_pthread_cxx_threads_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5fbkfh0s/tmpwvibmdg5libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_cxx_threads_pooled (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_cxx_threads.wasm /b/s/w/ir/x/t/emtest_rmmgwo8f/emscripten_temp_8s2fcdxc/test_pthread_cxx_threads_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_rmmgwo8f/tmp3ke4q48slibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_cxx_threads (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o create.wasm /b/s/w/ir/x/t/emtest_w2jh28kg/emscripten_temp_xuhxs_kd/create_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_w2jh28kg/tmpm07_v698libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_create_proxy (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o create.wasm /b/s/w/ir/x/t/emtest_2rjx4js2/emscripten_temp_2siohvom/create_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_2rjx4js2/tmpzd2daonylibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_create_pool (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o create.wasm /b/s/w/ir/x/t/emtest_pmsx48eo/emscripten_temp_hadisbga/create_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lc_optz-mt -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt --fatal-warnings -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_pmsx48eo/tmp2lah6g2tlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_create (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_cleanup.wasm /b/s/w/ir/x/t/emtest_84nfsbo3/emscripten_temp_cnidfoc_/test_pthread_cleanup_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_84nfsbo3/tmpmk8bahhslibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_cleanup (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_cancel_async.wasm /b/s/w/ir/x/t/emtest_ypie3h6i/emscripten_temp_w0qgjrzx/test_pthread_cancel_async_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ypie3h6i/tmp0afntwvplibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_cancel_async (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_cancel.wasm /b/s/w/ir/x/t/emtest_yvsdoi6j/emscripten_temp_nl5_y94l/test_pthread_cancel_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_yvsdoi6j/tmp0546jddulibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_cancel (test_core.thinltoz) ... FAIL
test_pthread_c11_threads_proxied (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/22617'
test_pthread_c11_threads_pooled (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/22617'
test_pthread_c11_threads (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/22617'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
system_libs:INFO: compiled 56 inputs in 16.77s
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc++abi-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc++abi-mt.a" for subsequent builds)
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_busy_wait.wasm /b/s/w/ir/x/t/emtest_tvelvokc/emscripten_temp_12dpknnj/test_pthread_busy_wait_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_tvelvokc/tmpb2nmige4libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_busy_wait_pooled (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_busy_wait_atexit.wasm /b/s/w/ir/x/t/emtest__we35u_k/emscripten_temp_lbc60t5p/test_pthread_busy_wait_atexit_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__we35u_k/tmpf92asuk0libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_busy_wait_atexit (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 16 inputs in 2.73s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libembind-mt-rtti.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libembind-mt-rtti.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_busy_wait.wasm /b/s/w/ir/x/t/emtest_05qb646_/emscripten_temp_215ntim0/test_pthread_busy_wait_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_05qb646_/tmphoj2lnhnlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_busy_wait (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000061c3bd1b9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061c3bd1b77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061c3bd1ba576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a50be242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a50be2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a50be2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a50be2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a50be242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a50be2287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a50be22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a50be239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061c3bfc376a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061c3bfc2e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061c3bfc36a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061c3bfc2d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061c3bfc2d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061c3bfc2d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061c3bfc37fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061c3bfc0030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061c3bfe5be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061c3be878910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061c3bdbf99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061c3bdbeb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061c3bdbea523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061c3bdbeae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061c3bd53b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061c3bd5424ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061c3bd543f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a50be294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a50be326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_dylink_tls.wasm /b/s/w/ir/x/t/emtest_ho1rwpdq/emscripten_temp_owr1dr7j/test_pthread_dylink_tls_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ho1rwpdq/tmp4mqqq0yrlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=__memory_base --export-if-defined=emscripten_builtin_memalign --export-if-defined=pthread_self --export-if-defined=side_tls --export-if-defined=side_tls2 --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_pthread_dylink_tls (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_dylink_longjmp.wasm /b/s/w/ir/x/t/emtest_55e8lgyk/emscripten_temp_1unyjg1c/test_pthread_dylink_longjmp_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_55e8lgyk/tmpz15tnu38libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=emscripten_builtin_memalign --export-if-defined=emscripten_longjmp --export-if-defined=pthread_self --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_pthread_dylink_longjmp (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o liblib.wasm /b/s/w/ir/x/t/emtest_s_xpy9x1/emscripten_temp_q8ws2gcw/liblib_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_s_xpy9x1/tmp81dzrnkulibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=__wasm_apply_data_relocs --export-if-defined=fflush --export-if-defined=__memory_base --export-if-defined=__stack_pointer --export-if-defined=emscripten_builtin_memalign --export-if-defined=iprintf --export-if-defined=pthread_self --export-if-defined=sidey --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main' failed (received SIGABRT (-6))
None
None
test_pthread_dylink_basics_reversed (test_core.thinltoz) ... FAIL
#0 0x00005e23abccbd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e23abcc97b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e23abccc576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a0da0c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a0da0c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a0da0c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a0da0c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a0da0c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a0da0c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a0da0c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a0da0c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e23ae7496a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e23ae740044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e23ae748a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e23ae73f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e23ae73f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e23ae73f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e23ae749fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e23ae71230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e23ae96de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e23ad38a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e23ac70b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e23ac6fd2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e23ac6fc523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e23ac6fce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e23ac04d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e23ac0544ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e23ac055f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a0da0c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a0da0d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_dylink_exceptions.wasm /b/s/w/ir/x/t/emtest_g83gv25e/emscripten_temp_n5svi67z/test_pthread_dylink_exceptions_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt -lc++abi-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_g83gv25e/tmpv5g32fq0libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=_ZTIi --export-if-defined=__cxa_allocate_exception --export-if-defined=__cxa_throw --export-if-defined=emscripten_builtin_memalign --export-if-defined=pthread_self --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_pthread_dylink_exceptions (test_core.thinltoz) ... FAIL
test_pthread_abort (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/15014'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_promise_await_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_attr_getstack.wasm /b/s/w/ir/x/t/emtest_iezmbxh_/emscripten_temp__qabo2p1/test_pthread_attr_getstack_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_iezmbxh_/tmpym1hqayplibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_attr_getstack_minimal_runtime (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_attr_getstack.wasm /b/s/w/ir/x/t/emtest_jxy3jkoy/emscripten_temp_k5f90mu0/test_pthread_attr_getstack_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_jxy3jkoy/tmp80av46ojlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_attr_getstack (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_abort_interrupt.wasm /b/s/w/ir/x/t/emtest_2qqpijkp/emscripten_temp_7kgxav00/test_pthread_abort_interrupt_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_2qqpijkp/tmprhehi6f8libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_abort_interrupt (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
#0 0x00005a217c9c5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a217c9c37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a217c9c6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c861a442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c861a4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c861a4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c861a4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c861a442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c861a4287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c861a42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c861a439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a217f4436a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a217f43a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a217f442a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a217f439465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a217f43902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a217f439875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a217f443fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a217f40c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a217f667e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a217e084910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a217d4059f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a217d3f72b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a217d3f6523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a217d3f6e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a217cd4798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a217cd4e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a217cd4ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c861a494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c861a526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_pthread_atexit.wasm /b/s/w/ir/x/t/emtest_5t6zv7aw/emscripten_temp_ceaxfw5t/test_pthread_atexit_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5t6zv7aw/tmpswx_pwa6libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_atexit (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_promise_await.wasm /b/s/w/ir/x/t/emtest_j7e0khz5/emscripten_temp__adc4ra7/test_promise_await_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_j7e0khz5/tmpbuo864arlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_promise_await_error (test_core.thinltoz) ... FAIL
#0 0x000063cbbf1eed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063cbbf1ec7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063cbbf1ef576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007cec15a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007cec15a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007cec15a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007cec15a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007cec15a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007cec15a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007cec15a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007cec15a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063cbc1c6c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063cbc1c63044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063cbc1c6ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063cbc1c62465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063cbc1c6202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063cbc1c62875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063cbc1c6cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063cbc1c3530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063cbc1e90e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063cbc08ad910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063cbbfc2e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063cbbfc202b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063cbbfc1f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063cbbfc1fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063cbbf57098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063cbbf5774ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063cbbf578f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007cec15a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007cec15b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_proc_self_fd.wasm /b/s/w/ir/x/t/emtest_v84zqhpq/emscripten_temp_kua3mzd1/test_proc_self_fd_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_v84zqhpq/tmpzqi8amr0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_proc_self_fd (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000063b73db3ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063b73db387b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063b73db3b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000708a3fe42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000708a3fe969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000708a3fe969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000708a3fe969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000708a3fe42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000708a3fe287f3 abort ./stdlib/abort.c:81:7
#9 0x0000708a3fe2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000708a3fe39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063b7405b86a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063b7405af044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063b7405b7a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063b7405ae465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063b7405ae02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063b7405ae875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063b7405b8fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063b74058130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063b7407dce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063b73f1f9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063b73e57a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063b73e56c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063b73e56b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063b73e56be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063b73debc98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063b73dec34ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063b73dec4f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000708a3fe94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000708a3ff26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_promise_await.wasm /b/s/w/ir/x/t/emtest_8mej3abk/emscripten_temp_px_uthj_/test_promise_await_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8mej3abk/tmp0juy5doolibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x0000633be78b6d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000633be78b47b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000633be78b7576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000796ed8042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000796ed80969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000796ed80969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000796ed80969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000796ed8042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000796ed80287f3 abort ./stdlib/abort.c:81:7
#9 0x0000796ed802871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000796ed8039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000633bea3346a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000633bea32b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000633bea333a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000633bea32a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000633bea32a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000633bea32a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000633bea334fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000633bea2fd30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000633bea558e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000633be8f75910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000633be82f69f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000633be82e82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000633be82e7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000633be82e7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000633be7c3898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000633be7c3f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000633be7c40f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000796ed8094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000796ed8126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
system_libs:INFO: compiled 1 inputs in 3.98s
None
None
test_promise_await (test_core.thinltoz) ... FAIL
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc++-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc++-mt.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_octal.wasm /b/s/w/ir/x/t/emtest_4p19r4kt/emscripten_temp_82s2gdib/test_octal_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_4p19r4kt/tmpwph65cvvlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_printf_octal (test_core.thinltoz) ... FAIL
#0 0x000064e08185cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000064e08185a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000064e08185d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b3222042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b32220969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b32220969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b32220969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b3222042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b32220287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b322202871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b3222039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000064e0842da6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000064e0842d1044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000064e0842d9a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000064e0842d0465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000064e0842d002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000064e0842d0875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000064e0842dafbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000064e0842a330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000064e0844fee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000064e082f1b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000064e08229c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000064e08228e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000064e08228d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000064e08228de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064e081bde98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000064e081be54ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000064e081be6f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b3222094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b3222126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_printf_more.wasm /b/s/w/ir/x/t/emtest_m9mw_k5w/emscripten_temp_zy42xgnt/test_printf_more_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_m9mw_k5w/tmpatdyr6_tlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_printf_more (test_core.thinltoz) ... FAIL
#0 0x00005d0808054d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d08080527b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d0808055576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ef682442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ef6824969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ef6824969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ef6824969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ef682442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ef6824287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ef68242871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ef682439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d080aad26a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d080aac9044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d080aad1a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d080aac8465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d080aac802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d080aac8875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d080aad2fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d080aa9b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d080acf6e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d0809713910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d0808a949f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d0808a862b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d0808a85523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d0808a85e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d08083d698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d08083dd4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d08083def5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ef682494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ef682526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_printf_macros.wasm /b/s/w/ir/x/t/emtest_0vtchhdp/emscripten_temp_6a6qmp6z/test_printf_macros_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_0vtchhdp/tmpva23njvflibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_printf_macros (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_pxnfzzoj/emscripten_temp_0bdjsxf_/main_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_pxnfzzoj/tmpv65vt9znlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=fflush --export-if-defined=emscripten_builtin_memalign --export-if-defined=pthread_self --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00006465c336fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006465c336d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006465c3370576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079858c242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079858c2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000079858c2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000079858c2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000079858c242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000079858c2287f3 abort ./stdlib/abort.c:81:7
#9 0x000079858c22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000079858c239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006465c5ded6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006465c5de4044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006465c5deca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006465c5de3465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006465c5de302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006465c5de3875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006465c5dedfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006465c5db630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006465c6011e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006465c4a2e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006465c3daf9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006465c3da12b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006465c3da0523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006465c3da0e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006465c36f198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006465c36f84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006465c36f9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000079858c294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000079858c326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_pthread_dylink_basics (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o create.wasm /b/s/w/ir/x/t/emtest_7ctedhp_/emscripten_temp_yu0gbgwm/create_0.o -lembind-mt-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_7ctedhp_/tmpyyppddpulibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__getTypeName --export=_embind_initialize_bindings --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_float.wasm /b/s/w/ir/x/t/emtest_qmwvruka/emscripten_temp_lh2grlwg/test_float_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_qmwvruka/tmpmh8a3pq5libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_printf_float (test_core.thinltoz) ... FAIL
None
None
test_pthread_create_embind_stack_check (test_core.thinltoz) ... FAIL
#0 0x00005f5215228d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f52152267b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f5215229576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076325c442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076325c4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076325c4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076325c4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076325c442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076325c4287f3 abort ./stdlib/abort.c:81:7
#9 0x000076325c42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076325c439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f5217ca66a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f5217c9d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f5217ca5a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f5217c9c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f5217c9c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f5217c9c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f5217ca6fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f5217c6f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f5217ecae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f52168e7910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f5215c689f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f5215c5a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f5215c59523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f5215c59e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f52155aa98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f52155b14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f52155b2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076325c494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076325c526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005f019af5fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f019af5d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f019af60576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007cf971642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007cf9716969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007cf9716969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007cf9716969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007cf971642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007cf9716287f3 abort ./stdlib/abort.c:81:7
#9 0x00007cf97162871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007cf971639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f019d9dd6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f019d9d4044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f019d9dca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f019d9d3465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f019d9d302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f019d9d3875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f019d9ddfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f019d9a630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f019dc01e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f019c61e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f019b99f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f019b9912b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f019b990523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f019b990e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f019b2e198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f019b2e84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f019b2e9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007cf971694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007cf971726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_promise.wasm /b/s/w/ir/x/t/emtest_1od5ozlz/emscripten_temp_xksq27pn/test_promise_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1od5ozlz/tmphtmcg225libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_promise (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_printf_2.wasm /b/s/w/ir/x/t/emtest_ponn13dk/emscripten_temp_szsle16a/test_printf_2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ponn13dk/tmp7185t8f_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
None
None
test_printf_2 (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_printf.wasm /b/s/w/ir/x/t/emtest_6leqb1f6/emscripten_temp_1k26rqug/test_printf_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs_no_fs -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_6leqb1f6/tmprbaa_l9hlibemscripten_js_symbols.so --strip-debug --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=1048576 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_printf_wasmfs (test_core.thinltoz) ... FAIL
<building and saving third_party_freetype_Oz_372a1a70e1b366d0cb43c0881df93420 into cache>
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005ff5a0d02d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ff5a0d007b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ff5a0d03576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b1ce0642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b1ce06969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b1ce06969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b1ce06969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b1ce0642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b1ce06287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b1ce062871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b1ce0639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ff5a37806a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ff5a3777044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ff5a377fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ff5a3776465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ff5a377602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ff5a3776875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ff5a3780fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ff5a374930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ff5a39a4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ff5a23c1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ff5a17429f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ff5a17342b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ff5a1733523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ff5a1733e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ff5a108498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ff5a108b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ff5a108cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b1ce0694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b1ce0726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o hello_world.wasm /b/s/w/ir/x/t/emtest_cy9_5p7v/emscripten_temp_6_af1db1/hello_world_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cy9_5p7v/tmpk8opqf4nlibemscripten_js_symbols.so --strip-debug --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x0000558c1d1b7d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000558c1d1b57b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000558c1d1b8576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000710147242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007101472969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007101472969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007101472969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000710147242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007101472287f3 abort ./stdlib/abort.c:81:7
#9 0x000071014722871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000710147239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000558c1fc356a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000558c1fc2c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000558c1fc34a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000558c1fc2b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000558c1fc2b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000558c1fc2b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000558c1fc35fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000558c1fbfe30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000558c1fe59e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000558c1e876910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000558c1dbf79f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000558c1dbe92b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000558c1dbe8523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000558c1dbe8e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000558c1d53998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000558c1d5404ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000558c1d541f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000710147294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000710147326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_postrun_exit_runtime (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_posixtime.wasm /b/s/w/ir/x/t/emtest_y5i44zc4/emscripten_temp_02g87jub/test_posixtime_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_y5i44zc4/tmphl2_k4yulibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_posixtime (test_core.thinltoz) ... FAIL
#0 0x00005d4741a3ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d4741a387b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d4741a3b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000798b26642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000798b266969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000798b266969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000798b266969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000798b26642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000798b266287f3 abort ./stdlib/abort.c:81:7
#9 0x0000798b2662871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000798b26639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d47444b86a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d47444af044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d47444b7a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d47444ae465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d47444ae02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d47444ae875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d47444b8fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d474448130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d47446dce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d47430f9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d474247a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d474246c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d474246b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d474246be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d4741dbc98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d4741dc34ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d4741dc4f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000798b26694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000798b26726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000055bf32147d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055bf321457b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055bf32148576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074275cc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074275cc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074275cc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074275cc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074275cc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074275cc287f3 abort ./stdlib/abort.c:81:7
#9 0x000074275cc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074275cc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055bf34bc56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055bf34bbc044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055bf34bc4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055bf34bbb465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055bf34bbb02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055bf34bbb875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055bf34bc5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055bf34b8e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055bf34de9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055bf33806910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055bf32b879f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055bf32b792b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055bf32b78523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055bf32b78e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055bf324c998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055bf324d04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055bf324d1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074275cc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074275cd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_poll.wasm /b/s/w/ir/x/t/emtest_vb_75jdm/emscripten_temp_67t5dw2q/test_poll_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_vb_75jdm/tmpj_monx4dlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_hello_world.wasm /b/s/w/ir/x/t/emtest_grj3lml7/emscripten_temp_j9ybkpgi/test_hello_world_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_grj3lml7/tmpfzr54e1alibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_poll (test_core.thinltoz) ... FAIL
None
None
test_postrun_exception (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005fa19eca4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005fa19eca27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005fa19eca5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074085f642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074085f6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074085f6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074085f6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074085f642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074085f6287f3 abort ./stdlib/abort.c:81:7
#9 0x000074085f62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074085f639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005fa1a17226a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005fa1a1719044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005fa1a1721a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005fa1a1718465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005fa1a171802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005fa1a1718875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005fa1a1722fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005fa1a16eb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005fa1a1946e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005fa1a0363910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005fa19f6e49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005fa19f6d62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005fa19f6d5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005fa19f6d5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005fa19f02698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005fa19f02d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005fa19f02ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074085f694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074085f726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
embuilder:INFO: building libpng
embuilder:INFO: ...success. Took (0.00s)
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_printf.wasm /b/s/w/ir/x/t/emtest_dn4i2py0/emscripten_temp_w6frgbne/test_printf_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_dn4i2py0/tmpzcs_y8ndlibemscripten_js_symbols.so --strip-debug --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=1048576 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_printf (test_core.thinltoz) ... FAIL
#0 0x000060617a7ead28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060617a7e87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060617a7eb576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a41a8e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a41a8e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a41a8e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a41a8e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a41a8e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a41a8e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a41a8e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a41a8e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060617d2686a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000060617d25f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060617d267a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000060617d25e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060617d25e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000060617d25e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060617d268fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060617d23130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060617d48ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060617bea9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060617b22a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060617b21c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060617b21b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060617b21be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060617ab6c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060617ab734ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060617ab74f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a41a8e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a41a8f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
<building and saving third_party_openjpeg_Oz_443dcf98620889d86c9cd6479fc3c286 into cache>
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_phiundef.wasm /b/s/w/ir/x/t/emtest_5feaji6a/emscripten_temp_sy0bb76v/test_phiundef_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5feaji6a/tmpmelt442llibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_phiundef (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000063442d4bdd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063442d4bb7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063442d4be576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ac52da42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ac52da969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ac52da969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ac52da969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ac52da42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ac52da287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ac52da2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ac52da39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063442ff3b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063442ff32044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063442ff3aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063442ff31465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063442ff3102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063442ff31875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063442ff3bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063442ff0430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063443015fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063442eb7c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063442defd9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063442deef2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063442deee523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063442deeee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063442d83f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063442d8464ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063442d847f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ac52da94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ac52db26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_perrar.wasm /b/s/w/ir/x/t/emtest_f88os5wy/emscripten_temp_zoq4jl66/test_perrar_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_f88os5wy/tmp4_ckx6dclibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_perrar (test_core.thinltoz) ... FAIL
#0 0x000064ad959a0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000064ad9599e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000064ad959a1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d0fcdc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d0fcdc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d0fcdc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d0fcdc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d0fcdc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d0fcdc287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d0fcdc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d0fcdc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000064ad9841e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000064ad98415044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000064ad9841da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000064ad98414465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000064ad9841402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000064ad98414875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000064ad9841efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000064ad983e730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000064ad98642e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000064ad9705f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000064ad963e09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000064ad963d22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000064ad963d1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000064ad963d1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064ad95d2298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000064ad95d294ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000064ad95d2af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d0fcdc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d0fcdd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_fdxmmlbv/emscripten_temp__20a_d9z/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_fdxmmlbv/tmpjtcc4pl4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pack (test_core.thinltoz) ... FAIL
common:WARNING: no wasm engine was found to run the standalone part of this test
test_posixtime_standalone (test_core.thinltoz) ... ok (7.10s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
-- configure stdout --
FreeType build system -- automatic system detection
The following settings are used:
platform unix
compiler /b/s/w/ir/x/w/install/emscripten/emcc
configuration directory ./builds/unix
configuration rules ./builds/unix/unix.mk
If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.
Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (the latter needs python).
Generating modules list in ./objs/ftmodule.h...
* module: truetype (Windows/Mac font files with extension *.ttf or *.ttc)
* module: type1 (Postscript font files with extension *.pfa or *.pfb)
* module: cff (OpenType fonts with extension *.otf)
* module: cid (Postscript CID-keyed fonts, no known extension)
* module: pfr (PFR/TrueDoc font files with extension *.pfr)
* module: type42 (Type 42 font files with no known extension)
* module: winfnt (Windows bitmap fonts with extension *.fnt or *.fon)
* module: pcf (pcf bitmap fonts)
* module: bdf (bdf bitmap fonts)
* module: sfnt (helper module for TrueType & OpenType formats)
* module: autofit (automatic hinting module)
* module: pshinter (Postscript hinter module)
* module: raster (monochrome bitmap renderer)
* module: smooth (anti-aliased bitmap renderer)
* module: smooth (anti-aliased bitmap renderer for LCDs)
* module: smooth (anti-aliased bitmap renderer for vertical LCDs)
* module: psaux (Postscript Type 1 & Type 2 helper module)
* module: psnames (Postscript & Unicode Glyph name handling)
done.
cd builds/unix; ./configure '--disable-shared' '--without-zlib'
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... /b/s/w/ir/x/w/install/emscripten/emcc
checking whether the C compiler works... no
-- end configure stdout --
-- configure stderr --
configure: sh ./configure --disable-shared --without-zlib
configure: error: in `/b/s/w/ir/x/t/emtest_8c4yw73w/emscripten_test_thinltoz_1yjm2a4t/building/third_party/freetype/builds/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [builds/unix/detect.mk:84: setup] Error 77
emconfigure: error: 'sh ./configure --disable-shared --without-zlib' failed (returned 2)
-- end configure stderr --
test_poppler (test_core.thinltoz) ... ERROR
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000626819db9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000626819db77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000626819dba576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d7be3242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d7be32969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d7be32969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d7be32969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d7be3242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d7be32287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d7be322871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d7be3239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062681c8376a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062681c82e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062681c836a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062681c82d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062681c82d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062681c82d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062681c837fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062681c80030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062681ca5be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062681b478910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062681a7f99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062681a7eb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062681a7ea523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062681a7eae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062681a13b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062681a1424ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062681a143f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d7be3294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d7be3326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_nothrow_new.wasm /b/s/w/ir/x/t/emtest_57157rmz/emscripten_temp_84azb9dc/test_nothrow_new_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_57157rmz/tmpfdl1hydrlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_nothrow_new_nogrow (test_core.thinltoz) ... FAIL
#0 0x000059482a9c3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000059482a9c17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059482a9c4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007783f9042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007783f90969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007783f90969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007783f90969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007783f9042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007783f90287f3 abort ./stdlib/abort.c:81:7
#9 0x00007783f902871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007783f9039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059482d4416a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000059482d438044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000059482d440a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000059482d437465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000059482d43702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000059482d437875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000059482d441fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059482d40a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059482d665e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059482c082910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000059482b4039f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000059482b3f52b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000059482b3f4523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000059482b3f4e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059482ad4598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000059482ad4c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000059482ad4df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007783f9094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007783f9126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o declare_asm_module_exports.wasm /b/s/w/ir/x/t/emtest_8e3_id2t/emscripten_temp_eg8glnl2/declare_asm_module_exports_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8e3_id2t/tmplt4aqk5zlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000639c201d5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000639c201d37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000639c201d6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076baf5042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076baf50969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076baf50969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076baf50969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076baf5042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076baf50287f3 abort ./stdlib/abort.c:81:7
#9 0x000076baf502871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076baf5039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000639c22c536a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000639c22c4a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000639c22c52a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000639c22c49465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000639c22c4902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000639c22c49875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000639c22c53fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000639c22c1c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000639c22e77e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000639c21894910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000639c20c159f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000639c20c072b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000639c20c06523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000639c20c06e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000639c2055798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000639c2055e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000639c2055ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076baf5094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076baf5126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_no_declare_asm_module_exports_minimal_runtime (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_nothrow_new.wasm /b/s/w/ir/x/t/emtest_atathnq6/emscripten_temp_pv82ydji/test_nothrow_new_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_atathnq6/tmpt8mu64dblibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --max-memory=18874368 --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_nothrow_new_grow (test_core.thinltoz) ... FAIL
test_nested_struct_varargs (test_core.thinltoz) ... skipped 'is_wasm2js : tests va_arg()'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
#0 0x000062d70e735d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000062d70e7337b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000062d70e736576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074ea56c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074ea56c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074ea56c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074ea56c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074ea56c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074ea56c287f3 abort ./stdlib/abort.c:81:7
#9 0x000074ea56c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074ea56c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062d7111b36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062d7111aa044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062d7111b2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062d7111a9465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062d7111a902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062d7111a9875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062d7111b3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062d71117c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062d7113d7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062d70fdf4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062d70f1759f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062d70f1672b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062d70f166523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062d70f166e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062d70eab798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062d70eabe4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062d70eabff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074ea56c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074ea56d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005855aaa9bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005855aaa997b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005855aaa9c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007154ec442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007154ec4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007154ec4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007154ec4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007154ec442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007154ec4287f3 abort ./stdlib/abort.c:81:7
#9 0x00007154ec42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007154ec439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005855ad5196a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005855ad510044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005855ad518a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005855ad50f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005855ad50f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005855ad50f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005855ad519fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005855ad4e230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005855ad73de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005855ac15a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005855ab4db9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005855ab4cd2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005855ab4cc523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005855ab4cce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005855aae1d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005855aae244ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005855aae25f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007154ec494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007154ec526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_newlocale.wasm /b/s/w/ir/x/t/emtest_gc9zkde9/emscripten_temp_17qjeo56/test_newlocale_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_gc9zkde9/tmpy_5_93k7libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_nl_types.wasm /b/s/w/ir/x/t/emtest_79hjj143/emscripten_temp_9edg76oy/test_nl_types_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_79hjj143/tmpb_92r6yllibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_newlocale (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o declare_asm_module_exports.wasm /b/s/w/ir/x/t/emtest_s9lr6xlc/emscripten_temp_url8oh65/declare_asm_module_exports_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_s9lr6xlc/tmpe_ejzxnxlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_nl_types (test_core.thinltoz) ... FAIL
None
None
test_no_declare_asm_module_exports (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005b230daa4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b230daa27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b230daa5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000714f5a842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000714f5a8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000714f5a8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000714f5a8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000714f5a842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000714f5a8287f3 abort ./stdlib/abort.c:81:7
#9 0x0000714f5a82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000714f5a839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b23105226a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b2310519044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b2310521a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b2310518465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b231051802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b2310518875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b2310522fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b23104eb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b2310746e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b230f163910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b230e4e49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b230e4d62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b230e4d5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b230e4d5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b230de2698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b230de2d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b230de2ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000714f5a894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000714f5a926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005ec43badcd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ec43bada7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ec43badd576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000754328442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007543284969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007543284969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007543284969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000754328442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007543284287f3 abort ./stdlib/abort.c:81:7
#9 0x000075432842871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000754328439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ec43e55a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ec43e551044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ec43e559a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ec43e550465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ec43e55002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ec43e550875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ec43e55afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ec43e52330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ec43e77ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ec43d19b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ec43c51c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ec43c50e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ec43c50d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ec43c50de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ec43be5e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ec43be654ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ec43be66f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000754328494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000754328526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o in.wasm /b/s/w/ir/x/t/emtest_h_cjj6ng/emscripten_temp_im8tdo0z/in_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_h_cjj6ng/tmplmmg_h67libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_c2k0jeib/emscripten_temp_6i95zy4z/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_c2k0jeib/tmpby9qoprclibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_netinet_in (test_core.thinltoz) ... FAIL
None
None
test_nestedstructs (test_core.thinltoz) ... FAIL
#0 0x00005cfc100a6d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005cfc100a47b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005cfc100a7576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c1498442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c14984969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c14984969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c14984969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c1498442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c14984287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c149842871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c1498439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005cfc12b246a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005cfc12b1b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005cfc12b23a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005cfc12b1a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005cfc12b1a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005cfc12b1a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005cfc12b24fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005cfc12aed30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005cfc12d48e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005cfc11765910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005cfc10ae69f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005cfc10ad82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005cfc10ad7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005cfc10ad7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005cfc1042898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005cfc1042f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005cfc10430f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c1498494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c1498526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005da369c32d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005da369c307b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005da369c33576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000743216c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000743216c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000743216c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000743216c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000743216c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000743216c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000743216c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000743216c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005da36c6b06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005da36c6a7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005da36c6afa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005da36c6a6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005da36c6a602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005da36c6a6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005da36c6b0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005da36c67930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005da36c8d4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005da36b2f1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005da36a6729f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005da36a6642b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005da36a663523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005da36a663e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005da369fb498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005da369fbb4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005da369fbcf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000743216c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000743216d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_negative_zero.wasm /b/s/w/ir/x/t/emtest__fn7v61d/emscripten_temp_uj8v473a/test_negative_zero_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__fn7v61d/tmpgln_n8jblibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_mount.wasm /b/s/w/ir/x/t/emtest_p320j_jb/emscripten_temp_idadl5us/test_mount_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_p320j_jb/tmpm60xkdbtlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_negative_zero (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_mount (test_core.thinltoz) ... FAIL
#0 0x00005ead2c81fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ead2c81d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ead2c820576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077a0b5e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077a0b5e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000077a0b5e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000077a0b5e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000077a0b5e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000077a0b5e287f3 abort ./stdlib/abort.c:81:7
#9 0x000077a0b5e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000077a0b5e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ead2f29d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ead2f294044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ead2f29ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ead2f293465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ead2f29302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ead2f293875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ead2f29dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ead2f26630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ead2f4c1e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ead2dede910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ead2d25f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ead2d2512b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ead2d250523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ead2d250e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ead2cba198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ead2cba84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ead2cba9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000077a0b5e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000077a0b5f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_module_wasm_memory.wasm /b/s/w/ir/x/t/emtest_ebyzkh2l/emscripten_temp_k0cuzznb/test_module_wasm_memory_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lc_optz -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets --fatal-warnings -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ebyzkh2l/tmp3ojbkqfflibemscripten_js_symbols.so --import-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_module_wasm_memory (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o modularize_instance.wasm /b/s/w/ir/x/t/emtest_vsiyl8_3/emscripten_temp_y_3fm1i0/modularize_instance_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_vsiyl8_3/tmp7l8038pblibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=bar --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_modularize_instance_pthreads (test_core.thinltoz) ... FAIL
#0 0x000058f16f896d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058f16f8947b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058f16f897576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000799cd7642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000799cd76969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000799cd76969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000799cd76969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000799cd7642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000799cd76287f3 abort ./stdlib/abort.c:81:7
#9 0x0000799cd762871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000799cd7639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058f1723146a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058f17230b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058f172313a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058f17230a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058f17230a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058f17230a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058f172314fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058f1722dd30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058f172538e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058f170f55910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058f1702d69f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058f1702c82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058f1702c7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058f1702c7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058f16fc1898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058f16fc1f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058f16fc20f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000799cd7694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000799cd7726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_2qch6yb8/emscripten_temp_o1lt76g1/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_2qch6yb8/tmp6w8nx9n2libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005ed1a3c39d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ed1a3c377b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ed1a3c3a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f3007a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f3007a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f3007a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f3007a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f3007a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f3007a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f3007a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f3007a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ed1a66b76a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ed1a66ae044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ed1a66b6a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ed1a66ad465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ed1a66ad02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ed1a66ad875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ed1a66b7fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ed1a668030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ed1a68dbe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ed1a52f8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ed1a46799f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ed1a466b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ed1a466a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ed1a466ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ed1a3fbb98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ed1a3fc24ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ed1a3fc3f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f3007a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f3007b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_module_stdin (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_hello_world.wasm /b/s/w/ir/x/t/emtest_cx3kf411/emscripten_temp_ko2z_kkk/test_hello_world_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cx3kf411/tmp_4v22sgwlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_modularize_instance_hello (test_core.thinltoz) ... FAIL
#0 0x00005850cf6a6d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005850cf6a47b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005850cf6a7576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076138a842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076138a8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076138a8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076138a8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076138a842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076138a8287f3 abort ./stdlib/abort.c:81:7
#9 0x000076138a82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076138a839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005850d21246a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005850d211b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005850d2123a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005850d211a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005850d211a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005850d211a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005850d2124fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005850d20ed30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005850d2348e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005850d0d65910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005850d00e69f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005850d00d82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005850d00d7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005850d00d7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005850cfa2898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005850cfa2f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005850cfa30f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076138a894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076138a926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o modularize_instance.wasm /b/s/w/ir/x/t/emtest_ti9p3f_4/emscripten_temp_64h01hc2/modularize_instance_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ti9p3f_4/tmpp24xs7lmlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=bar --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_modularize_instance (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000064e0ee2cdd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000064e0ee2cb7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000064e0ee2ce576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075b8d1042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075b8d10969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075b8d10969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075b8d10969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075b8d1042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075b8d10287f3 abort ./stdlib/abort.c:81:7
#9 0x000075b8d102871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075b8d1039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000064e0f0d4b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000064e0f0d42044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000064e0f0d4aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000064e0f0d41465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000064e0f0d4102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000064e0f0d41875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000064e0f0d4bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000064e0f0d1430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000064e0f0f6fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000064e0ef98c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000064e0eed0d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000064e0eecff2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000064e0eecfe523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000064e0eecfee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064e0ee64f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000064e0ee6564ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000064e0ee657f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075b8d1094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075b8d1126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_mod_globalstruct.wasm /b/s/w/ir/x/t/emtest_0fcz4gar/emscripten_temp_8bpq7adw/test_mod_globalstruct_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_0fcz4gar/tmpbb9mfdnplibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_mod_globalstruct (test_core.thinltoz) ... FAIL
#0 0x000061ab3e71dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061ab3e71b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061ab3e71e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a7917642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a79176969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a79176969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a79176969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a7917642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a79176287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a791762871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a7917639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061ab4119b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061ab41192044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061ab4119aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061ab41191465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061ab4119102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061ab41191875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061ab4119bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061ab4116430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061ab413bfe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061ab3fddc910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061ab3f15d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061ab3f14f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061ab3f14e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061ab3f14ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061ab3ea9f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061ab3eaa64ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061ab3eaa7f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a7917694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a7917726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o modularize_closure_pre.wasm /b/s/w/ir/x/t/emtest_4917qgxu/emscripten_temp_5icw__1j/modularize_closure_pre_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_4917qgxu/tmpn3xs8qbtlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_modularize_closure_pre (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000055f7ebc6fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055f7ebc6d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055f7ebc70576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007942d9e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007942d9e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007942d9e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007942d9e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007942d9e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007942d9e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007942d9e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007942d9e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055f7ee6ed6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055f7ee6e4044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055f7ee6eca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055f7ee6e3465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055f7ee6e302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055f7ee6e3875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055f7ee6edfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055f7ee6b630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055f7ee911e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055f7ed32e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055f7ec6af9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055f7ec6a12b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055f7ec6a0523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055f7ec6a0e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055f7ebff198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055f7ebff84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055f7ebff9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007942d9e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007942d9f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_neon_wasm_simd.wasm /b/s/w/ir/x/t/emtest_7a1mjm8y/emscripten_temp__6dkjh5y/test_neon_wasm_simd_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_7a1mjm8y/tmpci5k0nx9libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_mmap_anon.wasm /b/s/w/ir/x/t/emtest_1oqd_ucy/emscripten_temp_zj01y83d/test_mmap_anon_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1oqd_ucy/tmpk91xu4uulibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-memory=67108864 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_mmap_anon_pthreads (test_core.thinltoz) ... FAIL
None
None
test_neon_wasm_simd (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00006224fb202d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006224fb2007b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006224fb203576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c5b5d842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c5b5d8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c5b5d8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c5b5d8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c5b5d842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c5b5d8287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c5b5d82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c5b5d839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006224fdc806a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006224fdc77044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006224fdc7fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006224fdc76465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006224fdc7602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006224fdc76875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006224fdc80fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006224fdc4930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006224fdea4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006224fc8c1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006224fbc429f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006224fbc342b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006224fbc33523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006224fbc33e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006224fb58498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006224fb58b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006224fb58cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c5b5d894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c5b5d926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_minmax.wasm /b/s/w/ir/x/t/emtest_04t8l6_m/emscripten_temp_frmcgbm3/test_minmax_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_04t8l6_m/tmpqzqya_rdlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_minmax (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005d56944d2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d56944d07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d56944d3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075b67bc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075b67bc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075b67bc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075b67bc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075b67bc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075b67bc287f3 abort ./stdlib/abort.c:81:7
#9 0x000075b67bc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075b67bc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d5696f506a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d5696f47044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d5696f4fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d5696f46465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d5696f4602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d5696f46875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d5696f50fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d5696f1930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d5697174e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d5695b91910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d5694f129f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d5694f042b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d5694f03523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d5694f03e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d569485498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d569485b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d569485cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075b67bc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075b67bd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_mmap_anon.wasm /b/s/w/ir/x/t/emtest_qsfdvzww/emscripten_temp_wbti_qi2/test_mmap_anon_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_qsfdvzww/tmpuup4qy3klibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=134217728 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_mmap_anon (test_core.thinltoz) ... FAIL
#0 0x00005b87dc464d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b87dc4627b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b87dc465576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000773d1d642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000773d1d6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000773d1d6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000773d1d6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000773d1d642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000773d1d6287f3 abort ./stdlib/abort.c:81:7
#9 0x0000773d1d62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000773d1d639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b87deee26a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b87deed9044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b87deee1a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b87deed8465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b87deed802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b87deed8875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b87deee2fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b87deeab30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b87df106e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b87ddb23910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b87dcea49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b87dce962b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b87dce95523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b87dce95e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b87dc7e698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b87dc7ed4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b87dc7eef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000773d1d694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000773d1d726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memorygrowth.wasm /b/s/w/ir/x/t/emtest_fb0iowqp/emscripten_temp_g_ctfh6s/test_memorygrowth_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_fb0iowqp/tmpvy8rh4jqlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000059ff590b1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000059ff590af7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059ff590b2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d1486442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d14864969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d14864969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d14864969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d1486442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d14864287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d148642871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d1486439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059ff5bb2f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000059ff5bb26044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000059ff5bb2ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000059ff5bb25465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000059ff5bb2502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000059ff5bb25875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000059ff5bb2ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059ff5baf830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059ff5bd53e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059ff5a770910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000059ff59af19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000059ff59ae32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000059ff59ae2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000059ff59ae2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059ff5943398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000059ff5943a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000059ff5943bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d1486494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d1486526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_minimal_runtime_memorygrowth (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o small_hello_world.wasm /b/s/w/ir/x/t/emtest_r4f01ix3/emscripten_temp_owyh5awi/small_hello_world_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_r4f01ix3/tmpesd9mm5ilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=sbrk --export=_emscripten_stack_alloc --export=emscripten_get_sbrk_ptr --export=emscripten_stack_get_base --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_minimal_runtime_safe_heap (test_core.thinltoz) ... FAIL
test_minimal_runtime_hello_world_streaming_inst (test_core.thinltoz) ... ok (1.93s)
test_minimal_runtime_hello_world_streaming (test_core.thinltoz) ... ok (1.66s)
common:WARNING: no wasm engine was found to run the standalone part of this test
test_minimal_runtime_hello_world_no_export (test_core.thinltoz) ... ok (1.51s)
test_minimal_runtime_hello_world_default (test_core.thinltoz) ... ok (1.35s)
test_mmap_anon_standalone (test_core.thinltoz) ... ok (7.75s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000062e5819fdd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000062e5819fb7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000062e5819fe576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000711e4f642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000711e4f6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000711e4f6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000711e4f6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000711e4f642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000711e4f6287f3 abort ./stdlib/abort.c:81:7
#9 0x0000711e4f62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000711e4f639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062e58447b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062e584472044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062e58447aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062e584471465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062e58447102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062e584471875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062e58447bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062e58444430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062e58469fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062e5830bc910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062e58243d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062e58242f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062e58242e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062e58242ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062e581d7f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062e581d864ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062e581d87f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000711e4f694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000711e4f726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o hello_world.wasm /b/s/w/ir/x/t/emtest_lf25x0h9/emscripten_temp_1fj88eie/hello_world_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_lf25x0h9/tmpr4kjkp3elibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_minimal_runtime_hello_printf_nofs (test_core.thinltoz) ... FAIL
#0 0x00006142df5b9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006142df5b77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006142df5ba576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b4c77442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b4c774969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b4c774969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b4c774969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b4c77442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b4c774287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b4c7742871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b4c77439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006142e20376a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006142e202e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006142e2036a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006142e202d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006142e202d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006142e202d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006142e2037fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006142e200030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006142e225be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006142e0c78910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006142dfff99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006142dffeb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006142dffea523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006142dffeae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006142df93b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006142df9424ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006142df943f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b4c77494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b4c77526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o hello_world.wasm /b/s/w/ir/x/t/emtest_56cz5xyy/emscripten_temp_dr6p2ce9/hello_world_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_56cz5xyy/tmp_j3log3slibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005ff092b16d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ff092b147b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ff092b17576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071f18da42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071f18da969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071f18da969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071f18da969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071f18da42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071f18da287f3 abort ./stdlib/abort.c:81:7
#9 0x000071f18da2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071f18da39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ff0955946a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ff09558b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ff095593a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ff09558a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ff09558a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ff09558a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ff095594fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ff09555d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ff0957b8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ff0941d5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ff0935569f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ff0935482b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ff093547523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ff093547e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ff092e9898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ff092e9f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ff092ea0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071f18da94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071f18db26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_minimal_runtime_hello_printf_fs (test_core.thinltoz) ... FAIL
#0 0x00006542aaaadd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006542aaaab7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006542aaaae576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007df486242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007df4862969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007df4862969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007df4862969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007df486242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007df4862287f3 abort ./stdlib/abort.c:81:7
#9 0x00007df48622871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007df486239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006542ad52b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006542ad522044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006542ad52aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006542ad521465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006542ad52102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006542ad521875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006542ad52bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006542ad4f430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006542ad74fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006542ac16c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006542ab4ed9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006542ab4df2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006542ab4de523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006542ab4dee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006542aae2f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006542aae364ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006542aae37f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007df486294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007df486326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memset_alignment.wasm /b/s/w/ir/x/t/emtest_4l6wxu0n/emscripten_temp_g34xuwvq/test_memset_alignment_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_4l6wxu0n/tmpjdguu5b6libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_memset_alignment (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memset.wasm /b/s/w/ir/x/t/emtest_qyly66hu/emscripten_temp_x1e06o0h/test_memset_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_qyly66hu/tmp7bp6v88ylibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_memset (test_core.thinltoz) ... FAIL
#0 0x00005e57e1a99d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e57e1a977b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e57e1a9a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f0995e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f0995e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f0995e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f0995e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f0995e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f0995e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f0995e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f0995e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e57e45176a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e57e450e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e57e4516a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e57e450d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e57e450d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e57e450d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e57e4517fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e57e44e030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e57e473be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e57e3158910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e57e24d99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e57e24cb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e57e24ca523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e57e24cae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e57e1e1b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e57e1e224ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e57e1e23f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f0995e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f0995f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_global_initializer.wasm /b/s/w/ir/x/t/emtest_xcxmo0wc/emscripten_temp_skffmz_o/test_global_initializer_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xcxmo0wc/tmpg1q3it7ulibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_minimal_runtime_global_initializer (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005f9c9abf9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f9c9abf77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f9c9abfa576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071d198042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071d1980969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071d1980969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071d1980969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071d198042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071d1980287f3 abort ./stdlib/abort.c:81:7
#9 0x000071d19802871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071d198039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f9c9d6776a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f9c9d66e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f9c9d676a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f9c9d66d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f9c9d66d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f9c9d66d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f9c9d677fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f9c9d64030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f9c9d89be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f9c9c2b8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f9c9b6399f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f9c9b62b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f9c9b62a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f9c9b62ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f9c9af7b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f9c9af824ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f9c9af83f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071d198094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071d198126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_limkwozm/emscripten_temp_6r86x9xs/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc-tracing -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_limkwozm/tmpfq27wb0olibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=sbrk --export=__heap_base --export=emscripten_stack_get_base --export=emscripten_stack_get_end --export=emscripten_stack_get_current --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_memprof_requirements (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005ca030196d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ca0301947b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ca030197576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073f05e642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073f05e6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073f05e6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073f05e6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073f05e642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073f05e6287f3 abort ./stdlib/abort.c:81:7
#9 0x000073f05e62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073f05e639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ca032c146a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ca032c0b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ca032c13a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ca032c0a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ca032c0a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ca032c0a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ca032c14fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ca032bdd30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ca032e38e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ca031855910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ca030bd69f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ca030bc82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ca030bc7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ca030bc7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ca03051898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ca03051f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ca030520f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073f05e694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073f05e726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000636c0d6b9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000636c0d6b77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000636c0d6ba576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007981c1042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007981c10969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007981c10969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007981c10969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007981c1042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007981c10287f3 abort ./stdlib/abort.c:81:7
#9 0x00007981c102871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007981c1039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000636c101376a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000636c1012e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000636c10136a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000636c1012d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000636c1012d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000636c1012d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000636c10137fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000636c1010030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000636c1035be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000636c0ed78910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000636c0e0f99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000636c0e0eb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000636c0e0ea523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000636c0e0eae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000636c0da3b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000636c0da424ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000636c0da43f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007981c1094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007981c1126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memorygrowth_linear_step.wasm /b/s/w/ir/x/t/emtest_dq7i_4u8/emscripten_temp_09oputxc/test_memorygrowth_linear_step_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_dq7i_4u8/tmpr1fkwpkllibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=1048576 --max-memory=67108864 --initial-memory=33554432 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memorygrowth_geometric_step.wasm /b/s/w/ir/x/t/emtest_4islmj2r/emscripten_temp_47ulocqv/test_memorygrowth_geometric_step_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_4islmj2r/tmp6tydxayvlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --max-memory=2147483648 --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_memorygrowth_linear_step (test_core.thinltoz) ... FAIL
None
None
test_memorygrowth_geometric_step (test_core.thinltoz) ... FAIL
#0 0x00005f671f9a9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f671f9a77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f671f9aa576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000786e55842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000786e558969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000786e558969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000786e558969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000786e55842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000786e558287f3 abort ./stdlib/abort.c:81:7
#9 0x0000786e5582871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000786e55839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f67224276a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f672241e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f6722426a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f672241d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f672241d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f672241d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f6722427fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f67223f030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f672264be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f6721068910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f67203e99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f67203db2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f67203da523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f67203dae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f671fd2b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f671fd324ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f671fd33f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000786e55894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000786e55926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memorygrowth_wasm_mem_max.wasm /b/s/w/ir/x/t/emtest_hwlitpsd/emscripten_temp_0q3x9uzj/test_memorygrowth_wasm_mem_max_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_hwlitpsd/tmpukp0gjkelibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --max-memory=104857600 --initial-memory=67108864 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_memorygrowth_MAXIMUM_MEMORY (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000578ede432d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000578ede4307b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000578ede433576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000707178a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000707178a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000707178a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000707178a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000707178a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000707178a287f3 abort ./stdlib/abort.c:81:7
#9 0x0000707178a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000707178a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000578ee0eb06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000578ee0ea7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000578ee0eafa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000578ee0ea6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000578ee0ea602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000578ee0ea6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000578ee0eb0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000578ee0e7930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000578ee10d4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000578edfaf1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000578edee729f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000578edee642b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000578edee63523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000578edee63e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000578ede7b498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000578ede7bb4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000578ede7bcf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000707178a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000707178b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005e95af426d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e95af4247b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e95af427576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c03e8e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c03e8e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c03e8e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c03e8e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c03e8e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c03e8e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c03e8e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c03e8e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e95b1ea46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e95b1e9b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e95b1ea3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e95b1e9a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e95b1e9a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e95b1e9a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e95b1ea4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e95b1e6d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e95b20c8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e95b0ae5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e95afe669f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e95afe582b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e95afe57523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e95afe57e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e95af7a898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e95af7af4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e95af7b0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c03e8e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c03e8f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memorygrowth_2.wasm /b/s/w/ir/x/t/emtest_nio52qxo/emscripten_temp_6abb9ry1/test_memorygrowth_2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_nio52qxo/tmp34a7apfelibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memorygrowth_3.wasm /b/s/w/ir/x/t/emtest_mes7kebx/emscripten_temp_k94h2m_x/test_memorygrowth_3_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mes7kebx/tmpqxex5v55libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --max-memory=2147483648 --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_memorygrowth_2 (test_core.thinltoz) ... FAIL
None
None
test_memorygrowth_3_force_fail_reallocBuffer (test_core.thinltoz) ... FAIL
#0 0x0000569836114d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005698361127b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000569836115576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077d926c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077d926c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000077d926c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000077d926c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000077d926c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000077d926c287f3 abort ./stdlib/abort.c:81:7
#9 0x000077d926c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000077d926c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000569838b926a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000569838b89044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000569838b91a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000569838b88465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000569838b8802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000569838b88875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000569838b92fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000569838b5b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000569838db6e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005698377d3910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000569836b549f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000569836b462b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000569836b45523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000569836b45e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056983649698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056983649d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) ( #0 0x00005ce1f4651d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ce1f464f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ce1f4652576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000769dd0442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000769dd04969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000769dd04969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000769dd04969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000769dd0442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000769dd04287f3 abort ./stdlib/abort.c:81:7
#9 0x0000769dd042871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000769dd0439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ce1f70cf6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ce1f70c6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ce1f70cea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ce1f70c5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ce1f70c502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ce1f70c5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ce1f70cffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ce1f709830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ce1f72f3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ce1f5d10910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ce1f50919f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ce1f50832b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ce1f5082523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ce1f5082e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ce1f49d398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ce1f49da4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056983649ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000077d926c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000077d926d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ce1f49dbf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000769dd0494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000769dd0526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memorygrowth.wasm /b/s/w/ir/x/t/emtest_u9jatwoc/emscripten_temp_75h_xl27/test_memorygrowth_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_u9jatwoc/tmp5y6e6fyblibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memorygrowth_3.wasm /b/s/w/ir/x/t/emtest_x95ojwqj/emscripten_temp_fxjd8d28/test_memorygrowth_3_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_x95ojwqj/tmpketal2v4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=sbrk --export=_emscripten_stack_alloc --export=emscripten_get_sbrk_ptr --export=emscripten_stack_get_base --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_memorygrowth (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_memorygrowth_3 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000062c18e75dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000062c18e75b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000062c18e75e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000777431e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000777431e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000777431e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000777431e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000777431e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000777431e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000777431e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000777431e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062c1911db6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062c1911d2044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062c1911daa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062c1911d1465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062c1911d102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062c1911d1875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062c1911dbfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062c1911a430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062c1913ffe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062c18fe1c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062c18f19d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062c18f18f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062c18f18e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062c18f18ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062c18eadf98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062c18eae64ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062c18eae7f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000777431e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000777431f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memmove3.wasm /b/s/w/ir/x/t/emtest_em4gdcy2/emscripten_temp_7nxal0df/test_memmove3_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_em4gdcy2/tmpb1clje88libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000598c0aa18d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000598c0aa167b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000598c0aa19576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f9aa4642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f9aa46969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f9aa46969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f9aa46969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f9aa4642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f9aa46287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f9aa462871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f9aa4639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000598c0d4966a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000598c0d48d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000598c0d495a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000598c0d48c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000598c0d48c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000598c0d48c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000598c0d496fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000598c0d45f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000598c0d6bae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000598c0c0d7910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000598c0b4589f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000598c0b44a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000598c0b449523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000598c0b449e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000598c0ad9a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000598c0ada14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000598c0ada2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f9aa4694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f9aa4726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_memmove3 (test_core.thinltoz) ... FAIL
common:WARNING: no wasm engine was found to run the standalone part of this test
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memmove2.wasm /b/s/w/ir/x/t/emtest_uv4y25ir/emscripten_temp_bynzytb5/test_memmove2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_uv4y25ir/tmpyfug3fwylibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_memmove2 (test_core.thinltoz) ... FAIL
test_memorygrowth_MAXIMUM_MEMORY_standalone (test_core.thinltoz) ... ok (6.16s)
#0 0x0000630090f78d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000630090f767b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000630090f79576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a37ee442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a37ee4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a37ee4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a37ee4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a37ee442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a37ee4287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a37ee42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a37ee439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006300939f66a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006300939ed044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006300939f5a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006300939ec465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006300939ec02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006300939ec875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006300939f6fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006300939bf30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000630093c1ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000630092637910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006300919b89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006300919aa2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006300919a9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006300919a9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006300912fa98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006300913014ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000630091302f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a37ee494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a37ee526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
-- make stdout --
[ 2%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/bio.c.o
[ 5%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/cio.c.o
[ 8%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/dwt.c.o
[ 10%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/event.c.o
[ 13%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/image.c.o
[ 16%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/j2k.c.o
[ 18%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/j2k_lib.c.o
[ 21%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/jp2.c.o
[ 24%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/jpt.c.o
[ 27%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/mct.c.o
[ 29%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/mqc.c.o
[ 32%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/openjpeg.c.o
[ 35%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/pi.c.o
[ 37%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/raw.c.o
[ 40%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/t1.c.o
[ 43%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/t2.c.o
[ 45%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/tcd.c.o
[ 48%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/tgt.c.o
[ 51%] Linking C static library ../bin/libopenjpeg.a
[ 51%] Built target openjpeg
[ 54%] Building C object codec/CMakeFiles/j2k_to_image.dir/j2k_to_image.c.o
[ 56%] Building C object codec/CMakeFiles/j2k_to_image.dir/convert.c.o
[ 59%] Building C object codec/CMakeFiles/j2k_to_image.dir/index.c.o
[ 62%] Building C object codec/CMakeFiles/j2k_to_image.dir/__/common/color.c.o
[ 64%] Building C object codec/CMakeFiles/j2k_to_image.dir/__/common/getopt.c.o
[ 67%] Linking C executable ../bin/j2k_to_image.js
-- end make stdout --
-- make stderr --
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000612974568d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006129745667b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000612974569576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000705f5d242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000705f5d2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000705f5d2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000705f5d2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000705f5d242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000705f5d2287f3 abort ./stdlib/abort.c:81:7
#9 0x0000705f5d22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000705f5d239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000612976fe66a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000612976fdd044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000612976fe5a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000612976fdc465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000612976fdc02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000612976fdc875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000612976fe6fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000612976faf30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061297720ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000612975c27910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000612974fa89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000612974f9a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000612974f99523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000612974f99e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006129748ea98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006129748f14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006129748f2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000705f5d294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000705f5d326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o ../bin/j2k_to_image.wasm CMakeFiles/j2k_to_image.dir/j2k_to_image.c.o CMakeFiles/j2k_to_image.dir/convert.c.o CMakeFiles/j2k_to_image.dir/index.c.o CMakeFiles/j2k_to_image.dir/__/common/color.c.o CMakeFiles/j2k_to_image.dir/__/common/getopt.c.o ../bin/libopenjpeg.a /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/libpng.a /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/libz.a -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_l1copjy4/tmpk1kkray0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
make[2]: *** [codec/CMakeFiles/j2k_to_image.dir/build.make:171: bin/j2k_to_image.js] Error 1
make[1]: *** [CMakeFiles/Makefile2:146: codec/CMakeFiles/j2k_to_image.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memmove.wasm /b/s/w/ir/x/t/emtest_5t9d1_ah/emscripten_temp_sn5rbmtc/test_memmove_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5t9d1_ah/tmp9t4rdx50libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
-- end stderr --
test_openjpeg (test_core.thinltoz) ... ERROR
None
None
test_memmove (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005b048c9b9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b048c9b77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b048c9ba576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ad589442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ad5894969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ad5894969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ad5894969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ad589442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ad5894287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ad58942871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ad589439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b048f4376a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b048f42e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b048f436a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b048f42d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b048f42d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b048f42d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b048f437fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b048f40030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b048f65be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b048e078910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b048d3f99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b048d3eb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b048d3ea523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b048d3eae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b048cd3b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b048cd424ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b048cd43f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ad589494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ad589526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memcpy_zero_bytes.wasm /b/s/w/ir/x/t/emtest_mssmwer9/emscripten_temp_j65fh2k2/test_memcpy_zero_bytes_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mssmwer9/tmpus45pj4zlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_memcpy_zero_bytes (test_core.thinltoz) ... FAIL
test_mathfuncptr (test_core.thinltoz) ... skipped 'is_wasm2js : tests function pointer calls'
test_math_lgamma (test_core.thinltoz) ... skipped 'is_wasm2js : tests lgamma and signbit'
test_math_fmodf (test_core.thinltoz) ... skipped 'is_wasm2js : tests fmodf (which may use JS math)'
#0 0x000057d2b8a8dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057d2b8a8b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057d2b8a8e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000788191242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007881912969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007881912969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007881912969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000788191242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007881912287f3 abort ./stdlib/abort.c:81:7
#9 0x000078819122871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000788191239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057d2bb50b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057d2bb502044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057d2bb50aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057d2bb501465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057d2bb50102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057d2bb501875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057d2bb50bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057d2bb4d430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057d2bb72fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057d2ba14c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057d2b94cd9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057d2b94bf2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057d2b94be523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057d2b94bee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057d2b8e0f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057d2b8e164ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057d2b8e17f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000788191294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000788191326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000558220e55d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000558220e537b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000558220e56576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ec587442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ec5874969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ec5874969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ec5874969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ec587442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ec5874287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ec58742871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ec587439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005582238d36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005582238ca044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005582238d2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005582238c9465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005582238c902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005582238c9875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005582238d3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055822389c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000558223af7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000558222514910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005582218959f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005582218872b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000558221886523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000558221886e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005582211d798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005582211de4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005582211dff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ec587494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ec587526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memcpy_zero_bytes.wasm /b/s/w/ir/x/t/emtest_q9z3gdpi/emscripten_temp_sl4cusxq/test_memcpy_zero_bytes_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_q9z3gdpi/tmppp4knp16libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_memcpy_zero_bytes_bulkmem (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memcpy_alignment.wasm /b/s/w/ir/x/t/emtest_xmxpo7ro/emscripten_temp_zw99d02m/test_memcpy_alignment_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xmxpo7ro/tmpfozio8ialibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_memcpy_alignment (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
system_libs:INFO: compiled 56 inputs in 35.99s
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000061393ad2bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061393ad297b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061393ad2c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079c1d5e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079c1d5e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000079c1d5e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000079c1d5e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000079c1d5e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000079c1d5e287f3 abort ./stdlib/abort.c:81:7
#9 0x000079c1d5e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000079c1d5e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061393d7a96a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061393d7a0044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061393d7a8a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061393d79f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061393d79f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061393d79f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061393d7a9fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061393d77230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061393d9cde76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061393c3ea910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061393b76b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061393b75d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061393b75c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061393b75ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061393b0ad98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061393b0b44ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061393b0b5f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000079c1d5e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000079c1d5f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00006303d6f8bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006303d6f897b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006303d6f8c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000720d4c642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000720d4c6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000720d4c6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000720d4c6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000720d4c642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000720d4c6287f3 abort ./stdlib/abort.c:81:7
#9 0x0000720d4c62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000720d4c639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006303d9a096a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006303d9a00044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006303d9a08a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006303d99ff465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006303d99ff02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006303d99ff875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006303d9a09fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006303d99d230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006303d9c2de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006303d864a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006303d79cb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006303d79bd2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006303d79bc523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006303d79bce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006303d730d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006303d73144ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006303d7315f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000720d4c694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000720d4c726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005f5c08e56d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f5c08e547b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f5c08e57576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d1a91e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d1a91e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d1a91e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d1a91e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d1a91e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d1a91e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d1a91e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d1a91e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f5c0b8d46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f5c0b8cb044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f5c0b8d3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f5c0b8ca465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f5c0b8ca02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f5c0b8ca875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f5c0b8d4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f5c0b89d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f5c0baf8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f5c0a515910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f5c098969f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f5c098882b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f5c09887523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f5c09887e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f5c091d898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f5c091df4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f5c091e0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d1a91e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d1a91f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memcpy2.wasm /b/s/w/ir/x/t/emtest_99joog76/emscripten_temp_7a9ve81n/test_memcpy2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_99joog76/tmpdyg3ci55libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc++abi-mt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc++abi-mt.a" for subsequent builds)
None
None
test_memcpy2 (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_memcpy3.wasm /b/s/w/ir/x/t/emtest_4h22qhvx/emscripten_temp_n5djrcyh/test_memcpy3_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_4h22qhvx/tmpr1in7xvnlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_math.wasm /b/s/w/ir/x/t/emtest_ygbjg35l/emscripten_temp__dhov79a/test_math_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ygbjg35l/tmpulbh2bk6libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_memcpy3 (test_core.thinltoz) ... FAIL
None
None
test_math (test_core.thinltoz) ... FAIL
#0 0x00006192abd2ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006192abd2c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006192abd2f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000750fa3642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000750fa36969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000750fa36969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000750fa36969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000750fa3642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000750fa36287f3 abort ./stdlib/abort.c:81:7
#9 0x0000750fa362871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000750fa3639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006192ae7ac6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006192ae7a3044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006192ae7aba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006192ae7a2465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006192ae7a202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006192ae7a2875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006192ae7acfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006192ae77530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006192ae9d0e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006192ad3ed910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006192ac76e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006192ac7602b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006192ac75f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006192ac75fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006192ac0b098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006192ac0b74ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006192ac0b8f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000750fa3694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000750fa3726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005f5b55e4ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f5b55e487b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f5b55e4b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007632c7e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007632c7e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007632c7e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007632c7e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007632c7e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007632c7e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007632c7e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007632c7e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f5b588c86a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f5b588bf044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f5b588c7a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f5b588be465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f5b588be02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f5b588be875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f5b588c8fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f5b5889130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f5b58aece76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f5b57509910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f5b5688a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f5b5687c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f5b5687b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f5b5687be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f5b561cc98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f5b561d34ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f5b561d4f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007632c7e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007632c7f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_mallinfo.wasm /b/s/w/ir/x/t/emtest_t7pgep0o/emscripten_temp_a2p4vqwg/test_mallinfo_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_t7pgep0o/tmph2j4k1qulibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_mallinfo (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_mainenv.wasm /b/s/w/ir/x/t/emtest_nmq8nfwq/emscripten_temp_erctnfbx/test_mainenv_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_nmq8nfwq/tmp7bu594v1libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_mainenv (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005aea38959d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005aea389577b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005aea3895a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000757ca5a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000757ca5a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000757ca5a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000757ca5a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000757ca5a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000757ca5a287f3 abort ./stdlib/abort.c:81:7
#9 0x0000757ca5a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000757ca5a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005aea3b3d76a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005aea3b3ce044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005aea3b3d6a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005aea3b3cd465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005aea3b3cd02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005aea3b3cd875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005aea3b3d7fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005aea3b3a030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005aea3b5fbe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005aea3a018910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005aea393999f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005aea3938b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005aea3938a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005aea3938ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005aea38cdb98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005aea38ce24ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005aea38ce3f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000757ca5a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000757ca5b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005f5b18145d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f5b181437b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f5b18146576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007bf65a042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007bf65a0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007bf65a0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007bf65a0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007bf65a042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007bf65a0287f3 abort ./stdlib/abort.c:81:7
#9 0x00007bf65a02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007bf65a039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f5b1abc36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f5b1abba044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f5b1abc2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f5b1abb9465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f5b1abb902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f5b1abb9875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f5b1abc3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f5b1ab8c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f5b1ade7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f5b19804910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f5b18b859f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f5b18b772b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f5b18b76523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f5b18b76e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f5b184c798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f5b184ce4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f5b184cff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007bf65a094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007bf65a126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_asm_signatures.wasm /b/s/w/ir/x/t/emtest_256p2350/emscripten_temp_fv0i6hcn/test_em_asm_signatures_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_256p2350/tmpst3m6moilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_main_thread_em_asm_signatures (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test.wasm /b/s/w/ir/x/t/emtest_jcpl2d5w/emscripten_temp_mlqe0uuz/test_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_jcpl2d5w/tmpl9mjccdzlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_main_thread_em_asm (test_core.thinltoz) ... FAIL
#0 0x0000603436fa4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000603436fa27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000603436fa5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c1ebfa42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c1ebfa969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c1ebfa969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c1ebfa969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c1ebfa42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c1ebfa287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c1ebfa2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c1ebfa39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000603439a226a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000603439a19044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000603439a21a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000603439a18465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000603439a1802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000603439a18875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000603439a22fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006034399eb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000603439c46e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000603438663910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006034379e49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006034379d62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006034379d5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006034379d5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060343732698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060343732d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060343732ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c1ebfa94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c1ebfb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
common:WARNING: no wasm engine was found to run the standalone part of this test
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_main_thread_async_em_asm.wasm /b/s/w/ir/x/t/emtest_vi1kga2s/emscripten_temp_8s8uiw1j/test_main_thread_async_em_asm_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_vi1kga2s/tmph8mfwznclibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test.wasm /b/s/w/ir/x/t/emtest__gsp__if/emscripten_temp_vet6tgzx/test_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__gsp__if/tmpk39gqjt7libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_main_thread_async_em_asm_force_c (test_core.thinltoz) ... FAIL
None
None
test_main_thread_em_asm_pthread (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005694ef921d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005694ef91f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005694ef922576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000718926242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007189262969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007189262969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007189262969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000718926242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007189262287f3 abort ./stdlib/abort.c:81:7
#9 0x000071892622871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000718926239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005694f239f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005694f2396044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005694f239ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005694f2395465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005694f239502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005694f2395875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005694f239ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005694f236830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005694f25c3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005694f0fe0910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005694f03619f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005694f03532b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005694f0352523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005694f0352e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005694efca398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005694efcaa4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005694efcabf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000718926294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000718926326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_main_thread_async_em_asm.wasm /b/s/w/ir/x/t/emtest_q0v5wgul/emscripten_temp_hj70oitd/test_main_thread_async_em_asm_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_q0v5wgul/tmpolexeub5libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_main_thread_async_em_asm (test_core.thinltoz) ... FAIL
#0 0x00005ca8f3f89d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ca8f3f877b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ca8f3f8a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000796141e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000796141e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000796141e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000796141e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000796141e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000796141e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000796141e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000796141e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ca8f6a076a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ca8f69fe044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ca8f6a06a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ca8f69fd465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ca8f69fd02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ca8f69fd875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ca8f6a07fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ca8f69d030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ca8f6c2be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ca8f5648910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ca8f49c99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ca8f49bb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ca8f49ba523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ca8f49bae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ca8f430b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ca8f43124ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ca8f4313f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000796141e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000796141f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_main_reads_args.wasm /b/s/w/ir/x/t/emtest_oqbf306p/emscripten_temp_1i3gaflq/test_main_reads_args_0.o real.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_oqbf306p/tmpofw18qt_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_main_reads_args (test_core.thinltoz) ... FAIL
test_longjmp_zero_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
#0 0x000059e547218d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000059e5472167b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059e547219576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000792ad4842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000792ad48969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000792ad48969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000792ad48969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000792ad4842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000792ad48287f3 abort ./stdlib/abort.c:81:7
#9 0x0000792ad482871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000792ad4839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059e549c966a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000059e549c8d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000059e549c95a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000059e549c8c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000059e549c8c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000059e549c8c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000059e549c96fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059e549c5f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059e549ebae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059e5488d7910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000059e547c589f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000059e547c4a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000059e547c49523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000059e547c49e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059e54759a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000059e5475a14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000059e5475a2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000792ad4894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000792ad4926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp_zero.wasm /b/s/w/ir/x/t/emtest_vothmje2/emscripten_temp_mu8bso95/test_longjmp_zero_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_vothmje2/tmp62sw42yllibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_longjmp_zero_wasm_legacy (test_core.thinltoz) ... FAIL
test_memcpy_alignment_standalone (test_core.thinltoz) ... ok (7.73s)
test_longjmp_with_and_without_exceptions (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000058488d214d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058488d2127b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058488d215576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074da67042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074da670969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074da670969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074da670969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074da67042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074da670287f3 abort ./stdlib/abort.c:81:7
#9 0x000074da6702871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074da67039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058488fc926a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058488fc89044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058488fc91a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058488fc88465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058488fc8802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058488fc88875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058488fc92fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058488fc5b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058488feb6e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058488e8d3910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058488dc549f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058488dc462b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058488dc45523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058488dc45e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058488d59698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058488d59d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058488d59ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074da67094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074da67126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp_zero.wasm /b/s/w/ir/x/t/emtest_8u3dtz7d/emscripten_temp_jg50iga5/test_longjmp_zero_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8u3dtz7d/tmplp4yvqo4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_longjmp_zero_emscripten (test_core.thinltoz) ... FAIL
test_longjmp_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
#0 0x0000559a00ffcd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000559a00ffa7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000559a00ffd576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007841f5a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007841f5a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007841f5a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007841f5a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007841f5a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007841f5a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007841f5a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007841f5a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000559a03a7a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000559a03a71044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000559a03a79a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000559a03a70465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000559a03a7002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000559a03a70875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000559a03a7afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000559a03a4330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000559a03c9ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000559a026bb910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000559a01a3c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000559a01a2e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000559a01a2d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000559a01a2de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000559a0137e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000559a013854ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000559a01386f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007841f5a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007841f5b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp.wasm /b/s/w/ir/x/t/emtest_hzv7r1_l/emscripten_temp_wea28fjc/test_longjmp_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_hzv7r1_l/tmpx0xcdp5wlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_longjmp_wasm_legacy (test_core.thinltoz) ... FAIL
test_longjmp_unwind_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
system_libs:INFO: compiled 16 inputs in 6.90s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libembind-rtti.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libembind-rtti.a" for subsequent builds)
#0 0x0000608e8cfd1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000608e8cfcf7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000608e8cfd2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074aead042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074aead0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074aead0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074aead0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074aead042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074aead0287f3 abort ./stdlib/abort.c:81:7
#9 0x000074aead02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074aead039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000608e8fa4f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000608e8fa46044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000608e8fa4ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000608e8fa45465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000608e8fa4502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000608e8fa45875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000608e8fa4ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000608e8fa1830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000608e8fc73e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000608e8e690910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000608e8da119f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000608e8da032b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000608e8da02523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000608e8da02e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000608e8d35398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000608e8d35a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000608e8d35bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074aead094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074aead126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp_unwind.wasm /b/s/w/ir/x/t/emtest_ajnze2p9/emscripten_temp_9opc9hg0/test_longjmp_unwind_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_ajnze2p9/tmpwf93bc2nlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_longjmp_unwind_wasm_legacy (test_core.thinltoz) ... FAIL
0
#0 0x0000633469a45d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000633469a437b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000633469a46576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075b0ff442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075b0ff4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075b0ff4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075b0ff4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075b0ff442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075b0ff4287f3 abort ./stdlib/abort.c:81:7
#9 0x000075b0ff42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075b0ff439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063346c4c36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063346c4ba044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063346c4c2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063346c4b9465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063346c4b902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063346c4b9875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063346c4c3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063346c48c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063346c6e7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063346b104910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063346a4859f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063346a4772b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063346a476523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063346a476e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000633469dc798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000633469dce4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000633469dcff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075b0ff494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075b0ff526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp_unwind.wasm /b/s/w/ir/x/t/emtest__uzb1ut9/emscripten_temp_nxkdz2wl/test_longjmp_unwind_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__uzb1ut9/tmp1ehxemkrlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_longjmp_unwind_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o exceptions.wasm /b/s/w/ir/x/t/emtest_j32um8xw/emscripten_temp_3g3_v413/exceptions_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt -lc++abi-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_j32um8xw/tmphueu4t72libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_pthread_exceptions (test_core.thinltoz) ... FAIL
#0 0x000063e8d3eded28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063e8d3edc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063e8d3edf576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000751bc7c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000751bc7c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000751bc7c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000751bc7c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000751bc7c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000751bc7c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000751bc7c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000751bc7c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063e8d695c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063e8d6953044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063e8d695ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063e8d6952465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063e8d695202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063e8d6952875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063e8d695cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063e8d692530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063e8d6b80e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063e8d559d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063e8d491e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063e8d49102b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063e8d490f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063e8d490fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063e8d426098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063e8d42674ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063e8d4268f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000751bc7c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000751bc7d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_main_module_static_align.wasm --whole-archive /b/s/w/ir/x/t/emtest_q83aldxw/emscripten_temp_0n8womx8/test_main_module_static_align_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=strerror --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=__cxa_can_catch --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_get_exception_ptr --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle /b/s/w/ir/x/t/emtest_q83aldxw/tmpr9akmtmvlibemscripten_js_symbols.so --import-memory --strip-debug --export-dynamic -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_tempret_get --export=_emscripten_tempret_set --export=strerror --export=htons --export=ntohs --export=malloc --export=htonl --export=_emscripten_timeout --export=realloc --export=free --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_get_exception_ptr --export=__cxa_decrement_exception_refcount --export=fileno --export=emscripten_builtin_memalign --export=__dl_seterr --export=memcmp --export=memcpy --export=__cxa_demangle --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --experimental-pic --unresolved-symbols=import-dynamic -pie -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_main_module_static_align (test_core.thinltoz) ... FAIL
test_main_thread_async_em_asm_relocatable (test_core.thinltoz) ... ok (7.85s)
test_longjmp_stacked_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000560aa11b0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000560aa11ae7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000560aa11b1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074602cc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074602cc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074602cc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074602cc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074602cc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074602cc287f3 abort ./stdlib/abort.c:81:7
#9 0x000074602cc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074602cc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000560aa3c2e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000560aa3c25044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000560aa3c2da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000560aa3c24465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000560aa3c2402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000560aa3c24875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000560aa3c2efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000560aa3bf730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000560aa3e52e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000560aa286f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000560aa1bf09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000560aa1be22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000560aa1be1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000560aa1be1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000560aa153298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000560aa15394ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000560aa153af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074602cc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074602cd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp.wasm /b/s/w/ir/x/t/emtest_a8f53hs9/emscripten_temp_ma2k6e3u/test_longjmp_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_a8f53hs9/tmpgeuipeyglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_longjmp_standalone (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00006477160cad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006477160c87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006477160cb576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f97efe42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f97efe969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f97efe969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f97efe969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f97efe42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f97efe287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f97efe2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f97efe39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000647718b486a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000647718b3f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000647718b47a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000647718b3e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000647718b3e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000647718b3e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000647718b48fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000647718b1130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000647718d6ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000647717789910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000647716b0a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000647716afc2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000647716afb523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000647716afbe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064771644c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006477164534ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000647716454f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f97efe94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f97eff26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000059c5c3f31d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000059c5c3f2f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059c5c3f32576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071badfa42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071badfa969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071badfa969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071badfa969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071badfa42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071badfa287f3 abort ./stdlib/abort.c:81:7
#9 0x000071badfa2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071badfa39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059c5c69af6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000059c5c69a6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000059c5c69aea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000059c5c69a5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000059c5c69a502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000059c5c69a5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000059c5c69affbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059c5c697830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059c5c6bd3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059c5c55f0910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000059c5c49719f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000059c5c49632b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000059c5c4962523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000059c5c4962e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059c5c42b398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000059c5c42ba4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000059c5c42bbf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071badfa94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071badfb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp_stacked.wasm /b/s/w/ir/x/t/emtest_ko_am4u1/emscripten_temp_pu8hzn3o/test_longjmp_stacked_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_ko_am4u1/tmp10vs4_2ulibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
test_main_module_js_symbol (test_core.thinltoz) ... ok (6.93s)
None
None
test_longjmp_stacked_wasm_legacy (test_core.thinltoz) ... FAIL
test_longjmp_repeat_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp_stacked.wasm /b/s/w/ir/x/t/emtest_ipgo4uw_/emscripten_temp_hnah3r6v/test_longjmp_stacked_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ipgo4uw_/tmp752t85azlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_longjmp_stacked_emscripten (test_core.thinltoz) ... FAIL
test_longjmp_i64_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
#0 0x00005989bcf2bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005989bcf297b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005989bcf2c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077ad92242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077ad922969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000077ad922969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000077ad922969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000077ad92242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000077ad922287f3 abort ./stdlib/abort.c:81:7
#9 0x000077ad9222871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000077ad92239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005989bf9a96a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005989bf9a0044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005989bf9a8a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005989bf99f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005989bf99f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005989bf99f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005989bf9a9fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005989bf97230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005989bfbcde76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005989be5ea910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005989bd96b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005989bd95d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005989bd95c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005989bd95ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005989bd2ad98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005989bd2b44ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005989bd2b5f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000077ad92294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000077ad92326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp_repeat.wasm /b/s/w/ir/x/t/emtest_7pq0u30q/emscripten_temp_zwvgcqli/test_longjmp_repeat_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_7pq0u30q/tmpcc83rrinlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_longjmp_repeat_wasm_legacy (test_core.thinltoz) ... FAIL
#0 0x000057f0eda02d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057f0eda007b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057f0eda03576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007cf474242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007cf4742969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007cf4742969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007cf4742969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007cf474242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007cf4742287f3 abort ./stdlib/abort.c:81:7
#9 0x00007cf47422871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007cf474239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057f0f04806a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057f0f0477044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057f0f047fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057f0f0476465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057f0f047602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057f0f0476875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057f0f0480fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057f0f044930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057f0f06a4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057f0ef0c1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057f0ee4429f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057f0ee4342b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057f0ee433523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057f0ee433e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057f0edd8498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057f0edd8b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057f0edd8cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007cf474294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007cf474326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
system_libs:INFO: compiled 1 inputs in 4.18s
common:WARNING: no wasm engine was found to run the standalone part of this test
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp_repeat.wasm /b/s/w/ir/x/t/emtest_v7j9oqnv/emscripten_temp_wpulaosc/test_longjmp_repeat_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_v7j9oqnv/tmpmivbzkqolibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libGL-ww-getprocaddr.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libGL-ww-getprocaddr.a" for subsequent builds)
None
None
test_longjmp_repeat_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_longjmp_standalone_standalone (test_core.thinltoz) ... ok (3.29s)
test_longjmp_funcptr_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005ba7c4055d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ba7c40537b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ba7c4056576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00006fff43842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00006fff438969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00006fff438969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00006fff438969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00006fff43842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00006fff438287f3 abort ./stdlib/abort.c:81:7
#9 0x00006fff4382871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00006fff43839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ba7c6ad36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ba7c6aca044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ba7c6ad2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ba7c6ac9465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ba7c6ac902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ba7c6ac9875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ba7c6ad3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ba7c6a9c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ba7c6cf7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ba7c5714910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ba7c4a959f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ba7c4a872b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ba7c4a86523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ba7c4a86e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ba7c43d798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ba7c43de4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ba7c43dff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00006fff43894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00006fff43926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp_i64.wasm /b/s/w/ir/x/t/emtest_erzr4o_n/emscripten_temp_67_3dt3a/test_longjmp_i64_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_erzr4o_n/tmpi1kf1jg3libemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005785e709fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005785e709d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005785e70a0576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072f97d242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072f97d2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072f97d2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072f97d2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072f97d242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072f97d2287f3 abort ./stdlib/abort.c:81:7
#9 0x000072f97d22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072f97d239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005785e9b1d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005785e9b14044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005785e9b1ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005785e9b13465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005785e9b1302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005785e9b13875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005785e9b1dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005785e9ae630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005785e9d41e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005785e875e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005785e7adf9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005785e7ad12b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005785e7ad0523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005785e7ad0e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005785e742198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005785e74284ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005785e7429f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072f97d294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072f97d326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
system_libs:INFO: compiled 4 inputs in 0.90s
#0 0x00005c0d28b62d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c0d28b607b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c0d28b63576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075ee65642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075ee656969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075ee656969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075ee656969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075ee65642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075ee656287f3 abort ./stdlib/abort.c:81:7
#9 0x000075ee6562871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075ee65639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c0d2b5e06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c0d2b5d7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c0d2b5dfa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c0d2b5d6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c0d2b5d602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c0d2b5d6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c0d2b5e0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c0d2b5a930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c0d2b804e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c0d2a221910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c0d295a29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c0d295942b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c0d29593523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c0d29593e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c0d28ee498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c0d28eeb4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c0d28eecf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075ee65694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075ee65726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_longjmp_i64_wasm_legacy (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_longjmp_exc_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp_i64.wasm /b/s/w/ir/x/t/emtest_bz3gu1h5/emscripten_temp_b2e0o5jw/test_longjmp_i64_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_bz3gu1h5/tmpvl2umsa8libemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc_optz-ww.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc_optz-ww.a" for subsequent builds)
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp_funcptr.wasm /b/s/w/ir/x/t/emtest_f1jkhymy/emscripten_temp_fr1h1wtq/test_longjmp_funcptr_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_f1jkhymy/tmpsz_jjuedlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_longjmp_i64_emscripten (test_core.thinltoz) ... FAIL
None
None
test_longjmp_funcptr_wasm_legacy (test_core.thinltoz) ... FAIL
#0 0x0000613e2c009d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000613e2c0077b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000613e2c00a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007cfaf5442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007cfaf54969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007cfaf54969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007cfaf54969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007cfaf5442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007cfaf54287f3 abort ./stdlib/abort.c:81:7
#9 0x00007cfaf542871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007cfaf5439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000613e2ea876a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000613e2ea7e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000613e2ea86a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000613e2ea7d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000613e2ea7d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000613e2ea7d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000613e2ea87fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000613e2ea5030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000613e2ecabe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000613e2d6c8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000613e2ca499f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000613e2ca3b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000613e2ca3a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000613e2ca3ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000613e2c38b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000613e2c3924ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000613e2c393f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007cfaf5494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007cfaf5526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005b96eb5cad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b96eb5c87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b96eb5cb576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ae9f2c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ae9f2c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ae9f2c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ae9f2c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ae9f2c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ae9f2c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ae9f2c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ae9f2c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b96ee0486a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b96ee03f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b96ee047a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b96ee03e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b96ee03e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b96ee03e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b96ee048fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b96ee01130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b96ee26ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b96ecc89910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b96ec00a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b96ebffc2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b96ebffb523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b96ebffbe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b96eb94c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b96eb9534ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b96eb954f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ae9f2c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ae9f2d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp_exc.wasm /b/s/w/ir/x/t/emtest_w1hsu464/emscripten_temp_xhvs4vl4/test_longjmp_exc_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_w1hsu464/tmpf_1gpgzflibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp_funcptr.wasm /b/s/w/ir/x/t/emtest_t2s2qmmc/emscripten_temp_bzvgh_eq/test_longjmp_funcptr_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_t2s2qmmc/tmp1s2bp8t7libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_longjmp_exc_wasm_legacy (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 7 inputs in 0.82s
test_longjmp4_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_longjmp_funcptr_emscripten (test_core.thinltoz) ... FAIL
#0 0x0000573919f3cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000573919f3a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000573919f3d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077f0e8c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077f0e8c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000077f0e8c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000077f0e8c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000077f0e8c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000077f0e8c287f3 abort ./stdlib/abort.c:81:7
#9 0x000077f0e8c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000077f0e8c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057391c9ba6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057391c9b1044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057391c9b9a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057391c9b0465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057391c9b002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057391c9b0875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057391c9bafbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057391c98330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057391cbdee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057391b5fb910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057391a97c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057391a96e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057391a96d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057391a96de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057391a2be98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057391a2c54ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057391a2c6f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000077f0e8c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000077f0e8d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc-ww.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc-ww.a" for subsequent builds)
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o modularize_instance_embind.wasm /b/s/w/ir/x/t/emtest_q416c_bg/emscripten_temp_0g1b559m/modularize_instance_embind_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_q416c_bg/tmpgxzy_m5klibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005b921cf70d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b921cf6e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b921cf71576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071dfc2c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071dfc2c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071dfc2c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071dfc2c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071dfc2c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071dfc2c287f3 abort ./stdlib/abort.c:81:7
#9 0x000071dfc2c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071dfc2c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b921f9ee6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b921f9e5044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b921f9eda48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b921f9e4465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b921f9e402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b921f9e4875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b921f9eefbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b921f9b730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b921fc12e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b921e62f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b921d9b09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b921d9a22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b921d9a1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b921d9a1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b921d2f298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b921d2f94ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b921d2faf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071dfc2c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071dfc2d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_modularize_instance_embind (test_core.thinltoz) ... FAIL
test_longjmp3_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp_exc.wasm /b/s/w/ir/x/t/emtest_e8n8itdy/emscripten_temp_e6fkyz9x/test_longjmp_exc_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_e8n8itdy/tmp2erunt1zlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_longjmp_exc_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005b3dabca0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b3dabc9e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b3dabca1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000737c3de42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000737c3de969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000737c3de969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000737c3de969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000737c3de42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000737c3de287f3 abort ./stdlib/abort.c:81:7
#9 0x0000737c3de2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000737c3de39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b3dae71e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b3dae715044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b3dae71da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b3dae714465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b3dae71402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b3dae714875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b3dae71efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b3dae6e730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b3dae942e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b3dad35f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b3dac6e09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b3dac6d22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b3dac6d1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b3dac6d1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b3dac02298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b3dac0294ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b3dac02af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000737c3de94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000737c3df26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005c2e77451d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c2e7744f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c2e77452576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000725918842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007259188969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007259188969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007259188969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000725918842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007259188287f3 abort ./stdlib/abort.c:81:7
#9 0x000072591882871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000725918839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c2e79ecf6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c2e79ec6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c2e79ecea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c2e79ec5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c2e79ec502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c2e79ec5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c2e79ecffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c2e79e9830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c2e7a0f3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c2e78b10910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c2e77e919f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c2e77e832b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c2e77e82523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c2e77e82e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c2e777d398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c2e777da4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c2e777dbf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000725918894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000725918926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp.wasm /b/s/w/ir/x/t/emtest_n122xiya/emscripten_temp_bnugfopn/test_longjmp_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_n122xiya/tmpmfglm6hjlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp4.wasm /b/s/w/ir/x/t/emtest_8gl_364_/emscripten_temp_l5oo8qyj/test_longjmp4_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_8gl_364_/tmpu455ovqvlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_longjmp_emscripten (test_core.thinltoz) ... FAIL
#0 0x000063cf6fd32d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063cf6fd307b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063cf6fd33576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000070ffbe842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000070ffbe8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000070ffbe8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000070ffbe8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000070ffbe842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000070ffbe8287f3 abort ./stdlib/abort.c:81:7
#9 0x000070ffbe82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000070ffbe839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063cf727b06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063cf727a7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063cf727afa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063cf727a6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063cf727a602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063cf727a6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063cf727b0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063cf7277930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063cf729d4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063cf713f1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063cf707729f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063cf707642b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063cf70763523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063cf70763e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063cf700b498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063cf700bb4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063cf700bcf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000070ffbe894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000070ffbe926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_longjmp2_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
None
None
test_longjmp4_wasm_legacy (test_core.thinltoz) ... FAIL
test_longjmp2_main_module_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
#0 0x00005f5888862d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f58888607b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f5888863576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d42f8c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d42f8c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d42f8c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d42f8c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d42f8c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d42f8c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d42f8c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d42f8c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f588b2e06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f588b2d7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f588b2dfa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f588b2d6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f588b2d602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f588b2d6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f588b2e0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f588b2a930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f588b504e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f5889f21910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f58892a29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f58892942b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f5889293523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f5889293e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f5888be498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f5888beb4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f5888becf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d42f8c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d42f8d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp4.wasm /b/s/w/ir/x/t/emtest_b6vrmh6i/emscripten_temp_wjnx0fch/test_longjmp4_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_b6vrmh6i/tmpymo52yellibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_longjmp4_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp3.wasm /b/s/w/ir/x/t/emtest__w4q5sk5/emscripten_temp_q5vh9n3u/test_longjmp3_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest__w4q5sk5/tmpmliry65ilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_longjmp3_wasm_legacy (test_core.thinltoz) ... FAIL
#0 0x0000613427f8bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000613427f897b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000613427f8c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000747b07c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000747b07c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000747b07c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000747b07c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000747b07c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000747b07c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000747b07c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000747b07c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061342aa096a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061342aa00044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061342aa08a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061342a9ff465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061342a9ff02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061342a9ff875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061342aa09fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061342a9d230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061342ac2de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061342964a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006134289cb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006134289bd2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006134289bc523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006134289bce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061342830d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006134283144ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000613428315f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000747b07c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000747b07d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000060b148f80d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060b148f7e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060b148f81576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007306e9242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007306e92969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007306e92969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007306e92969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007306e9242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007306e92287f3 abort ./stdlib/abort.c:81:7
#9 0x00007306e922871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007306e9239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060b14b9fe6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000060b14b9f5044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060b14b9fda48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000060b14b9f4465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060b14b9f402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000060b14b9f4875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060b14b9fefbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060b14b9c730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060b14bc22e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060b14a63f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060b1499c09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060b1499b22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060b1499b1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060b1499b1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060b14930298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060b1493094ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060b14930af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007306e9294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007306e9326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp3.wasm /b/s/w/ir/x/t/emtest_56ekqznj/emscripten_temp_ydji9qgz/test_longjmp3_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_56ekqznj/tmpn9j8dkfnlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp2.wasm /b/s/w/ir/x/t/emtest_q7gui7o1/emscripten_temp_1bebxoja/test_longjmp2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_q7gui7o1/tmp4enc7c21libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_longjmp3_emscripten (test_core.thinltoz) ... FAIL
None
None
test_longjmp2_wasm_legacy (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005fbb569b1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005fbb569af7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005fbb569b2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ebd18642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ebd186969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ebd186969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ebd186969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ebd18642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ebd186287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ebd1862871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ebd18639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005fbb5942f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005fbb59426044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005fbb5942ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005fbb59425465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005fbb5942502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005fbb59425875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005fbb5942ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005fbb593f830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005fbb59653e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005fbb58070910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005fbb573f19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005fbb573e32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005fbb573e2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005fbb573e2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005fbb56d3398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005fbb56d3a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005fbb56d3bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ebd18694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ebd18726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp2.wasm /b/s/w/ir/x/t/emtest_osv3l6rf/emscripten_temp_35jiqip7/test_longjmp2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_osv3l6rf/tmpmqo88orslibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005f10e8b55d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f10e8b537b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f10e8b56576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071f9ea442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071f9ea4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071f9ea4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071f9ea4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071f9ea442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071f9ea4287f3 abort ./stdlib/abort.c:81:7
#9 0x000071f9ea42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071f9ea439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f10eb5d36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f10eb5ca044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f10eb5d2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f10eb5c9465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f10eb5c902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f10eb5c9875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f10eb5d3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f10eb59c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f10eb7f7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f10ea214910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f10e95959f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f10e95872b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f10e9586523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f10e9586e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f10e8ed798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f10e8ede4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f10e8edff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071f9ea494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071f9ea526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_longjmp2_emscripten (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_localeconv.wasm /b/s/w/ir/x/t/emtest_1zc943yf/emscripten_temp_7w23o3sk/test_localeconv_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1zc943yf/tmpn85ogmwilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_localeconv (test_core.thinltoz) ... FAIL
#0 0x00005dee29b47d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005dee29b457b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005dee29b48576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007af7bd842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007af7bd8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007af7bd8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007af7bd8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007af7bd842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007af7bd8287f3 abort ./stdlib/abort.c:81:7
#9 0x00007af7bd82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007af7bd839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005dee2c5c56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005dee2c5bc044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005dee2c5c4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005dee2c5bb465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005dee2c5bb02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005dee2c5bb875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005dee2c5c5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005dee2c58e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005dee2c7e9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005dee2b206910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005dee2a5879f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005dee2a5792b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005dee2a578523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005dee2a578e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005dee29ec998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005dee29ed04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005dee29ed1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007af7bd894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007af7bd926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000055f14ea74d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055f14ea727b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055f14ea75576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e5992042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e59920969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e59920969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e59920969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e5992042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e59920287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e599202871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e5992039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055f1514f26a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055f1514e9044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055f1514f1a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055f1514e8465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055f1514e802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055f1514e8875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055f1514f2fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055f1514bb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055f151716e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055f150133910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055f14f4b49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055f14f4a62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055f14f4a5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055f14f4a5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055f14edf698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055f14edfd4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055f14edfef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e5992094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e5992126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_llvmswitch.wasm /b/s/w/ir/x/t/emtest_36tptgyg/emscripten_temp_34adotoe/test_llvmswitch_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_36tptgyg/tmp82vng1_8libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_llvm_used.wasm /b/s/w/ir/x/t/emtest_1edcdu4t/emscripten_temp_bipxphya/test_llvm_used_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1edcdu4t/tmpzafak0jflibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_llvmswitch (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_llvm_used (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000057c426705d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057c4267037b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057c426706576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c7529042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c75290969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c75290969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c75290969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c7529042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c75290287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c752902871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c7529039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057c4291836a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057c42917a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057c429182a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057c429179465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057c42917902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057c429179875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057c429183fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057c42914c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057c4293a7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057c427dc4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057c4271459f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057c4271372b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057c427136523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057c427136e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057c426a8798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057c426a8e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057c426a8ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c7529094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c7529126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005f1aa6af2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f1aa6af07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f1aa6af3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077d8bf442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077d8bf4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000077d8bf4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000077d8bf4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000077d8bf442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000077d8bf4287f3 abort ./stdlib/abort.c:81:7
#9 0x000077d8bf42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000077d8bf439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f1aa95706a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f1aa9567044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f1aa956fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f1aa9566465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f1aa956602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f1aa9566875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f1aa9570fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f1aa953930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f1aa9794e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f1aa81b1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f1aa75329f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f1aa75242b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f1aa7523523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f1aa7523e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f1aa6e7498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f1aa6e7b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f1aa6e7cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000077d8bf494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000077d8bf526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005a9f90cadd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a9f90cab7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a9f90cae576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007cef34242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007cef342969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007cef342969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007cef342969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007cef34242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007cef342287f3 abort ./stdlib/abort.c:81:7
#9 0x00007cef3422871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007cef34239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a9f9372b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a9f93722044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a9f9372aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a9f93721465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a9f9372102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a9f93721875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a9f9372bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a9f936f430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a9f9394fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a9f9236c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a9f916ed9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a9f916df2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a9f916de523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a9f916dee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a9f9102f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a9f910364ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a9f91037f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007cef34294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007cef34326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_llvm_fabs.wasm /b/s/w/ir/x/t/emtest_ry9utjtq/emscripten_temp_amvl67nf/test_llvm_fabs_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ry9utjtq/tmpa022kygclibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp2.wasm --whole-archive /b/s/w/ir/x/t/emtest_z7ef22z5/emscripten_temp_wl9g2v7_/test_longjmp2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=strerror --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy /b/s/w/ir/x/t/emtest_z7ef22z5/tmp7pwhx1zjlibemscripten_js_symbols.so --import-memory --strip-debug --export-dynamic -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_tempret_get --export=_emscripten_tempret_set --export=strerror --export=htons --export=ntohs --export=malloc --export=htonl --export=_emscripten_timeout --export=realloc --export=free --export=fileno --export=emscripten_builtin_memalign --export=__dl_seterr --export=memcmp --export=memcpy --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --experimental-pic --unresolved-symbols=import-dynamic -pie -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_llvm_fabs (test_core.thinltoz) ... FAIL
None
None
test_longjmp2_main_module_emscripten (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_literal_negative_zero.wasm /b/s/w/ir/x/t/emtest_02h42vdj/emscripten_temp_ac9npjwe/test_literal_negative_zero_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_02h42vdj/tmpyx4zucdllibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_literal_negative_zero (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000060d6770a5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060d6770a37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060d6770a6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a2c05a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a2c05a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a2c05a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a2c05a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a2c05a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a2c05a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a2c05a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a2c05a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060d679b236a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000060d679b1a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060d679b22a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000060d679b19465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060d679b1902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000060d679b19875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060d679b23fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060d679aec30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060d679d47e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060d678764910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060d677ae59f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060d677ad72b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060d677ad6523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060d677ad6e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060d67742798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060d67742e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060d67742ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a2c05a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a2c05b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o life.wasm /b/s/w/ir/x/t/emtest_v5r9y620/emscripten_temp_eodeq0pw/life_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_v5r9y620/tmp5s8u8kazlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005b1816aa0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b1816a9e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b1816aa1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e525f842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e525f8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e525f8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e525f8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e525f842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e525f8287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e525f82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e525f839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b181951e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b1819515044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b181951da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b1819514465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b181951402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b1819514875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b181951efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b18194e730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b1819742e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b181815f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b18174e09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b18174d22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b18174d1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b18174d1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b1816e2298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b1816e294ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b1816e2af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e525f894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e525f926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_life (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o response_file.wasm response_file.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_zarin1_2/tmpxox0kpxelibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005954f2caad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005954f2ca87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005954f2cab576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007837b7642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007837b76969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007837b76969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007837b76969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007837b7642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007837b76287f3 abort ./stdlib/abort.c:81:7
#9 0x00007837b762871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007837b7639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005954f57286a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005954f571f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005954f5727a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005954f571e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005954f571e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005954f571e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005954f5728fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005954f56f130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005954f594ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005954f4369910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005954f36ea9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005954f36dc2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005954f36db523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005954f36dbe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005954f302c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005954f30334ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005954f3034f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007837b7694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007837b7726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_linker_response_file (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_libgen.wasm /b/s/w/ir/x/t/emtest_ipfv_8ab/emscripten_temp_brn75_vu/test_libgen_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ipfv_8ab/tmpzthfojyilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_libgen (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000058b1aca5ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058b1aca5c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058b1aca5f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072738d642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072738d6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072738d6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072738d6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072738d642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072738d6287f3 abort ./stdlib/abort.c:81:7
#9 0x000072738d62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072738d639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058b1af4dc6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058b1af4d3044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058b1af4dba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058b1af4d2465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058b1af4d202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058b1af4d2875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058b1af4dcfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058b1af4a530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058b1af700e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058b1ae11d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058b1ad49e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058b1ad4902b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058b1ad48f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058b1ad48fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058b1acde098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058b1acde74ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058b1acde8f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072738d694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072738d726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_xdv79hg7/emscripten_temp_qxzg7xja/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xdv79hg7/tmpft1c0sx_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005829e8a3ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005829e8a387b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005829e8a3b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000707284442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007072844969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007072844969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007072844969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000707284442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007072844287f3 abort ./stdlib/abort.c:81:7
#9 0x000070728442871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000707284439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005829eb4b86a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005829eb4af044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005829eb4b7a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005829eb4ae465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005829eb4ae02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005829eb4ae875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005829eb4b8fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005829eb48130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005829eb6dce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005829ea0f9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005829e947a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005829e946c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005829e946b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005829e946be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005829e8dbc98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005829e8dc34ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005829e8dc4f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000707284494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000707284526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_legacy_stack_deps (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o legacy_exported_runtime_numbers.wasm /b/s/w/ir/x/t/emtest_f6u2judg/emscripten_temp_jxyap7qc/legacy_exported_runtime_numbers_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_f6u2judg/tmpxfr2kijrlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_legacy_exported_runtime_numbers (test_core.thinltoz) ... FAIL
#0 0x00005b622e569d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b622e5677b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b622e56a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000753aa7442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000753aa74969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000753aa74969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000753aa74969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000753aa7442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000753aa74287f3 abort ./stdlib/abort.c:81:7
#9 0x0000753aa742871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000753aa7439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b6230fe76a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b6230fde044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b6230fe6a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b6230fdd465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b6230fdd02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b6230fdd875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b6230fe7fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b6230fb030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b623120be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b622fc28910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b622efa99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b622ef9b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b622ef9a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b622ef9ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b622e8eb98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b622e8f24ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b622e8f3f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000753aa7494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000753aa7526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_langinfo.wasm /b/s/w/ir/x/t/emtest_xywyrlf4/emscripten_temp_s4sfrgks/test_langinfo_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xywyrlf4/tmpotx92gdclibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_langinfo (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005ccd9ce5bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ccd9ce597b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ccd9ce5c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a36d0442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a36d04969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a36d04969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a36d04969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a36d0442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a36d04287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a36d042871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a36d0439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ccd9f8d96a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ccd9f8d0044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ccd9f8d8a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ccd9f8cf465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ccd9f8cf02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ccd9f8cf875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ccd9f8d9fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ccd9f8a230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ccd9fafde76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ccd9e51a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ccd9d89b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ccd9d88d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ccd9d88c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ccd9d88ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ccd9d1dd98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ccd9d1e44ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ccd9d1e5f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a36d0494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a36d0526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005a948610ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a948610c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a948610f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000741b15c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000741b15c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000741b15c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000741b15c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000741b15c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000741b15c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000741b15c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000741b15c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a9488b8c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a9488b83044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a9488b8ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a9488b82465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a9488b8202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a9488b82875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a9488b8cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a9488b5530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a9488db0e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a94877cd910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a9486b4e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a9486b402b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a9486b3f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a9486b3fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a948649098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a94864974ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a9486498f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000741b15c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000741b15d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_jslib_i64_params.wasm /b/s/w/ir/x/t/emtest_e786egta/emscripten_temp_fxmbkzaa/test_jslib_i64_params_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_e786egta/tmpaz9w806rlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_jslib_i64_params_bigint (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_jslib_i64_params.wasm /b/s/w/ir/x/t/emtest_r1k24tvh/emscripten_temp_gum2g208/test_jslib_i64_params_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_r1k24tvh/tmphsaqylj3libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
0
None
None
test_jslib_i64_params (test_core.thinltoz) ... FAIL
#0 0x00006344c6436d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006344c64347b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006344c6437576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072134b442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072134b4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072134b4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072134b4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072134b442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072134b4287f3 abort ./stdlib/abort.c:81:7
#9 0x000072134b42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072134b439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006344c8eb46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006344c8eab044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006344c8eb3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006344c8eaa465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006344c8eaa02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006344c8eaa875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006344c8eb4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006344c8e7d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006344c90d8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006344c7af5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006344c6e769f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006344c6e682b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006344c6e67523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006344c6e67e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006344c67b898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006344c67bf4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006344c67c0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072134b494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072134b526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005eac0f58bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005eac0f5897b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005eac0f58c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000775452e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000775452e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000775452e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000775452e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000775452e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000775452e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000775452e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000775452e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005eac120096a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005eac12000044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005eac12008a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005eac11fff465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005eac11fff02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005eac11fff875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005eac12009fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005eac11fd230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005eac1222de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005eac10c4a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005eac0ffcb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005eac0ffbd2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005eac0ffbc523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005eac0ffbce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005eac0f90d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005eac0f9144ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005eac0f915f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000775452e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000775452f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_1a6fjr0r/emscripten_temp_3k587wbp/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1a6fjr0r/tmp2pfpxpd4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_jslib (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_libcxx_hash.wasm /b/s/w/ir/x/t/emtest_ljvj6qs7/emscripten_temp_ewbc8ar0/test_libcxx_hash_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ljvj6qs7/tmpe2coocsalibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_libcxx (test_core.thinltoz) ... FAIL
(iteration 0)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000624ce6a30d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000624ce6a2e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000624ce6a31576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000705b81042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000705b810969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000705b810969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000705b810969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000705b81042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000705b810287f3 abort ./stdlib/abort.c:81:7
#9 0x0000705b8102871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000705b81039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000624ce94ae6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000624ce94a5044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000624ce94ada48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000624ce94a4465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000624ce94a402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000624ce94a4875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000624ce94aefbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000624ce947730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000624ce96d2e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000624ce80ef910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000624ce74709f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000624ce74622b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000624ce7461523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000624ce7461e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000624ce6db298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000624ce6db94ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000624ce6dbaf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000705b81094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000705b81126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000063ab388c5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063ab388c37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063ab388c6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c3d67642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c3d676969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c3d676969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c3d676969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c3d67642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c3d676287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c3d6762871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c3d67639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063ab3b3436a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063ab3b33a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063ab3b342a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063ab3b339465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063ab3b33902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063ab3b339875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063ab3b343fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063ab3b30c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063ab3b567e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063ab39f84910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063ab393059f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063ab392f72b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063ab392f6523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063ab392f6e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063ab38c4798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063ab38c4e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063ab38c4ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c3d67694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c3d67726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld @/b/s/w/ir/x/t/emtest_ndn28dn2/emscripten_otuob0ws.rsp.utf-8' failed (received SIGABRT (-6))
None
None
test_large_exported_response (test_core.thinltoz) ... FAIL
test_intvars (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_isnan.wasm /b/s/w/ir/x/t/emtest_mv3puajq/emscripten_temp_lndxybdf/test_isnan_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mv3puajq/tmpg7hqbdjhlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_isnan (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000631be7ad5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000631be7ad37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000631be7ad6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b3498442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b34984969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b34984969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b34984969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b3498442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b34984287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b349842871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b3498439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000631bea5536a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000631bea54a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000631bea552a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000631bea549465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000631bea54902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000631bea549875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000631bea553fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000631bea51c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000631bea777e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000631be9194910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000631be85159f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000631be85072b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000631be8506523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000631be8506e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000631be7e5798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000631be7e5e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000631be7e5ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b3498494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b3498526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005f40e56f2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f40e56f07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f40e56f3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ee36a242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ee36a2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ee36a2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ee36a2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ee36a242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ee36a2287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ee36a22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ee36a239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f40e81706a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f40e8167044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f40e816fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f40e8166465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f40e816602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f40e8166875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f40e8170fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f40e813930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f40e8394e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f40e6db1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f40e61329f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f40e61242b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f40e6123523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f40e6123e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f40e5a7498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f40e5a7b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f40e5a7cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ee36a294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ee36a326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_convertI32PairToI53Checked.wasm /b/s/w/ir/x/t/emtest_zy64kqe0/emscripten_temp_5b96t_2a/test_convertI32PairToI53Checked_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_zy64kqe0/tmpy8bkfppnlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_int53_convertI32PairToI53Checked (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_int53.wasm /b/s/w/ir/x/t/emtest_7ixpbn85/emscripten_temp_0fhiwzcw/test_int53_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_7ixpbn85/tmpymh05mewlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_int53 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000063ff29d3cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063ff29d3a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063ff29d3d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a5698242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a56982969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a56982969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a56982969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a5698242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a56982287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a569822871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a5698239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063ff2c7ba6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063ff2c7b1044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063ff2c7b9a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063ff2c7b0465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063ff2c7b002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063ff2c7b0875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063ff2c7bafbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063ff2c78330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063ff2c9dee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063ff2b3fb910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063ff2a77c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063ff2a76e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063ff2a76d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063ff2a76de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063ff2a0be98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063ff2a0c54ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063ff2a0c6f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a5698294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a5698326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000058487e5e9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058487e5e77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058487e5ea576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077aa59a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077aa59a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000077aa59a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000077aa59a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000077aa59a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000077aa59a287f3 abort ./stdlib/abort.c:81:7
#9 0x000077aa59a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000077aa59a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005848810676a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058488105e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000584881066a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058488105d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058488105d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058488105d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000584881067fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058488103030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058488128be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058487fca8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058487f0299f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058487f01b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058487f01a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058487f01ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058487e96b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058487e9724ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058487e973f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000077aa59a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000077aa59b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_jwd4mdq8/emscripten_temp_1xkjoy0d/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_jwd4mdq8/tmpfywbupyzlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000651a089e4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000651a089e27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000651a089e5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007261ed042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007261ed0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007261ed0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007261ed0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007261ed042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007261ed0287f3 abort ./stdlib/abort.c:81:7
#9 0x00007261ed02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007261ed039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000651a0b4626a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000651a0b459044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000651a0b461a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000651a0b458465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000651a0b45802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000651a0b458875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000651a0b462fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000651a0b42b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000651a0b686e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000651a0a0a3910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000651a094249f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000651a094162b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000651a09415523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000651a09415e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000651a08d6698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000651a08d6d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000651a08d6ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007261ed094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007261ed126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
None
None
test_inlinejs4 (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_inlinejs3.wasm /b/s/w/ir/x/t/emtest_af4ian2f/emscripten_temp_2o5hfjqy/test_inlinejs3_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_af4ian2f/tmp7zdqatp3libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_inlinejs3 (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_istream.wasm /b/s/w/ir/x/t/emtest_i9c_k3e8/emscripten_temp_or83ne5r/test_istream_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_i9c_k3e8/tmpd7mhv_zolibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_e124v4gm/emscripten_temp_i7tfl5wm/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_e124v4gm/tmpphy4dg9llibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_iostream_ctors (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_istream (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
test_i64_varargs (test_core.thinltoz) ... skipped 'is_wasm2js : tests va_arg() with i64 params'
test_i64_umul (test_core.thinltoz) ... skipped 'is_wasm2js : test 64-bit multiply'
test_i64_qdouble (test_core.thinltoz) ... skipped 'is_wasm2js : test 64-bit/double conversions'
test_i64_precise_standalone (test_core.thinltoz) ... skipped 'is_wasm2js : test 64-bit math'
test_i64_precise_needed (test_core.thinltoz) ... skipped 'is_wasm2js : test 64-bit multiply'
test_i64_precise (test_core.thinltoz) ... skipped 'is_wasm2js : test 64-bit math'
system_libs:INFO: compiled 1044 inputs in 17.66s
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_vyea5wuw/emscripten_temp_d0nh2ons/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_vyea5wuw/tmpni01oa5tlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_iostream_and_determinism (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005c9672938d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c96729367b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c9672939576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f5ba8a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f5ba8a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f5ba8a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f5ba8a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f5ba8a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f5ba8a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f5ba8a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f5ba8a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c96753b66a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c96753ad044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c96753b5a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c96753ac465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c96753ac02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c96753ac875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c96753b6fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c967537f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c96755dae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c9673ff7910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c96733789f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c967336a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c9673369523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c9673369e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c9672cba98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c9672cc14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c9672cc2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f5ba8a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f5ba8b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_indirectbr.wasm /b/s/w/ir/x/t/emtest_f4akvqtt/emscripten_temp_7ivp4gx6/test_indirectbr_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_f4akvqtt/tmpcdtqxyh7libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_indirectbr (test_core.thinltoz) ... FAIL
test_i64_i16 (test_core.thinltoz) ... skipped 'is_wasm2js : test 64-bit math with short values'
test_i64_double (test_core.thinltoz) ... skipped 'is_wasm2js : test unions of i64 and double'
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libdlmalloc-ww.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libdlmalloc-ww.a" for subsequent builds)
test_i64_cmp2 (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
test_i64_cmp (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
test_i64_b (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
test_i64_7z (test_core.thinltoz) ... skipped 'is_wasm2js : test 64-bit math'
#0 0x00006448ec007d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006448ec0057b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006448ec008576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076ab10242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076ab102969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076ab102969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076ab102969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076ab10242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076ab102287f3 abort ./stdlib/abort.c:81:7
#9 0x000076ab1022871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076ab10239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006448eea856a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006448eea7c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006448eea84a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006448eea7b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006448eea7b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006448eea7b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006448eea85fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006448eea4e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006448eeca9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006448ed6c6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006448eca479f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006448eca392b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006448eca38523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006448eca38e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006448ec38998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006448ec3904ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006448ec391f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076ab10294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076ab10326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_i64_4 (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
#0 0x00005e87aeca4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e87aeca27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e87aeca5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f339d842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f339d8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f339d8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f339d8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f339d842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f339d8287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f339d82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f339d839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e87b17226a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e87b1719044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e87b1721a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e87b1718465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e87b171802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e87b1718875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e87b1722fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e87b16eb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e87b1946e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e87b0363910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e87af6e49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e87af6d62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e87af6d5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0test_i64_3 (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
#24 0x00005e87af6d5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e87af02698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e87af02d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e87af02ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f339d894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f339d926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_i64_2 (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
test_i64 (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
test_i32_mul_precise (test_core.thinltoz) ... skipped 'is_wasm2js : tests 32-bit multiplication'
test_i16_emcc_intrinsic (test_core.thinltoz) ... skipped 'is_wasm2js : tests operations on 16-bit values'
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_i64_zextneg.wasm /b/s/w/ir/x/t/emtest_rzahhxtm/emscripten_temp_x4xiujf7/test_i64_zextneg_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_rzahhxtm/tmpimaropltlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_i64_llabs.wasm /b/s/w/ir/x/t/emtest_l9s5mj3t/emscripten_temp_3y5frd5w/test_i64_llabs_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_l9s5mj3t/tmpn3uf_7b_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_i64_zextneg (test_core.thinltoz) ... FAIL
None
None
test_i64_llabs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
#0 0x00005e7dc3ecdd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e7dc3ecb7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e7dc3ece576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007640a8c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007640a8c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007640a8c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007640a8c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007640a8c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007640a8c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007640a8c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007640a8c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e7dc694b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e7dc6942044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e7dc694aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e7dc6941465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e7dc694102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e7dc6941875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e7dc694bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e7dc691430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e7dc6b6fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e7dc558c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e7dc490d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e7dc48ff2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e7dc48fe523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e7dc48fee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e7dc424f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e7dc42564ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e7dc4257f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007640a8c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007640a8d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_hello_argc.wasm /b/s/w/ir/x/t/emtest__18ap6p9/emscripten_temp_j9_fbhxk/test_hello_argc_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__18ap6p9/tmpsdlcbaaqlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_hello_argc_pthreads (test_core.thinltoz) ... FAIL
#0 0x00005d9a61924d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d9a619227b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d9a61925576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007febc1c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007febc1c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007febc1c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007febc1c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007febc1c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007febc1c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007febc1c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007febc1c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d9a643a26a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d9a64399044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d9a643a1a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d9a64398465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d9a6439802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d9a64398875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d9a643a2fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d9a6436b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d9a645c6e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d9a62fe3910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d9a623649f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d9a623562b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d9a62355523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d9a62355e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d9a61ca698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d9a61cad4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d9a61caef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007febc1c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007febc1d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_indirectbr_many.wasm /b/s/w/ir/x/t/emtest_xh3p280i/emscripten_temp_am0xqbxg/test_indirectbr_many_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xh3p280i/tmp_w_m3z6elibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_indirectbr_many (test_core.thinltoz) ... FAIL
test_globaldoubles (test_core.thinltoz) ... skipped 'is_wasm2js : tests globals in static data'
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_hello_world.wasm /b/s/w/ir/x/t/emtest_4z8xtgul/emscripten_temp_y333zugt/test_hello_world_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_4z8xtgul/tmp632995c_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_hello_world (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 2 inputs in 1.58s
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libcompiler_rt-ww.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libcompiler_rt-ww.a" for subsequent builds)
#0 0x00005ee4b955bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ee4b95597b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ee4b955c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079e59f842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079e59f8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000079e59f8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000079e59f8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000079e59f842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000079e59f8287f3 abort ./stdlib/abort.c:81:7
#9 0x000079e59f82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000079e59f839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ee4bbfd96a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ee4bbfd0044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ee4bbfd8a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ee4bbfcf465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ee4bbfcf02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ee4bbfcf875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ee4bbfd9fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ee4bbfa230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ee4bc1fde76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ee4bac1a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ee4b9f9b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ee4b9f8d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ee4b9f8c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ee4b9f8ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ee4b98dd98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ee4b98e44ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ee4b98e5f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000079e59f894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000079e59f926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_hello_argc.wasm /b/s/w/ir/x/t/emtest_u9hx2vre/emscripten_temp_cm_hv2kz/test_hello_argc_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_u9hx2vre/tmpf9ne6zpwlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_hello_argc (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000560535ee8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000560535ee67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000560535ee9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000740581c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000740581c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000740581c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000740581c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000740581c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000740581c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000740581c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000740581c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005605389666a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056053895d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000560538965a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056053895c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056053895c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056053895c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000560538966fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056053892f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000560538b8ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005605375a7910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005605369289f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056053691a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000560536919523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000560536919e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056053626a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005605362714ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000560536272f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000740581c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000740581d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_getopt_long.wasm /b/s/w/ir/x/t/emtest_jem0aegc/emscripten_temp_j14v0veh/test_getopt_long_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_jem0aegc/tmpz26y_bhllibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_getopt_long (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005db8caa77d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005db8caa757b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005db8caa78576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000741531e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000741531e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000741531e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000741531e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000741531e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000741531e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000741531e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000741531e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005db8cd4f56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005db8cd4ec044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005db8cd4f4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005db8cd4eb465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005db8cd4eb02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005db8cd4eb875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005db8cd4f5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005db8cd4be30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005db8cd719e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005db8cc136910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005db8cb4b79f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005db8cb4a92b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005db8cb4a8523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005db8cb4a8e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005db8cadf998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005db8cae004ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005db8cae01f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000741531e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000741531f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_gl_get_proc_address.wasm --whole-archive /b/s/w/ir/x/t/emtest_3yylzty0/emscripten_temp_60j7x5yw/test_gl_get_proc_address_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=strerror --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy /b/s/w/ir/x/t/emtest_3yylzty0/tmpgjx02h_jlibemscripten_js_symbols.so --import-memory --strip-debug --export-dynamic -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_tempret_get --export=_emscripten_tempret_set --export=strerror --export=htons --export=ntohs --export=malloc --export=htonl --export=_emscripten_timeout --export=realloc --export=free --export=fileno --export=emscripten_builtin_memalign --export=__dl_seterr --export=memcmp --export=memcpy --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --experimental-pic --unresolved-symbols=import-dynamic -pie -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
#0 0x000058037d21bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058037d2197b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058037d21c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075877f642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075877f6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075877f6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075877f6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075877f642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075877f6287f3 abort ./stdlib/abort.c:81:7
#9 0x000075877f62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075877f639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058037fc996a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058037fc90044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058037fc98a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058037fc8f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058037fc8f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058037fc8f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058037fc99fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058037fc6230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058037febde76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058037e8da910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058037dc5b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058037dc4d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058037dc4c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058037dc4ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058037d59d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058037d5a44ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058037d5a5f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075877f694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075877f726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_gl_main_module (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_getopt.wasm /b/s/w/ir/x/t/emtest_hymuoe04/emscripten_temp_ekbj2wva/test_getopt_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_hymuoe04/tmp_x2ixrqmlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_getopt (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000060e724710d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060e72470e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060e724711576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ae61e242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ae61e2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ae61e2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ae61e2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ae61e242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ae61e2287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ae61e22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ae61e239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060e72718e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000060e727185044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060e72718da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000060e727184465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060e72718402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000060e727184875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060e72718efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060e72715730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060e7273b2e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060e725dcf910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060e7251509f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060e7251422b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060e725141523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060e725141e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060e724a9298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060e724a994ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060e724a9af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ae61e294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ae61e326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
common:WARNING: no wasm engine was found to run the standalone part of this test
test_hello_argc_standalone (test_core.thinltoz) ... ok (4.55s)
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_getloadavg.wasm /b/s/w/ir/x/t/emtest_hm0ksxet/emscripten_temp_84saiqx9/test_getloadavg_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_hm0ksxet/tmpjz5ypoqflibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_getloadavg (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005b843d7a2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b843d7a07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b843d7a3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e2931642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e29316969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e29316969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e29316969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e2931642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e29316287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e293162871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e2931639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b84402206a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b8440217044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b844021fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b8440216465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b844021602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b8440216875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b8440220fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b84401e930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b8440444e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b843ee61910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b843e1e29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b843e1d42b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b843e1d3523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b843e1d3e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b843db2498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b843db2b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b843db2cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e2931694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e2931726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
system_libs:INFO: compiled 182 inputs in 4.03s
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_getdents64.wasm /b/s/w/ir/x/t/emtest_vnj1w57v/emscripten_temp_0473i_u5/test_getdents64_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_vnj1w57v/tmpebh94idrlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_getdents64 (test_core.thinltoz) ... FAIL
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libsockets-ww.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libsockets-ww.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005fe38b223d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005fe38b2217b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005fe38b224576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ce90d642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ce90d6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ce90d6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ce90d6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ce90d642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ce90d6287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ce90d62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ce90d639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005fe38dca16a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005fe38dc98044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005fe38dca0a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005fe38dc97465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005fe38dc9702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005fe38dc97875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005fe38dca1fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005fe38dc6a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005fe38dec5e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005fe38c8e2910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005fe38bc639f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005fe38bc552b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005fe38bc54523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005fe38bc54e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005fe38b5a598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005fe38b5ac4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005fe38b5adf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ce90d694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ce90d726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_get_exported_function.wasm /b/s/w/ir/x/t/emtest_kmtfb3k5/emscripten_temp_bp_8z8w2/test_get_exported_function_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_kmtfb3k5/tmpd2wpzuqklibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table --growable-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_get_exported_function_minimal_runtime (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
system_libs:INFO: compiled 27 inputs in 1.69s
#0 0x000058bc71b9fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058bc71b9d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058bc71ba0576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f688ca42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f688ca969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f688ca969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f688ca969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f688ca42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f688ca287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f688ca2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f688ca39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058bc7461d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058bc74614044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058bc7461ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058bc74613465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058bc7461302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058bc74613875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058bc7461dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058bc745e630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058bc74841e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058bc7325e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058bc725df9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058bc725d12b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058bc725d0523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058bc725d0e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058bc71f2198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058bc71f284ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058bc71f29f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f688ca94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f688cb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
cache:INFO: - ok
#0 0x0000615588efcd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000615588efa7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000615588efd576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fc933a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007fc933a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007fc933a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007fc933a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007fc933a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007fc933a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007fc933a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007fc933a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061558b97a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061558b971044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061558b979a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061558b970465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061558b97002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061558b970875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061558b97afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061558b94330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061558bb9ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061558a5bb910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061558993c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061558992e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061558992d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061558992de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061558927e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006155892854ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000615589286f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007fc933a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007fc933b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libcompiler_rt-legacysjlj.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libcompiler_rt-legacysjlj.a" for subsequent builds)
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_get_exported_function.wasm /b/s/w/ir/x/t/emtest_x0ew9j_y/emscripten_temp_mezyblyv/test_get_exported_function_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_x0ew9j_y/tmpwi61v9e3libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table --growable-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_getValue_setValue.wasm /b/s/w/ir/x/t/emtest_g5a5ev94/emscripten_temp_ger0v3pg/test_getValue_setValue_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_g5a5ev94/tmpdqpac9d_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_get_exported_function (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_getValue_setValue_bigint (test_core.thinltoz) ... FAIL
#0 0x000060d7fb245d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060d7fb2437b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060d7fb246576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fe43d442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007fe43d4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007fe43d4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007fe43d4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007fe43d442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007fe43d4287f3 abort ./stdlib/abort.c:81:7
#9 0x00007fe43d42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007fe43d439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060d7fdcc36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000060d7fdcba044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060d7fdcc2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000060d7fdcb9465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060d7fdcb902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000060d7fdcb9875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060d7fdcc3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060d7fdc8c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060d7fdee7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060d7fc904910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060d7fbc859f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060d7fbc772b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060d7fbc76523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060d7fbc76e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060d7fb5c798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060d7fb5ce4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060d7fb5cff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007fe43d494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007fe43d526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_getdents64_special_cases.wasm /b/s/w/ir/x/t/emtest_3duhet9e/emscripten_temp__3v7r3qa/test_getdents64_special_cases_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_3duhet9e/tmpvftktkh0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_getdents64_special_cases (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000060b5b51f5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060b5b51f37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060b5b51f6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b66f0242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b66f02969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b66f02969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b66f02969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b66f0242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b66f02287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b66f022871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b66f0239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060b5b7c736a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000060b5b7c6a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060b5b7c72a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000060b5b7c69465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060b5b7c6902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000060b5b7c69875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060b5b7c73fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060b5b7c3c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060b5b7e97e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060b5b68b4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060b5b5c359f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060b5b5c272b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060b5b5c26523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060b5b5c26e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060b5b557798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060b5b557e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060b5b557ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b66f0294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b66f0326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_getValue_setValue.wasm /b/s/w/ir/x/t/emtest_tkxr_24a/emscripten_temp_w9v7vxmv/test_getValue_setValue_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_tkxr_24a/tmpbxwdvv6xlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000056aeae958d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056aeae9567b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056aeae959576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000786183842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007861838969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007861838969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007861838969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000786183842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007861838287f3 abort ./stdlib/abort.c:81:7
#9 0x000078618382871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000786183839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056aeb13d66a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056aeb13cd044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056aeb13d5a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056aeb13cc465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056aeb13cc02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056aeb13cc875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056aeb13d6fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056aeb139f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056aeb15fae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056aeb0017910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056aeaf3989f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056aeaf38a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056aeaf389523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056aeaf389e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056aeaecda98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056aeaece14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056aeaece2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000786183894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000786183926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_getValue_setValue (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp.wasm /b/s/w/ir/x/t/emtest_2m5xep5g/emscripten_temp_xtnx49dz/test_longjmp_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-ww-getprocaddr -lal -lhtml5 -lc_optz-ww -lstubs -lnoexit -lc-ww -ldlmalloc-ww -lcompiler_rt-ww -lsockets-ww --whole-archive -lwasm_workers --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_2m5xep5g/tmpg85cybsalibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=_emscripten_wasm_worker_initialize --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_longjmp_wasm_workers (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000064f8e0167d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000064f8e01657b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000064f8e0168576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074e25ac42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074e25ac969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074e25ac969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074e25ac969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074e25ac42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074e25ac287f3 abort ./stdlib/abort.c:81:7
#9 0x000074e25ac2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074e25ac39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000064f8e2be56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000064f8e2bdc044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000064f8e2be4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000064f8e2bdb465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000064f8e2bdb02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000064f8e2bdb875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000064f8e2be5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000064f8e2bae30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000064f8e2e09e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000064f8e1826910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000064f8e0ba79f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000064f8e0b992b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000064f8e0b98523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000064f8e0b98e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064f8e04e998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000064f8e04f04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000064f8e04f1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074e25ac94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074e25ad26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000059468229ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005946822987b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059468229b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075d6bae42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075d6bae969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075d6bae969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075d6bae969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075d6bae42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075d6bae287f3 abort ./stdlib/abort.c:81:7
#9 0x000075d6bae2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075d6bae39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000594684d186a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000594684d0f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000594684d17a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000594684d0e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000594684d0e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000594684d0e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000594684d18fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000594684ce130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000594684f3ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000594683959910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000594682cda9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000594682ccc2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000594682ccb523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000594682ccbe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059468261c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005946826234ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000594682624f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075d6bae94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075d6baf26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_getcwd_with_non_ascii_name.wasm /b/s/w/ir/x/t/emtest_xzhijvt5/emscripten_temp_cmcbt20o/test_getcwd_with_non_ascii_name_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xzhijvt5/tmpot6gogj0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fwrite_0.wasm /b/s/w/ir/x/t/emtest_r_3rma45/emscripten_temp_zq3hmbbz/test_fwrite_0_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_r_3rma45/tmpiu8x_ih9libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x0000558c66f52d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000558c66f507b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000558c66f53576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007bf7f0c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007bf7f0c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007bf7f0c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007bf7f0c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007bf7f0c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007bf7f0c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007bf7f0c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007bf7f0c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000558c699d06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000558c699c7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000558c699cfa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000558c699c6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000558c699c602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000558c699c6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000558c699d0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000558c6999930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000558c69bf4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000558c68611910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000558c679929f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000558c679842b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000558c67983523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000558c67983e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000558c672d498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000558c672db4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000558c672dcf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007bf7f0c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007bf7f0d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_getcwd_with_non_ascii_name (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fwrite_0 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o cp-demangle.wasm /b/s/w/ir/x/t/emtest_v5rs3kut/emscripten_temp_yq22ag_i/cp-demangle_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_v5rs3kut/tmptph6h0kwlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_gcc_unmangler (test_core.thinltoz) ... FAIL
test_funcptrfunc (test_core.thinltoz) ... skipped 'is_wasm2js : tests function pointer calls'
#0 0x0000555e76cefd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000555e76ced7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000555e76cf0576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000070a152442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000070a1524969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000070a1524969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000070a1524969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000070a152442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000070a1524287f3 abort ./stdlib/abort.c:81:7
#9 0x000070a15242871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000070a152439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000555e7976d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000555e79764044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000555e7976ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000555e79763465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000555e7976302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000555e79763875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000555e7976dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000555e7973630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000555e79991e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000555e783ae910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000555e7772f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000555e777212b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000555e77720523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000555e77720e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000555e7707198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000555e770784ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000555e77079f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000070a152494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000070a152526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005c39f318ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c39f31887b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c39f318b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d38bca42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d38bca969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d38bca969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d38bca969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d38bca42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d38bca287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d38bca2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d38bca39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c39f5c086a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c39f5bff044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c39f5c07a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c39f5bfe465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c39f5bfe02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c39f5bfe875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c39f5c08fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c39f5bd130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c39f5e2ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c39f4849910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c39f3bca9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c39f3bbc2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c39f3bbb523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c39f3bbbe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c39f350c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c39f35134ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c39f3514f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d38bca94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d38bcb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_futimens.wasm /b/s/w/ir/x/t/emtest_sgbsgijm/emscripten_temp_vif8rim1/test_futimens_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_sgbsgijm/tmp181in2hilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_futimens.wasm /b/s/w/ir/x/t/emtest_b_wz_0ar/emscripten_temp_7vaima5o/test_futimens_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_b_wz_0ar/tmpyxrfyk76libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_futimens_rawfs (test_core.thinltoz) ... FAIL
test_funcptr (test_core.thinltoz) ... skipped 'is_wasm2js : tests function pointer calls'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_futimens_nodefs (test_core.thinltoz) ... FAIL
#0 0x0000561b903ead28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000561b903e87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000561b903eb576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007449b7a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007449b7a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007449b7a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007449b7a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007449b7a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007449b7a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007449b7a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007449b7a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000561b92e686a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000561b92e5f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000561b92e67a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000561b92e5e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000561b92e5e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000561b92e5e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000561b92e68fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000561b92e3130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000561b9308ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000561b91aa9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000561b90e2a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000561b90e1c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000561b90e1b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000561b90e1be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000561b9076c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000561b907734ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000561b90774f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007449b7a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007449b7b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00006352bae22d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006352bae207b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006352bae23576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072690e842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072690e8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072690e8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072690e8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072690e842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072690e8287f3 abort ./stdlib/abort.c:81:7
#9 0x000072690e82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072690e839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006352bd8a06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006352bd897044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006352bd89fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006352bd896465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006352bd89602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006352bd896875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006352bd8a0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006352bd86930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006352bdac4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006352bc4e1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006352bb8629f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006352bb8542b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006352bb853523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006352bb853e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006352bb1a498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006352bb1ab4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006352bb1acf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072690e894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072690e926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
system_libs:INFO: compiled 182 inputs in 5.03s
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_futimens.wasm /b/s/w/ir/x/t/emtest_ee0_2vdr/emscripten_temp_je80ba3q/test_futimens_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ee0_2vdr/tmp65hxtokwlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_futimens (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_functionpointer_libfunc_varargs.wasm /b/s/w/ir/x/t/emtest_ef7_utk4/emscripten_temp_p2pptfcf/test_functionpointer_libfunc_varargs_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ef7_utk4/tmpxxbjjcg3libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc++.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc++.a" for subsequent builds)
None
None
test_functionpointer_libfunc_varargs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000057b94c574d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057b94c5727b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057b94c575576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f59bb842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f59bb8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f59bb8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f59bb8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f59bb842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f59bb8287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f59bb82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f59bb839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057b94eff26a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057b94efe9044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057b94eff1a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057b94efe8465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057b94efe802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057b94efe8875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057b94eff2fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057b94efbb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057b94f216e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057b94dc33910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057b94cfb49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057b94cfa62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057b94cfa5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057b94cfa5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057b94c8f698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057b94c8fd4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057b94c8fef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f59bb894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f59bb926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005a6805950d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a680594e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a6805951576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000710d4d242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000710d4d2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000710d4d2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000710d4d2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000710d4d242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000710d4d2287f3 abort ./stdlib/abort.c:81:7
#9 0x0000710d4d22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000710d4d239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a68083ce6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a68083c5044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a68083cda48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a68083c4465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a68083c402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a68083c4875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a68083cefbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a680839730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a68085f2e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a680700f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a68063909f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a68063822b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a6806381523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a6806381e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a6805cd298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a6805cd94ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a6805cdaf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000710d4d294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000710d4d326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fstatat.wasm /b/s/w/ir/x/t/emtest_olmcpu66/emscripten_temp_bljtzcx0/test_fstatat_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_olmcpu66/tmpf99bhu2clibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fstatat (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_funcptr_import_type.wasm /b/s/w/ir/x/t/emtest_739icomu/emscripten_temp_xsubb_5r/test_funcptr_import_type_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_739icomu/tmptcmviqs6libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_funcptr_import_type (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000062db8e689d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000062db8e6877b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000062db8e68a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007921f3442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007921f34969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007921f34969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007921f34969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007921f3442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007921f34287f3 abort ./stdlib/abort.c:81:7
#9 0x00007921f342871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007921f3439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062db911076a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062db910fe044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062db91106a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062db910fd465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062db910fd02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062db910fd875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062db91107fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062db910d030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062db9132be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062db8fd48910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062db8f0c99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062db8f0bb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062db8f0ba523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062db8f0bae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062db8ea0b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062db8ea124ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062db8ea13f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007921f3494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007921f3526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_bszerfiq/emscripten_temp_arezn1ea/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/t/emtest_bszerfiq/emscripten_temp_arezn1ea/embedded_files.o -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_bszerfiq/tmp2yqwh9udlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fscanf_2 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005bb0959b8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005bb0959b67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005bb0959b9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000703f5f642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000703f5f6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000703f5f6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000703f5f6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000703f5f642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000703f5f6287f3 abort ./stdlib/abort.c:81:7
#9 0x0000703f5f62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000703f5f639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005bb0984366a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005bb09842d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005bb098435a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005bb09842c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005bb09842c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005bb09842c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005bb098436fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005bb0983ff30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005bb09865ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005bb097077910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005bb0963f89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005bb0963ea2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005bb0963e9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005bb0963e9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005bb095d3a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005bb095d414ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005bb095d42f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000703f5f694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000703f5f726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000055c1e2711d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055c1e270f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055c1e2712576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007cecb8042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007cecb80969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007cecb80969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007cecb80969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007cecb8042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007cecb80287f3 abort ./stdlib/abort.c:81:7
#9 0x00007cecb802871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007cecb8039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055c1e518f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055c1e5186044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055c1e518ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055c1e5185465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055c1e518502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055c1e5185875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055c1e518ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055c1e515830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055c1e53b3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055c1e3dd0910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055c1e31519f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055c1e31432b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055c1e3142523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055c1e3142e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055c1e2a9398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055c1e2a9a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055c1e2a9bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007cecb8094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007cecb8126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_writev.wasm /b/s/w/ir/x/t/emtest_4ig2an96/emscripten_temp_tzi0t6w4/test_writev_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_4ig2an96/tmpmridc61dlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000651965ddad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000651965dd87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000651965ddb576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000711901042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007119010969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007119010969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007119010969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000711901042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007119010287f3 abort ./stdlib/abort.c:81:7
#9 0x000071190102871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000711901039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006519688586a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000065196884f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000651968857a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000065196884e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000065196884e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000065196884e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000651968858fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000065196882130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000651968a7ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000651967499910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000065196681a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000065196680c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000065196680b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000065196680be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000065196615c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006519661634ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000651966164f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000711901094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000711901126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_writev (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_writev.wasm /b/s/w/ir/x/t/emtest_87s3uaos/emscripten_temp_pxfjljgf/test_writev_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_87s3uaos/tmpseyjck02libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_writev_rawfs (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_yiq3n64q/emscripten_temp_4o5evbgt/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/t/emtest_yiq3n64q/emscripten_temp_4o5evbgt/embedded_files.o -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_yiq3n64q/tmpio0k_fuflibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fscanf (test_core.thinltoz) ... FAIL
#0 0x0000625eea361d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000625eea35f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000625eea362576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076a7b9e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076a7b9e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076a7b9e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076a7b9e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076a7b9e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076a7b9e287f3 abort ./stdlib/abort.c:81:7
#9 0x000076a7b9e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076a7b9e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000625eecddf6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000625eecdd6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000625eecddea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000625eecdd5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000625eecdd502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000625eecdd5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000625eecddffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000625eecda830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000625eed003e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000625eeba20910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000625eeada19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000625eead932b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000625eead92523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000625eead92e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000625eea6e398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000625eea6ea4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000625eea6ebf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076a7b9e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076a7b9f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp2.wasm --whole-archive /b/s/w/ir/x/t/emtest_vp3oi6he/emscripten_temp_laoq552e/test_longjmp2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lsockets --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -mllvm -exception-model=wasm --export-if-defined=_emscripten_find_dylib --export-if-defined=_emscripten_stack_alloc --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=strerror --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy /b/s/w/ir/x/t/emtest_vp3oi6he/tmpspib6twslibemscripten_js_symbols.so --import-memory --strip-debug --export-dynamic -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_find_dylib --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=calloc --export=_emscripten_tempret_get --export=_emscripten_tempret_set --export=strerror --export=htons --export=ntohs --export=malloc --export=htonl --export=_emscripten_timeout --export=realloc --export=free --export=fileno --export=emscripten_builtin_memalign --export=__dl_seterr --export=memcmp --export=memcpy --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --experimental-pic --unresolved-symbols=import-dynamic -pie -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_longjmp2_main_module_wasm_legacy (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_write.wasm /b/s/w/ir/x/t/emtest_cuvkxoyf/emscripten_temp_j9z8is33/test_write_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cuvkxoyf/tmptp3cf9l7libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_write_rawfs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_writeFile.wasm /b/s/w/ir/x/t/emtest_jii8dt0p/emscripten_temp_km4543re/test_writeFile_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib --whole-archive -lwasmfs_noderawfs --no-whole-archive -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_jii8dt0p/tmpgk9kloajlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_writeFile_wasmfs_rawfs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_writeFile.wasm /b/s/w/ir/x/t/emtest_sprpxgjh/emscripten_temp_hfmq9rkd/test_writeFile_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_sprpxgjh/tmp8nv1qxhglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_node_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_writeFile.wasm /b/s/w/ir/x/t/emtest_y9d_wtu1/emscripten_temp_e7azwg6r/test_writeFile_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_y9d_wtu1/tmpmjz522pjlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_writeFile_wasmfs (test_core.thinltoz) ... FAIL
None
None
test_fs_writeFile_wasmfs_nodefs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_writeFile.wasm /b/s/w/ir/x/t/emtest_wz_bh66p/emscripten_temp_abslsgsp/test_writeFile_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wz_bh66p/tmpzhp2apa4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_writeFile_rawfs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_writeFile.wasm /b/s/w/ir/x/t/emtest_yc_jneet/emscripten_temp_b87cpxie/test_writeFile_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_yc_jneet/tmpjmdi0epwlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fs_writeFile_nodefs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
#0 0x00006466b4727d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006466b47257b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006466b4728576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d97dfa42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d97dfa969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d97dfa969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d97dfa969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d97dfa42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d97dfa287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d97dfa2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d97dfa39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006466b71a56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006466b719c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006466b71a4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006466b719b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006466b719b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006466b719b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006466b71a5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006466b716e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006466b73c9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006466b5de6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006466b51679f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006466b51592b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006466b5158523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006466b5158e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006466b4aa998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006466b4ab04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006466b4ab1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d97dfa94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d97dfb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_symlink_resolution.wasm /b/s/w/ir/x/t/emtest_d2wxt0qy/emscripten_temp_zl9i74cu/test_fs_symlink_resolution_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib --whole-archive -lwasmfs_noderawfs --no-whole-archive -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_d2wxt0qy/tmpgbhpvb3dlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_symlink_resolution_wasmfs_rawfs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_trackingdelegate.wasm /b/s/w/ir/x/t/emtest_fsqgrmfa/emscripten_temp_g9uemzg8/test_trackingdelegate_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_fsqgrmfa/tmp4of4ex3clibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_trackingdelegate (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_symlink_resolution.wasm /b/s/w/ir/x/t/emtest_hpi2otfj/emscripten_temp_u2tzo9y7/test_fs_symlink_resolution_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_hpi2otfj/tmpqmciukwplibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_node_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fs_symlink_resolution_wasmfs_nodefs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005bb5d19acd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005bb5d19aa7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005bb5d19ad576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007215d3242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007215d32969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007215d32969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007215d32969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007215d3242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007215d32287f3 abort ./stdlib/abort.c:81:7
#9 0x00007215d322871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007215d3239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005bb5d442a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005bb5d4421044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005bb5d4429a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005bb5d4420465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005bb5d442002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005bb5d4420875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005bb5d442afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005bb5d43f330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005bb5d464ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005bb5d306b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005bb5d23ec9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005bb5d23de2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005bb5d23dd523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005bb5d23dde44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005bb5d1d2e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005bb5d1d354ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005bb5d1d36f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007215d3294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007215d3326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_symlink_resolution.wasm /b/s/w/ir/x/t/emtest_56q7u00t/emscripten_temp_6jnz31se/test_fs_symlink_resolution_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_56q7u00t/tmpi3hnxtm1libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005ac4f03a8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ac4f03a67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ac4f03a9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071ada0a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071ada0a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071ada0a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071ada0a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071ada0a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071ada0a287f3 abort ./stdlib/abort.c:81:7
#9 0x000071ada0a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071ada0a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ac4f2e266a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ac4f2e1d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ac4f2e25a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ac4f2e1c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ac4f2e1c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ac4f2e1c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ac4f2e26fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ac4f2def30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ac4f304ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ac4f1a67910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ac4f0de89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ac4f0dda2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ac4f0dd9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ac4f0dd9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ac4f072a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ac4f07314ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ac4f0732f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071ada0a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071ada0b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_symlink_resolution_wasmfs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_symlink_resolution.wasm /b/s/w/ir/x/t/emtest_k1xo8_o7/emscripten_temp_glsd79fp/test_fs_symlink_resolution_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_k1xo8_o7/tmpou08t06ylibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005e7f85d9dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e7f85d9b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e7f85d9e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d0d57042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d0d570969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d0d570969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d0d570969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d0d57042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d0d570287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d0d5702871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d0d57039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e7f8881b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e7f88812044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e7f8881aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e7f88811465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e7f8881102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e7f88811875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e7f8881bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e7f887e430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e7f88a3fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e7f8745c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e7f867dd9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e7f867cf2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e7f867ce523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e7f867cee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e7f8611f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e7f861264ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e7f86127f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d0d57094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d0d57126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fs_symlink_resolution_rawfs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_symlink_resolution.wasm /b/s/w/ir/x/t/emtest_w8firpia/emscripten_temp_slrb_vou/test_fs_symlink_resolution_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_w8firpia/tmp8_3ij58klibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005ef4067aed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ef4067ac7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ef4067af576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000717bd8e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000717bd8e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000717bd8e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000717bd8e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000717bd8e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000717bd8e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000717bd8e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000717bd8e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ef40922c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ef409223044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ef40922ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ef409222465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ef40922202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ef409222875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ef40922cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ef4091f530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ef409450e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ef407e6d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ef4071ee9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ef4071e02b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ef4071df523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ef4071dfe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ef406b3098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ef406b374ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ef406b38f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000717bd8e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000717bd8f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
None
None
test_fs_symlink_resolution_nodefs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_symlink_resolution.wasm /b/s/w/ir/x/t/emtest_nm4arnqj/emscripten_temp_y8l6aeam/test_fs_symlink_resolution_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_nm4arnqj/tmpafne9n20libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_writeFile.wasm /b/s/w/ir/x/t/emtest_hbzia_h5/emscripten_temp_gbion7wa/test_writeFile_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_hbzia_h5/tmpq85fj3hhlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_symlink_resolution (test_core.thinltoz) ... FAIL
None
None
test_fs_writeFile (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_write.wasm /b/s/w/ir/x/t/emtest_6imflr0p/emscripten_temp_8vumfl8_/test_write_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_6imflr0p/tmp_azgv54ulibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_write (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stat_unnamed_file_descriptor.wasm /b/s/w/ir/x/t/emtest_ga9sm4oi/emscripten_temp_dsye3jf6/test_stat_unnamed_file_descriptor_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib --whole-archive -lwasmfs_noderawfs --no-whole-archive -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs_no_fs -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ga9sm4oi/tmppmrxmu_mlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fs_stat_unnamed_file_descriptor_wasmfs_rawfs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000638aed7bfd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000638aed7bd7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000638aed7c0576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000736531042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007365310969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007365310969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007365310969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000736531042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007365310287f3 abort ./stdlib/abort.c:81:7
#9 0x000073653102871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000736531039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000638af023d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000638af0234044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000638af023ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000638af0233465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000638af023302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000638af0233875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000638af023dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000638af020630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000638af0461e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000638aeee7e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000638aee1ff9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000638aee1f12b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000638aee1f0523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000638aee1f0e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000638aedb4198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000638aedb484ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000638aedb49f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000736531094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000736531126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stat_unnamed_file_descriptor.wasm /b/s/w/ir/x/t/emtest_6yxk2e6y/emscripten_temp__52gw7lq/test_stat_unnamed_file_descriptor_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_6yxk2e6y/tmpoiml7xp5libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_node_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_stat_unnamed_file_descriptor_wasmfs_nodefs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stat_unnamed_file_descriptor.wasm /b/s/w/ir/x/t/emtest_d9cfyu7n/emscripten_temp_108jvoy2/test_stat_unnamed_file_descriptor_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_d9cfyu7n/tmptjo4vzitlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00006306ca166d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006306ca1647b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006306ca167576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000733399642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007333996969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007333996969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007333996969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000733399642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007333996287f3 abort ./stdlib/abort.c:81:7
#9 0x000073339962871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000733399639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006306ccbe46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006306ccbdb044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006306ccbe3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006306ccbda465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006306ccbda02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006306ccbda875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006306ccbe4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006306ccbad30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006306cce08e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006306cb825910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006306caba69f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006306cab982b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006306cab97523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006306cab97e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006306ca4e898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006306ca4ef4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006306ca4f0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000733399694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000733399726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_stat_unnamed_file_descriptor_rawfs (test_core.thinltoz) ... FAIL
#0 0x00005b60ec92bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b60ec9297b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b60ec92c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000763e99042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000763e990969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000763e990969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000763e990969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000763e99042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000763e990287f3 abort ./stdlib/abort.c:81:7
#9 0x0000763e9902871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000763e99039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b60ef3a96a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b60ef3a0044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b60ef3a8a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b60ef39f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b60ef39f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b60ef39f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b60ef3a9fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b60ef37230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b60ef5cde76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b60edfea910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b60ed36b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b60ed35d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b60ed35c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b60ed35ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b60eccad98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b60eccb44ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b60eccb5f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000763e99094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000763e99126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000058c4cd465d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058c4cd4637b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058c4cd466576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fe7c7442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007fe7c74969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007fe7c74969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007fe7c74969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007fe7c7442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007fe7c74287f3 abort ./stdlib/abort.c:81:7
#9 0x00007fe7c742871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007fe7c7439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058c4cfee36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058c4cfeda044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058c4cfee2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058c4cfed9465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058c4cfed902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058c4cfed9875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058c4cfee3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058c4cfeac30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058c4d0107e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058c4ceb24910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058c4cdea59f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058c4cde972b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058c4cde96523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058c4cde96e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058c4cd7e798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058c4cd7ee4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058c4cd7eff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007fe7c7494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007fe7c7526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stat_unnamed_file_descriptor.wasm /b/s/w/ir/x/t/emtest_4fqg851g/emscripten_temp_gs0bkk_n/test_stat_unnamed_file_descriptor_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs_no_fs -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_4fqg851g/tmpcur3qku_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stat_unnamed_file_descriptor.wasm /b/s/w/ir/x/t/emtest_tlm1vgsr/emscripten_temp_h_kee8cu/test_stat_unnamed_file_descriptor_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_tlm1vgsr/tmp6t7itmhylibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_stat_unnamed_file_descriptor_wasmfs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stat_unnamed_file_descriptor.wasm /b/s/w/ir/x/t/emtest_wo7sacas/emscripten_temp_klmxdaqp/test_stat_unnamed_file_descriptor_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wo7sacas/tmp851satohlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_stat_unnamed_file_descriptor (test_core.thinltoz) ... FAIL
None
None
test_fs_stat_unnamed_file_descriptor_nodefs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005e805bf0dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e805bf0b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e805bf0e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000070bff4e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000070bff4e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000070bff4e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000070bff4e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000070bff4e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000070bff4e287f3 abort ./stdlib/abort.c:81:7
#9 0x000070bff4e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000070bff4e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e805e98b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e805e982044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e805e98aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e805e981465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e805e98102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e805e981875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e805e98bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e805e95430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e805ebafe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e805d5cc910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e805c94d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e805c93f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e805c93e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e805c93ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e805c28f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e805c2964ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e805c297f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000070bff4e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000070bff4f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_rename_on_existing.wasm /b/s/w/ir/x/t/emtest_9s944bpa/emscripten_temp_i2tjt0jp/test_fs_rename_on_existing_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9s944bpa/tmpa6wx1tpjlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_rename_on_existing_rawfs (test_core.thinltoz) ... FAIL
#0 0x000058e9c2c0cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058e9c2c0a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058e9c2c0d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000740442242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007404422969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007404422969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007404422969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000740442242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007404422287f3 abort ./stdlib/abort.c:81:7
#9 0x000074044222871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000740442239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058e9c568a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058e9c5681044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058e9c5689a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058e9c5680465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058e9c568002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058e9c5680875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058e9c568afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058e9c565330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058e9c58aee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058e9c42cb910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058e9c364c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058e9c363e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058e9c363d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058e9c363de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058e9c2f8e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058e9c2f954ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058e9c2f96f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000740442294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000740442326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000058f21eed6d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058f21eed47b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058f21eed7576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fca53642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007fca536969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007fca536969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007fca536969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007fca53642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007fca536287f3 abort ./stdlib/abort.c:81:7
#9 0x00007fca5362871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007fca53639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058f2219546a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058f22194b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058f221953a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058f22194a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058f22194a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058f22194a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058f221954fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058f22191d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058f221b78e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058f220595910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058f21f9169f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058f21f9082b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058f21f907523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058f21f907e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058f21f25898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058f21f25f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058f21f260f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007fca53694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007fca53726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_rename_on_existing.wasm /b/s/w/ir/x/t/emtest_7t3batwn/emscripten_temp__7_tbwwd/test_fs_rename_on_existing_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_7t3batwn/tmpa_51yj9zlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_node_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_rename_on_existing.wasm /b/s/w/ir/x/t/emtest_m3p8nx1g/emscripten_temp_f5rc_hna/test_fs_rename_on_existing_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib --whole-archive -lwasmfs_noderawfs --no-whole-archive -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_m3p8nx1g/tmpmcoi34rjlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_rename_on_existing_wasmfs_nodefs (test_core.thinltoz) ... FAIL
None
None
test_fs_rename_on_existing_wasmfs_rawfs (test_core.thinltoz) ... FAIL
#0 0x00005b0a85239d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b0a852377b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b0a8523a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d271d642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d271d6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d271d6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d271d6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d271d642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d271d6287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d271d62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d271d639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b0a87cb76a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b0a87cae044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b0a87cb6a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b0a87cad465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b0a87cad02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b0a87cad875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b0a87cb7fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b0a87c8030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b0a87edbe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b0a868f8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b0a85c799f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b0a85c6b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b0a85c6a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b0a85c6ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b0a855bb98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b0a855c24ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b0a855c3f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d271d694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d271d726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005e56ba444d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e56ba4427b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e56ba445576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c407e242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c407e2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c407e2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c407e2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c407e242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c407e2287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c407e22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c407e239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e56bcec26a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e56bceb9044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e56bcec1a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e56bceb8465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e56bceb802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e56bceb8875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e56bcec2fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e56bce8b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e56bd0e6e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e56bbb03910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e56bae849f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e56bae762b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e56bae75523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e56bae75e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e56ba7c698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e56ba7cd4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e56ba7cef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c407e294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c407e326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000057419d22cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057419d22a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057419d22d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073d56d042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073d56d0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073d56d0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073d56d0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073d56d042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073d56d0287f3 abort ./stdlib/abort.c:81:7
#9 0x000073d56d02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073d56d039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057419fcaa6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057419fca1044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057419fca9a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057419fca0465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057419fca002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057419fca0875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057419fcaafbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057419fc7330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057419fecee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057419e8eb910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057419dc6c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057419dc5e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057419dc5d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057419dc5de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057419d5ae98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057419d5b54ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057419d5b6f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073d56d094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073d56d126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_rename_on_existing.wasm /b/s/w/ir/x/t/emtest_owv0zlf0/emscripten_temp_hpupd8b9/test_fs_rename_on_existing_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_owv0zlf0/tmpo954iljflibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_rename_on_existing.wasm /b/s/w/ir/x/t/emtest__9qv53th/emscripten_temp_7ke6yra3/test_fs_rename_on_existing_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__9qv53th/tmprr_cxjwxlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_rename_on_existing.wasm /b/s/w/ir/x/t/emtest_fu9w3p5a/emscripten_temp_16n9me2a/test_fs_rename_on_existing_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_fu9w3p5a/tmppp8ovxb1libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_rename_on_existing_wasmfs (test_core.thinltoz) ... FAIL
None
None
test_fs_rename_on_existing_nodefs (test_core.thinltoz) ... FAIL
None
None
test_fs_rename_on_existing (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000059f24c42bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000059f24c4297b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059f24c42c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d8ba5242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d8ba52969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d8ba52969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d8ba52969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d8ba5242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d8ba52287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d8ba522871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d8ba5239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059f24eea96a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000059f24eea0044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000059f24eea8a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000059f24ee9f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000059f24ee9f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000059f24ee9f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000059f24eea9fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059f24ee7230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059f24f0cde76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059f24daea910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000059f24ce6b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000059f24ce5d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000059f24ce5c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000059f24ce5ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059f24c7ad98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000059f24c7b44ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000059f24c7b5f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d8ba5294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d8ba5326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_readv.wasm /b/s/w/ir/x/t/emtest_l7jqi_mc/emscripten_temp_g_3obyvs/test_readv_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_l7jqi_mc/tmpbs0voqyylibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000055e260037d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055e2600357b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055e260038576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000070f6bf642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000070f6bf6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000070f6bf6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000070f6bf6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000070f6bf642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000070f6bf6287f3 abort ./stdlib/abort.c:81:7
#9 0x000070f6bf62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000070f6bf639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055e262ab56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055e262aac044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055e262ab4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055e262aab465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055e262aab02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055e262aab875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055e262ab5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055e262a7e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055e262cd9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055e2616f6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055e260a779f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055e260a692b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055e260a68523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055e260a68e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055e2603b998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055e2603c04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055e2603c1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000070f6bf694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000070f6bf726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_readv_rawfs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_readv.wasm /b/s/w/ir/x/t/emtest_mlqaya0g/emscripten_temp_eu10uwyq/test_readv_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mlqaya0g/tmpoyvh55pplibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00006033f04fed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006033f04fc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006033f04ff576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075b912842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075b9128969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075b9128969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075b9128969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075b912842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075b9128287f3 abort ./stdlib/abort.c:81:7
#9 0x000075b91282871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075b912839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006033f2f7c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006033f2f73044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006033f2f7ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006033f2f72465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006033f2f7202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006033f2f72875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006033f2f7cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006033f2f4530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006033f31a0e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006033f1bbd910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006033f0f3e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006033f0f302b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006033f0f2f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006033f0f2fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006033f088098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006033f08874ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006033f0888f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075b912894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075b912926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_readv (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_readdir_ino_matches_stat_ino.wasm /b/s/w/ir/x/t/emtest_ndg2ps5z/emscripten_temp_ww8jj1g6/test_fs_readdir_ino_matches_stat_ino_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ndg2ps5z/tmp3gxa9tewlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005eb5ad209d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005eb5ad2077b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005eb5ad20a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079e94f842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079e94f8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000079e94f8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000079e94f8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000079e94f842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000079e94f8287f3 abort ./stdlib/abort.c:81:7
#9 0x000079e94f82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000079e94f839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005eb5afc876a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005eb5afc7e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005eb5afc86a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005eb5afc7d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005eb5afc7d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005eb5afc7d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005eb5afc87fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005eb5afc5030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005eb5afeabe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005eb5ae8c8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005eb5adc499f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005eb5adc3b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005eb5adc3a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005eb5adc3ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005eb5ad58b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005eb5ad5924ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005eb5ad593f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000079e94f894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000079e94f926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_readdir_ino_matches_stat_ino_rawfs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_readdir_ino_matches_stat_ino.wasm /b/s/w/ir/x/t/emtest_ufs1lm4s/emscripten_temp_9lv795jw/test_fs_readdir_ino_matches_stat_ino_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ufs1lm4s/tmpiaw91p6blibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00006160065fdd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006160065fb7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006160065fe576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073bd8f442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073bd8f4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073bd8f4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073bd8f4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073bd8f442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073bd8f4287f3 abort ./stdlib/abort.c:81:7
#9 0x000073bd8f42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073bd8f439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061600907b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000616009072044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061600907aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000616009071465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061600907102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000616009071875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061600907bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061600904430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061600929fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000616007cbc910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061600703d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061600702f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061600702e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061600702ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061600697f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006160069864ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000616006987f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073bd8f494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073bd8f526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_readdir_ino_matches_stat_ino_nodefs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_readdir_ino_matches_stat_ino.wasm /b/s/w/ir/x/t/emtest_1zp9zitl/emscripten_temp_2v993bkz/test_fs_readdir_ino_matches_stat_ino_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1zp9zitl/tmpwpcblkqolibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fs_readdir_ino_matches_stat_ino (test_core.thinltoz) ... FAIL
#0 0x00006428e5808d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006428e58067b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006428e5809576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071d425842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071d4258969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071d4258969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071d4258969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071d425842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071d4258287f3 abort ./stdlib/abort.c:81:7
#9 0x000071d42582871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071d425839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006428e82866a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006428e827d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006428e8285a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006428e827c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006428e827c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006428e827c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006428e8286fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006428e824f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006428e84aae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006428e6ec7910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006428e62489f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006428e623a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006428e6239523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006428e6239e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006428e5b8a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006428e5b914ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006428e5b92f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071d425894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071d425926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000056cbe07a8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056cbe07a67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056cbe07a9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075e501a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075e501a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075e501a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075e501a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075e501a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075e501a287f3 abort ./stdlib/abort.c:81:7
#9 0x000075e501a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075e501a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056cbe32266a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056cbe321d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056cbe3225a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056cbe321c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056cbe321c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056cbe321c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056cbe3226fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056cbe31ef30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056cbe344ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056cbe1e67910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056cbe11e89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056cbe11da2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056cbe11d9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056cbe11d9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056cbe0b2a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056cbe0b314ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056cbe0b32f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075e501a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075e501b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_nodefs_statvfs.wasm /b/s/w/ir/x/t/emtest_o9rutlj2/emscripten_temp_00kblyy5/test_nodefs_statvfs_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_o9rutlj2/tmpfnkwn53blibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_noderawfs_nofollow.wasm /b/s/w/ir/x/t/emtest_ib6lspou/emscripten_temp_1r88exe8/test_noderawfs_nofollow_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ib6lspou/tmpmnwkuzbvlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fs_nodefs_statvfs (test_core.thinltoz) ... FAIL
None
None
test_fs_noderawfs_nofollow (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
#0 0x000056f96ccbed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056f96ccbc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056f96ccbf576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078a67fa42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078a67fa969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078a67fa969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078a67fa969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078a67fa42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078a67fa287f3 abort ./stdlib/abort.c:81:7
#9 0x000078a67fa2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078a67fa39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056f96f73c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056f96f733044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056f96f73ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056f96f732465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056f96f73202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056f96f732875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056f96f73cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056f96f70530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056f96f960e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056f96e37d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056f96d6fe9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056f96d6f02b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056f96d6ef523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056f96d6efe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056f96d04098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056f96d0474ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056f96d048f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078a67fa94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078a67fb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_nodefs_readdir.wasm /b/s/w/ir/x/t/emtest_oz7c0uni/emscripten_temp_mye1oeci/test_nodefs_readdir_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_oz7c0uni/tmp9quoc3j_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_nodefs_readdir (test_core.thinltoz) ... FAIL
#0 0x00005f9a9b0e1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f9a9b0df7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f9a9b0e2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e8182842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e81828969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e81828969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e81828969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e8182842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e81828287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e818282871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e8182839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f9a9db5f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f9a9db56044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f9a9db5ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f9a9db55465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f9a9db5502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f9a9db55875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f9a9db5ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f9a9db2830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f9a9dd83e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f9a9c7a0910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f9a9bb219f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f9a9bb132b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f9a9bb12523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f9a9bb12e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f9a9b46398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f9a9b46a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f9a9b46bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e8182894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e8182926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_nodefs_nofollow.wasm /b/s/w/ir/x/t/emtest_l1lf74j0/emscripten_temp_6jv6dne2/test_nodefs_nofollow_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_l1lf74j0/tmp9sr20nv9libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fs_nodefs_nofollow (test_core.thinltoz) ... FAIL
#0 0x000057e3b200cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057e3b200a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057e3b200d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000722fa9042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000722fa90969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000722fa90969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000722fa90969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000722fa9042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000722fa90287f3 abort ./stdlib/abort.c:81:7
#9 0x0000722fa902871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000722fa9039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057e3b4a8a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057e3b4a81044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057e3b4a89a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057e3b4a80465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057e3b4a8002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057e3b4a80875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057e3b4a8afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057e3b4a5330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057e3b4caee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057e3b36cb910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057e3b2a4c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057e3b2a3e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057e3b2a3d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057e3b2a3de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057e3b238e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057e3b23954ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057e3b2396f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000722fa9094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000722fa9126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000061282815cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061282815a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061282815d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078e348642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078e3486969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078e3486969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078e3486969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078e348642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078e3486287f3 abort ./stdlib/abort.c:81:7
#9 0x000078e34862871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078e348639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061282abda6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061282abd1044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061282abd9a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061282abd0465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061282abd002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061282abd0875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061282abdafbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061282aba330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061282adfee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061282981b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000612828b9c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000612828b8e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000612828b8d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000612828b8de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006128284de98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006128284e54ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006128284e6f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078e348694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078e348726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_nodefs_rw.wasm /b/s/w/ir/x/t/emtest_8xry5e4n/emscripten_temp_5l6twpoh/test_nodefs_rw_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8xry5e4n/tmpqwyc0xk7libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x0000568a98ab7d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000568a98ab57b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000568a98ab8576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a290f842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a290f8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a290f8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a290f8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a290f842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a290f8287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a290f82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a290f839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000568a9b5356a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000568a9b52c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000568a9b534a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000568a9b52b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000568a9b52b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000568a9b52b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000568a9b535fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000568a9b4fe30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000568a9b759e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000568a9a176910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000568a994f79f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000568a994e92b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000568a994e8523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000568a994e8e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000568a98e3998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000568a98e404ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000568a98e41f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a290f894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a290f926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_nodefs_rw_rawfs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_nodefs_rw.wasm /b/s/w/ir/x/t/emtest_ihyb4ldx/emscripten_temp_x4o71wlp/test_nodefs_rw_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ihyb4ldx/tmpz3mtomxelibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_nodefs_rw (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_nodefs_dup.wasm /b/s/w/ir/x/t/emtest_beqbyy5d/emscripten_temp_qeaogas6/test_nodefs_dup_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_beqbyy5d/tmpqqb9xmcplibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fs_nodefs_dup_rawfs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005f4f5cef4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f4f5cef27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f4f5cef5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000070818d642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000070818d6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000070818d6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000070818d6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000070818d642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000070818d6287f3 abort ./stdlib/abort.c:81:7
#9 0x000070818d62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000070818d639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f4f5f9726a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f4f5f969044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f4f5f971a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f4f5f968465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f4f5f96802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f4f5f968875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f4f5f972fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f4f5f93b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f4f5fb96e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f4f5e5b3910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f4f5d9349f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f4f5d9262b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f4f5d925523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f4f5d925e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f4f5d27698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f4f5d27d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f4f5d27ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000070818d694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000070818d726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_nodefs_dup.wasm /b/s/w/ir/x/t/emtest_5wrz30dj/emscripten_temp_xvd4fgnb/test_nodefs_dup_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5wrz30dj/tmpx3m5y8exlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00006134469c0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006134469be7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006134469c1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007463bfc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007463bfc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007463bfc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007463bfc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007463bfc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007463bfc287f3 abort ./stdlib/abort.c:81:7
#9 0x00007463bfc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007463bfc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061344943e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000613449435044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061344943da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000613449434465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061344943402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000613449434875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061344943efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061344940730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000613449662e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061344807f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006134474009f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006134473f22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006134473f1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006134473f1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000613446d4298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000613446d494ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000613446d4af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007463bfc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007463bfd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fs_nodefs_dup (test_core.thinltoz) ... FAIL
#0 0x00005c1c9ea41d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c1c9ea3f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c1c9ea42576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000703f85242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000703f852969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000703f852969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000703f852969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000703f85242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000703f852287f3 abort ./stdlib/abort.c:81:7
#9 0x0000703f8522871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000703f85239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c1ca14bf6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c1ca14b6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c1ca14bea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c1ca14b5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c1ca14b502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c1ca14b5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c1ca14bffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c1ca148830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c1ca16e3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c1ca0100910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c1c9f4819f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c1c9f4732b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c1c9f472523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c1c9f472e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c1c9edc398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c1c9edca4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c1c9edcbf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000703f85294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000703f85326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_nodefs_cloexec.wasm /b/s/w/ir/x/t/emtest_0xrlpfqu/emscripten_temp_kp690pzl/test_nodefs_cloexec_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_0xrlpfqu/tmpu5c690halibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_nodefs_cloexec_rawfs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_nodefs_home.wasm /b/s/w/ir/x/t/emtest_p56snlsz/emscripten_temp_9ayzxqai/test_nodefs_home_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_p56snlsz/tmpjfbnpv60libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00006125322d8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006125322d67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006125322d9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000702f76642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000702f766969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000702f766969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000702f766969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000702f76642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000702f766287f3 abort ./stdlib/abort.c:81:7
#9 0x0000702f7662871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000702f76639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000612534d566a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000612534d4d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000612534d55a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000612534d4c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000612534d4c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000612534d4c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000612534d56fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000612534d1f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000612534f7ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000612533997910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000612532d189f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000612532d0a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000612532d09523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000612532d09e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061253265a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006125326614ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000612532662f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000702f76694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000702f76726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_nodefs_home (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_nodefs_cloexec.wasm /b/s/w/ir/x/t/emtest_82wfnx_0/emscripten_temp_c0lwjgpq/test_nodefs_cloexec_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_82wfnx_0/tmpvzatyk_ylibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_nodefs_cloexec (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000060af4106bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060af410697b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060af4106c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076ccb6e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076ccb6e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076ccb6e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076ccb6e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076ccb6e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076ccb6e287f3 abort ./stdlib/abort.c:81:7
#9 0x000076ccb6e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076ccb6e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060af43ae96a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000060af43ae0044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060af43ae8a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000060af43adf465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060af43adf02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000060af43adf875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060af43ae9fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060af43ab230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060af43d0de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060af4272a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060af41aab9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060af41a9d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060af41a9c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060af41a9ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060af413ed98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060af413f44ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060af413f5f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076ccb6e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076ccb6f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_r7ch26je/emscripten_temp_5tlg9zi_/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_r7ch26je/tmpwykp9bvylibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=foo --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_no_main_minimal_runtime (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00006084ef742d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006084ef7407b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006084ef743576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078f82dc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078f82dc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078f82dc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078f82dc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078f82dc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078f82dc287f3 abort ./stdlib/abort.c:81:7
#9 0x000078f82dc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078f82dc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006084f21c06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006084f21b7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006084f21bfa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006084f21b6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006084f21b602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006084f21b6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006084f21c0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006084f218930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006084f23e4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006084f0e01910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006084f01829f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006084f01742b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006084f0173523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006084f0173e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006084efac498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006084efacb4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006084efaccf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078f82dc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078f82dd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005b834898dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b834898b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b834898e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e1c6c442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e1c6c4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e1c6c4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e1c6c4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e1c6c442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e1c6c4287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e1c6c42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e1c6c439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b834b40b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b834b402044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b834b40aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b834b401465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b834b40102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b834b401875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b834b40bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b834b3d430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b834b62fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b834a04c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b83493cd9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b83493bf2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b83493be523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b83493bee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b8348d0f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b8348d164ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b8348d17f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e1c6c494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e1c6c526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_mmap.wasm /b/s/w/ir/x/t/emtest_2i9x3fet/emscripten_temp_pytseuhr/test_mmap_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib --whole-archive -lwasmfs_noderawfs --no-whole-archive -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_2i9x3fet/tmpjftkn8s5libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005955fa61ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005955fa6187b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005955fa61b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000755745442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007557454969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007557454969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007557454969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000755745442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007557454287f3 abort ./stdlib/abort.c:81:7
#9 0x000075574542871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000755745439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005955fd0986a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005955fd08f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005955fd097a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005955fd08e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005955fd08e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005955fd08e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005955fd098fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005955fd06130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005955fd2bce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005955fbcd9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005955fb05a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005955fb04c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005955fb04b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005955fb04be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005955fa99c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005955fa9a34ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005955fa9a4f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000755745494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000755745526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_mmap_wasmfs_rawfs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_1c6qxl7h/emscripten_temp_a07vr9gb/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1c6qxl7h/tmpkt4agqx7libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=foo --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_no_main (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_mmap.wasm /b/s/w/ir/x/t/emtest_7zg4rghy/emscripten_temp_6h594xpv/test_mmap_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_7zg4rghy/tmpxds0jj0slibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_node_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_mmap.wasm /b/s/w/ir/x/t/emtest_0pie2c57/emscripten_temp_hbus5ddo/test_mmap_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_0pie2c57/tmp52gw01k_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_mmap_wasmfs_nodefs (test_core.thinltoz) ... FAIL
#0 0x00005d00b43ded28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d00b43dc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d00b43df576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007db6b9c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007db6b9c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007db6b9c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007db6b9c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007db6b9c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007db6b9c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007db6b9c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007db6b9c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d00b6e5c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d00b6e53044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d00b6e5ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d00b6e52465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d00b6e5202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d00b6e52875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d00b6e5cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d00b6e2530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d00b7080e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d00b5a9d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d00b4e1e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d00b4e102b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d00b4e0f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d00b4e0fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d00b476098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d00b47674ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d00b4768f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007db6b9c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007db6b9d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_mmap_wasmfs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_mmap.wasm /b/s/w/ir/x/t/emtest_6viyyea3/emscripten_temp_9x_9g95l/test_mmap_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_6viyyea3/tmp5m6t87xqlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_mmap_rawfs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005a6f69309d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a6f693077b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a6f6930a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073651b642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073651b6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073651b6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073651b6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073651b642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073651b6287f3 abort ./stdlib/abort.c:81:7
#9 0x000073651b62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073651b639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a6f6bd876a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a6f6bd7e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a6f6bd86a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a6f6bd7d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a6f6bd7d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a6f6bd7d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a6f6bd87fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a6f6bd5030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a6f6bfabe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a6f6a9c8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a6f69d499f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a6f69d3b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a6f69d3a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a6f69d3ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a6f6968b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a6f696924ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a6f69693f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073651b694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073651b726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_mmap.wasm /b/s/w/ir/x/t/emtest_kdxo3lv3/emscripten_temp_ra1p6gsn/test_mmap_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_kdxo3lv3/tmpppyafs97libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_mmap_nodefs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005d723402ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d72340287b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d723402b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c6bd3642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c6bd36969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c6bd36969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c6bd36969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c6bd3642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c6bd36287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c6bd362871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c6bd3639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d7236aa86a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d7236a9f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d7236aa7a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d7236a9e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d7236a9e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d7236a9e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d7236aa8fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d7236a7130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d7236ccce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d72356e9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d7234a6a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d7234a5c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d7234a5b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d7234a5be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d72343ac98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d72343b34ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d72343b4f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c6bd3694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c6bd3726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005c9e382e9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c9e382e77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c9e382ea576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073b11bc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073b11bc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073b11bc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073b11bc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073b11bc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073b11bc287f3 abort ./stdlib/abort.c:81:7
#9 0x000073b11bc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073b11bc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c9e3ad676a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c9e3ad5e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c9e3ad66a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c9e3ad5d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c9e3ad5d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c9e3ad5d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c9e3ad67fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c9e3ad3030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c9e3af8be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c9e399a8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c9e38d299f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c9e38d1b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c9e38d1a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c9e38d1ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c9e3866b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c9e386724ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c9e38673f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073b11bc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073b11bd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_mmap.wasm /b/s/w/ir/x/t/emtest_pd0f73cx/emscripten_temp_w14ycln0/test_mmap_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_pd0f73cx/tmpuwj3sugclibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000060440a327d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060440a3257b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060440a328576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a4170042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a41700969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a41700969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a41700969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a4170042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a41700287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a417002871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a4170039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060440cda56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000060440cd9c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060440cda4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000060440cd9b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060440cd9b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000060440cd9b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060440cda5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060440cd6e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060440cfc9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060440b9e6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060440ad679f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060440ad592b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060440ad58523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060440ad58e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060440a6a998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060440a6b04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060440a6b1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a4170094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a4170126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_mmap (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_mkdir_dotdot.wasm /b/s/w/ir/x/t/emtest_iy5eycl7/emscripten_temp_vae3catx/test_fs_mkdir_dotdot_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_iy5eycl7/tmpjrp93hn2libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000056d484704d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056d4847027b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056d484705576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fa991642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007fa9916969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007fa9916969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007fa9916969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007fa991642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007fa9916287f3 abort ./stdlib/abort.c:81:7
#9 0x00007fa99162871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007fa991639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056d4871826a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056d487179044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056d487181a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056d487178465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056d48717802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056d487178875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056d487182fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056d48714b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056d4873a6e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056d485dc3910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056d4851449f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056d4851362b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056d485135523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056d485135e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056d484a8698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056d484a8d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056d484a8ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007fa991694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007fa991726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_mkdir_dotdot_rawfs (test_core.thinltoz) ... FAIL
#0 0x000063f6482aad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063f6482a87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063f6482ab576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007493c5042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007493c50969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007493c50969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007493c50969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007493c5042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007493c50287f3 abort ./stdlib/abort.c:81:7
#9 0x00007493c502871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007493c5039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063f64ad286a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063f64ad1f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063f64ad27a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063f64ad1e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063f64ad1e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063f64ad1e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063f64ad28fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063f64acf130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063f64af4ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063f649969910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063f648cea9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063f648cdc2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063f648cdb523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063f648cdbe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063f64862c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063f6486334ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063f648634f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007493c5094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007493c5126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_mkdir_dotdot.wasm /b/s/w/ir/x/t/emtest_dnbhi45s/emscripten_temp_r5nx53qo/test_fs_mkdir_dotdot_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_dnbhi45s/tmpfi6g07tdlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_mkdir_dotdot_nodefs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_mkdir_dotdot.wasm /b/s/w/ir/x/t/emtest_wxg9gj69/emscripten_temp_g_j6g_x_/test_fs_mkdir_dotdot_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wxg9gj69/tmpeou1vkwdlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_llseek.wasm /b/s/w/ir/x/t/emtest_74j1n3s_/emscripten_temp_ft23u7jy/test_llseek_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_74j1n3s_/tmptxskgmtclibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fs_mkdir_dotdot (test_core.thinltoz) ... FAIL
None
None
test_fs_llseek_rawfs (test_core.thinltoz) ... FAIL
#0 0x00005647e048cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005647e048a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005647e048d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000792042e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000792042e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000792042e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000792042e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000792042e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000792042e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000792042e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000792042e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005647e2f0a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005647e2f01044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005647e2f09a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005647e2f00465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005647e2f0002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005647e2f00875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005647e2f0afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005647e2ed330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005647e312ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005647e1b4b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005647e0ecc9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005647e0ebe2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005647e0ebd523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005647e0ebde44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005647e080e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005647e08154ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005647e0816f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000792042e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000792042f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_llseek.wasm /b/s/w/ir/x/t/emtest_k2x_ovsc/emscripten_temp_996mvdcp/test_llseek_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_k2x_ovsc/tmpruga0n7ilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fs_llseek (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005661e821ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005661e821c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005661e821f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079186da42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079186da969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000079186da969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000079186da969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000079186da42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000079186da287f3 abort ./stdlib/abort.c:81:7
#9 0x000079186da2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000079186da39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005661eac9c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005661eac93044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005661eac9ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005661eac92465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005661eac9202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005661eac92875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005661eac9cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005661eac6530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005661eaec0e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005661e98dd910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005661e8c5e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005661e8c502b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005661e8c4f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005661e8c4fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005661e85a098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005661e85a74ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005661e85a8f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000079186da94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000079186db26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_js_api.wasm /b/s/w/ir/x/t/emtest_wmn09bf8/emscripten_temp_12kedgdn/test_fs_js_api_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib --whole-archive -lwasmfs_noderawfs --no-whole-archive -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wmn09bf8/tmp38pfkdt5libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005a42caadbd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a42caad97b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a42caadc576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e578e842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e578e8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e578e8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e578e8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e578e842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e578e8287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e578e82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e578e839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a42cd5596a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a42cd550044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a42cd558a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a42cd54f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a42cd54f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a42cd54f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a42cd559fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a42cd52230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a42cd77de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a42cc19a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a42cb51b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a42cb50d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a42cb50c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a42cb50ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a42cae5d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a42cae644ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a42cae65f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e578e894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e578e926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_js_api_wasmfs_rawfs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_js_api.wasm /b/s/w/ir/x/t/emtest_f2llrf3o/emscripten_temp_w_32td0s/test_fs_js_api_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_f2llrf3o/tmpja3qdlq5libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_js_api_wasmfs (test_core.thinltoz) ... FAIL
#0 0x000056c02feaed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056c02feac7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056c02feaf576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007181bee42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007181bee969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007181bee969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007181bee969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007181bee42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007181bee287f3 abort ./stdlib/abort.c:81:7
#9 0x00007181bee2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007181bee39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056c03292c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056c032923044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056c03292ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056c032922465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056c03292202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056c032922875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056c03292cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056c0328f530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056c032b50e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056c03156d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056c0308ee9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056c0308e02b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056c0308df523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056c0308dfe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056c03023098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056c0302374ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056c030238f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007181bee94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007181bef26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_js_api.wasm /b/s/w/ir/x/t/emtest_3wjgy26q/emscripten_temp_ekapco18/test_fs_js_api_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_3wjgy26q/tmpbl_r8o9elibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_node_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000061dd279d4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061dd279d27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061dd279d5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007de743e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007de743e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007de743e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007de743e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007de743e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007de743e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007de743e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007de743e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061dd2a4526a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061dd2a449044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061dd2a451a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061dd2a448465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061dd2a44802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061dd2a448875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061dd2a452fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061dd2a41b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061dd2a676e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061dd29093910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061dd284149f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061dd284062b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061dd28405523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061dd28405e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061dd27d5698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061dd27d5d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061dd27d5ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007de743e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007de743f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_js_api_wasmfs_nodefs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_js_api.wasm /b/s/w/ir/x/t/emtest_8dloyhnc/emscripten_temp__jfk4v2i/test_fs_js_api_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8dloyhnc/tmp1hwsdt26libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_js_api_nodefs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_js_api.wasm /b/s/w/ir/x/t/emtest_xj6qmia6/emscripten_temp_mz9fcukh/test_fs_js_api_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xj6qmia6/tmpditpa064libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_js_api_rawfs (test_core.thinltoz) ... FAIL
#0 0x00005ccd8c3cad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ccd8c3c87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ccd8c3cb576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073b8d5e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073b8d5e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073b8d5e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073b8d5e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073b8d5e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073b8d5e287f3 abort ./stdlib/abort.c:81:7
#9 0x000073b8d5e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073b8d5e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ccd8ee486a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ccd8ee3f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ccd8ee47a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ccd8ee3e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ccd8ee3e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ccd8ee3e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ccd8ee48fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ccd8ee1130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ccd8f06ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ccd8da89910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ccd8ce0a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ccd8cdfc2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ccd8cdfb523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ccd8cdfbe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ccd8c74c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ccd8c7534ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ccd8c754f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073b8d5e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073b8d5f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_js_api.wasm /b/s/w/ir/x/t/emtest_lypv8xta/emscripten_temp_8q1shula/test_fs_js_api_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_lypv8xta/tmpqsbg_judlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_js_api (test_core.thinltoz) ... FAIL
#0 0x00005a77d838bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a77d83897b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a77d838c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a0b2f242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a0b2f2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a0b2f2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a0b2f2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a0b2f242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a0b2f2287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a0b2f22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a0b2f239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a77dae096a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a77dae00044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a77dae08a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a77dadff465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a77dadff02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a77dadff875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a77dae09fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a77dadd230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a77db02de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a77d9a4a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a77d8dcb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a77d8dbd2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a77d8dbc523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a77d8dbce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a77d870d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a77d87144ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a77d8715f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a0b2f294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a0b2f326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_enotdir.wasm /b/s/w/ir/x/t/emtest_80pi2n6o/emscripten_temp_cwknhhlc/test_fs_enotdir_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_80pi2n6o/tmpr843rbfslibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_enotdir_rawfs (test_core.thinltoz) ... FAIL
#0 0x000063ac7d1a5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063ac7d1a37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
0x1b8a7b5)
#2 0x000063ac7d1a6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071782c642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071782c6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071782c6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071782c6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071782c642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071782c6287f3 abort ./stdlib/abort.c:81:7
#9 0x000071782c62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071782c639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063ac7fc236a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063ac7fc1a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063ac7fc22a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063ac7fc19465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063ac7fc1902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063ac7fc19875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063ac7fc23fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063ac7fbec30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063ac7fe47e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063ac7e864910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063ac7dbe59f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063ac7dbd72b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063ac7dbd6523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063ac7dbd6e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063ac7d52798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063ac7d52e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063ac7d52ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071782c694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071782c726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
system_libs:INFO: compiled 56 inputs in 36.49s
#0 0x000063b0d4bf5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063b0d4bf37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063b0d4bf6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000728633a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000728633a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000728633a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000728633a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000728633a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000728633a287f3 abort ./stdlib/abort.c:81:7
#9 0x0000728633a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000728633a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063b0d76736a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063b0d766a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063b0d7672a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063b0d7669465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063b0d766902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063b0d7669875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063b0d7673fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063b0d763c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063b0d7897e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063b0d62b4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063b0d56359f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063b0d56272b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063b0d5626523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063b0d5626e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063b0d4f7798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063b0d4f7e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063b0d4f7ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000728633a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000728633b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_enotdir.wasm /b/s/w/ir/x/t/emtest_d1kajwes/emscripten_temp_gpntwe2k/test_fs_enotdir_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_d1kajwes/tmprghzqrd_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_enotdir.wasm /b/s/w/ir/x/t/emtest_po1gamvi/emscripten_temp_bprijzra/test_fs_enotdir_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_po1gamvi/tmp6xawhpltlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_enotdir (test_core.thinltoz) ... FAIL
#0 0x00005e377c0c9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e377c0c77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e377c0ca576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007562a1242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007562a12969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007562a12969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007562a12969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007562a1242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007562a12287f3 abort ./stdlib/abort.c:81:7
#9 0x00007562a122871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007562a1239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e377eb476a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e377eb3e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e377eb46a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e377eb3d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e377eb3d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e377eb3d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e377eb47fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e377eb1030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e377ed6be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e377d788910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e377cb099f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e377cafb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e377cafa523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e377cafae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e377c44b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e377c4524ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e377c453f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007562a1294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007562a1326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_enotdir_nodefs (test_core.thinltoz) ... FAIL
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc++abi.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc++abi.a" for subsequent builds)
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_f283e_ay/emscripten_temp_5fxlfbgt/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lc++-debug-noexcept -lc++abi-debug-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_f283e_ay/tmptz3w65snlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export=strerror --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fs_errorstack (test_core.thinltoz) ... FAIL
#0 0x000063041b6bed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063041b6bc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063041b6bf576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e56d9242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e56d92969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e56d92969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e56d92969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e56d9242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e56d92287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e56d922871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e56d9239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063041e13c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063041e133044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063041e13ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063041e132465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063041e13202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063041e132875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063041e13cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063041e10530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063041e360e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063041cd7d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063041c0fe9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063041c0f02b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063041c0ef523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063041c0efe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063041ba4098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063041ba474ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063041ba48f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e56d9294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e56d9326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000063beeaf3dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063beeaf3b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063beeaf3e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f9ce8442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f9ce84969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f9ce84969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f9ce84969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f9ce8442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f9ce84287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f9ce842871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f9ce8439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063beed9bb6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063beed9b2044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063beed9baa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063beed9b1465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063beed9b102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063beed9b1875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063beed9bbfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063beed98430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063beedbdfe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063beec5fc910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063beeb97d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063beeb96f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063beeb96e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063beeb96ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063beeb2bf98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063beeb2c64ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063beeb2c7f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f9ce8494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f9ce8526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emptyPath.wasm /b/s/w/ir/x/t/emtest_5taykfuq/emscripten_temp_98z_qkla/test_emptyPath_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5taykfuq/tmp_w3cl1_2libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_i4kxrgzu/emscripten_temp_es48bq_r/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lc++-debug-noexcept -lc++abi-debug-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_i4kxrgzu/tmp1n_34911libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export=strerror --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_emptyPath_rawfs (test_core.thinltoz) ... FAIL
#0 0x0000627e82089d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000627e820877b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000627e8208a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000787841c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000787841c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000787841c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000787841c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000787841c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000787841c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000787841c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000787841c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000627e84b076a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000627e84afe044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000627e84b06a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000627e84afd465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000627e84afd02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000627e84afd875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000627e84b07fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000627e84ad030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000627e84d2be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000627e83748910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000627e82ac99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000627e82abb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000627e82aba523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000627e82abae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000627e8240b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000627e824124ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000627e82413f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000787841c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000787841d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_errorstack_rawfs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emptyPath.wasm /b/s/w/ir/x/t/emtest_j7_s95l8/emscripten_temp_qh_qid03/test_emptyPath_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_j7_s95l8/tmp3tnm9inilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_emptyPath (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005948bb293d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005948bb2917b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005948bb294576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d81cac42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d81cac969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d81cac969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d81cac969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d81cac42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d81cac287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d81cac2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d81cac39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005948bdd116a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005948bdd08044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005948bdd10a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005948bdd07465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005948bdd0702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005948bdd07875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005948bdd11fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005948bdcda30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005948bdf35e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005948bc952910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005948bbcd39f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005948bbcc52b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005948bbcc4523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005948bbcc4e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005948bb61598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005948bb61c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005948bb61df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d81cac94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d81cad26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_append.wasm /b/s/w/ir/x/t/emtest_50hwjcmm/emscripten_temp_jcw0rfbz/test_append_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_50hwjcmm/tmp3f63urf5libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005b7cb3a21d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b7cb3a1f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b7cb3a22576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007cb332a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007cb332a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007cb332a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007cb332a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007cb332a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007cb332a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007cb332a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007cb332a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b7cb649f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b7cb6496044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b7cb649ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b7cb6495465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b7cb649502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b7cb6495875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b7cb649ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b7cb646830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b7cb66c3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b7cb50e0910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b7cb44619f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b7cb44532b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b7cb4452523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b7cb4452e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b7cb3da398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b7cb3daa4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b7cb3dabf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007cb332a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007cb332b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fs_append_rawfs (test_core.thinltoz) ... FAIL
#0 0x000056c7d8296d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056c7d82947b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056c7d8297576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b2cbe242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b2cbe2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b2cbe2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b2cbe2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b2cbe242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b2cbe2287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b2cbe22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b2cbe239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056c7dad146a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056c7dad0b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056c7dad13a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056c7dad0a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056c7dad0a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056c7dad0a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056c7dad14fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056c7dacdd30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056c7daf38e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056c7d9955910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056c7d8cd69f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056c7d8cc82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056c7d8cc7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056c7d8cc7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056c7d861898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056c7d861f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056c7d8620f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b2cbe294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b2cbe326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005ae8122ebd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ae8122e97b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ae8122ec576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071d477c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071d477c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071d477c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071d477c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071d477c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071d477c287f3 abort ./stdlib/abort.c:81:7
#9 0x000071d477c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071d477c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ae814d696a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ae814d60044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ae814d68a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ae814d5f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ae814d5f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ae814d5f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ae814d69fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ae814d3230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ae814f8de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ae8139aa910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ae812d2b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ae812d1d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ae812d1c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ae812d1ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ae81266d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ae8126744ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ae812675f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071d477c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071d477d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005c793eed1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c793eecf7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c793eed2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d4f16842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d4f168969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d4f168969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d4f168969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d4f16842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d4f168287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d4f1682871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d4f16839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c794194f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c7941946044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c794194ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c7941945465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c794194502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c7941945875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c794194ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c794191830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c7941b73e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c7940590910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c793f9119f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c793f9032b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c793f902523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c793f902e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c793f25398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c793f25a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c793f25bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d4f16894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d4f16926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
<building and saving third_party_freetype_Oz_2a34190af16b0b529c4c7abbc83c8a7f into cache>
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest__b94f8ky/emscripten_temp_2ijzyba_/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lc++-debug-noexcept -lc++abi-debug-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__b94f8ky/tmpf4fvjit4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export=strerror --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_dict_none (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_append.wasm /b/s/w/ir/x/t/emtest__sgs2r73/emscripten_temp_f0ptvzr5/test_append_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__sgs2r73/tmpd2c7ros_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_bscmewmw/emscripten_temp_qz0un2fy/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_bscmewmw/tmpxoctq3l6libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_64bit.wasm /b/s/w/ir/x/t/emtest_229aexv7/emscripten_temp_gjwc2b8d/test_64bit_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_229aexv7/tmpi_buvxswlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fs_append (test_core.thinltoz) ... FAIL
None
None
test_fs_dict (test_core.thinltoz) ... FAIL
None
None
test_fs_64bit (test_core.thinltoz) ... FAIL
#0 0x00006006e309bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006006e30997b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006006e309c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007824a5e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007824a5e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007824a5e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007824a5e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007824a5e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007824a5e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007824a5e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007824a5e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006006e5b196a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006006e5b10044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006006e5b18a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006006e5b0f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006006e5b0f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006006e5b0f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006006e5b19fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006006e5ae230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006006e5d3de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006006e475a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006006e3adb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006006e3acd2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006006e3acc523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006006e3acce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006006e341d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006006e34244ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006006e3425f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007824a5e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007824a5f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fs_base.wasm /b/s/w/ir/x/t/emtest_jxd7wh8q/emscripten_temp_60iku09w/test_fs_base_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_jxd7wh8q/tmp9c56nb9xlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fs_base (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005c7caa5b4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c7caa5b27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c7caa5b5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000070dd23042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000070dd230969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000070dd230969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000070dd230969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000070dd23042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000070dd230287f3 abort ./stdlib/abort.c:81:7
#9 0x000070dd2302871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000070dd23039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c7cad0326a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c7cad029044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c7cad031a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c7cad028465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c7cad02802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c7cad028875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c7cad032fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c7cacffb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c7cad256e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c7cabc73910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c7caaff49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c7caafe62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c7caafe5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c7caafe5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c7caa93698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c7caa93d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c7caa93ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000070dd23094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000070dd23126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00006232affabd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006232affa97b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006232affac576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079c029a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079c029a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000079c029a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000079c029a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000079c029a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000079c029a287f3 abort ./stdlib/abort.c:81:7
#9 0x000079c029a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000079c029a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006232b2a296a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006232b2a20044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006232b2a28a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006232b2a1f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006232b2a1f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006232b2a1f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006232b2a29fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006232b29f230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006232b2c4de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006232b166a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006232b09eb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006232b09dd2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006232b09dc523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006232b09dce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006232b032d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006232b03344ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006232b0335f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000079c029a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000079c029b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_hello_world.wasm /b/s/w/ir/x/t/emtest_ryd4y2rv/emscripten_temp_0fmofimb/test_hello_world_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ryd4y2rv/tmp7vh8ia9flibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_force_exit.wasm /b/s/w/ir/x/t/emtest_z0ggf994/emscripten_temp_l49zb9z5/test_force_exit_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_z0ggf994/tmpbpd6ityblibemscripten_js_symbols.so --strip-debug --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fpic_static (test_core.thinltoz) ... FAIL
None
None
test_force_exit (test_core.thinltoz) ... FAIL
test_float32_precise (test_core.thinltoz) ... skipped 'is_wasm2js : tests float32 ops'
#0 0x00005ee007a29d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ee007a277b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ee007a2a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e193ca42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e193ca969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e193ca969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e193ca969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e193ca42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e193ca287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e193ca2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e193ca39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ee00a4a76a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ee00a49e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ee00a4a6a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ee00a49d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ee00a49d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ee00a49d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ee00a4a7fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ee00a47030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ee00a6cbe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ee0090e8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ee0084699f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ee00845b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ee00845a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ee00845ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ee007dab98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ee007db24ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ee007db3f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e193ca94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e193cb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_floatvars.wasm /b/s/w/ir/x/t/emtest_op1gl4kz/emscripten_temp_t1m_cag8/test_floatvars_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_op1gl4kz/tmpbva6fpvwlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_floatvars (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000599596d7bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000599596d797b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000599596d7c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ab67ea42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ab67ea969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ab67ea969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ab67ea969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ab67ea42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ab67ea287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ab67ea2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ab67ea39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005995997f96a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005995997f0044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005995997f8a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005995997ef465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005995997ef02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005995997ef875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005995997f9fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005995997c230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000599599a1de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059959843a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005995977bb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005995977ad2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005995977ac523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005995977ace44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005995970fd98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005995971044ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000599597105f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ab67ea94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ab67eb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_float_literals.wasm /b/s/w/ir/x/t/emtest_gb48z9tz/emscripten_temp_yqm6tuej/test_float_literals_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_gb48z9tz/tmp84agdotxlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_float_literals (test_core.thinltoz) ... FAIL
#0 0x00005c83eb2f4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c83eb2f27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c83eb2f5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007cc953c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007cc953c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007cc953c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007cc953c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007cc953c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007cc953c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007cc953c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007cc953c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c83edd726a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c83edd69044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c83edd71a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c83edd68465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c83edd6802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c83edd68875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c83edd72fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c83edd3b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c83edf96e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c83ec9b3910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c83ebd349f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c83ebd262b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c83ebd25523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c83ebd25e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c83eb67698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c83eb67d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) ( #0 0x0000618cc840ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000618cc84087b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000618cc840b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072921f842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072921f8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072921f8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072921f8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072921f842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072921f8287f3 abort ./stdlib/abort.c:81:7
#9 0x000072921f82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072921f839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000618ccae886a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000618ccae7f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000618ccae87a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000618ccae7e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000618ccae7e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000618ccae7e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000618ccae88fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000618ccae5130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000618ccb0ace76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000618cc9ac9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000618cc8e4a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000618cc8e3c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000618cc8e3b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000618cc8e3be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000618cc878c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000618cc87934ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000618cc8794f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072921f894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072921f926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c83eb67ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007cc953c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007cc953d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_flexarray_struct.wasm /b/s/w/ir/x/t/emtest_suz66710/emscripten_temp_mtzh5ces/test_flexarray_struct_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_suz66710/tmppjwgstellibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_float_builtins.wasm /b/s/w/ir/x/t/emtest_hbikyrd_/emscripten_temp_uia6_t5s/test_float_builtins_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_hbikyrd_/tmp6dkulkdplibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_flexarray_struct (test_core.thinltoz) ... FAIL
None
None
test_float_builtins (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
system_libs:INFO: compiled 16 inputs in 6.84s
-- configure stdout --
FreeType build system -- automatic system detection
The following settings are used:
platform unix
compiler /b/s/w/ir/x/w/install/emscripten/emcc
configuration directory ./builds/unix
configuration rules ./builds/unix/unix.mk
If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.
Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (the latter needs python).
Generating modules list in ./objs/ftmodule.h...
* module: truetype (Windows/Mac font files with extension *.ttf or *.ttc)
* module: type1 (Postscript font files with extension *.pfa or *.pfb)
* module: cff (OpenType fonts with extension *.otf)
* module: cid (Postscript CID-keyed fonts, no known extension)
* module: pfr (PFR/TrueDoc font files with extension *.pfr)
* module: type42 (Type 42 font files with no known extension)
* module: winfnt (Windows bitmap fonts with extension *.fnt or *.fon)
* module: pcf (pcf bitmap fonts)
* module: bdf (bdf bitmap fonts)
* module: sfnt (helper module for TrueType & OpenType formats)
* module: autofit (automatic hinting module)
* module: pshinter (Postscript hinter module)
* module: raster (monochrome bitmap renderer)
* module: smooth (anti-aliased bitmap renderer)
* module: smooth (anti-aliased bitmap renderer for LCDs)
* module: smooth (anti-aliased bitmap renderer for vertical LCDs)
* module: psaux (Postscript Type 1 & Type 2 helper module)
* module: psnames (Postscript & Unicode Glyph name handling)
done.
cd builds/unix; ./configure '--disable-shared' '--without-zlib'
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... /b/s/w/ir/x/w/install/emscripten/emcc
checking whether the C compiler works... no
-- end configure stdout --
-- configure stderr --
configure: sh ./configure --disable-shared --without-zlib
configure: error: in `/b/s/w/ir/x/t/emtest__g0xqxi3/emscripten_test_thinltoz_1s31r46j/building/third_party/freetype/builds/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [builds/unix/detect.mk:84: setup] Error 77
emconfigure: error: 'sh ./configure --disable-shared --without-zlib' failed (returned 2)
-- end configure stderr --
test_freetype (test_core.thinltoz) ... ERROR
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000611895483d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006118954817b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000611895484576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000783421642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007834216969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007834216969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007834216969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000783421642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007834216287f3 abort ./stdlib/abort.c:81:7
#9 0x000078342162871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000783421639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000611897f016a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000611897ef8044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000611897f00a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000611897ef7465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000611897ef702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000611897ef7875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000611897f01fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000611897eca30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000611898125e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000611896b42910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000611895ec39f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000611895eb52b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000611895eb4523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000611895eb4e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061189580598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061189580c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061189580df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000783421694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000783421726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
cache:INFO: - ok
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_files.wasm /b/s/w/ir/x/t/emtest_180w2sv6/emscripten_temp_wpuza5g_/test_files_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_180w2sv6/tmpp5fg87a5libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
None
None
test_files (test_core.thinltoz) ... FAIL
#0 0x00005a2a86a1fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a2a86a1d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a2a86a20576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ed79b042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ed79b0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ed79b0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ed79b0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ed79b042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ed79b0287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ed79b02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ed79b039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a2a8949d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a2a89494044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a2a8949ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a2a89493465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a2a8949302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a2a89493875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a2a8949dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a2a8946630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a2a896c1e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a2a880de910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a2a8745f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a2a874512b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a2a87450523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a2a87450e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a2a86da198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a2a86da84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a2a86da9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ed79b094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ed79b126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
TODO: update this test once the musl ungetc-on-EOF-stream bug is fixed upstream and reaches us
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fnmatch.wasm /b/s/w/ir/x/t/emtest_47o77s1k/emscripten_temp_78eqoeao/test_fnmatch_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_47o77s1k/tmp9mubumoflibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fnmatch (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_8m8icgx2/emscripten_temp_6i4mk3ix/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/t/emtest_8m8icgx2/emscripten_temp_6i4mk3ix/embedded_files.o -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8m8icgx2/tmp82do21qglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
TODO: update this test once the musl ungetc-on-EOF-stream bug is fixed upstream and reaches us
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fileno (test_core.thinltoz) ... FAIL
TODO: update this test once the musl ungetc-on-EOF-stream bug is fixed upstream and reaches us
#0 0x00006062da526d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006062da5247b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006062da527576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000715628842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007156288969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007156288969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007156288969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000715628842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007156288287f3 abort ./stdlib/abort.c:81:7
#9 0x000071562882871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000715628839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006062dcfa46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006062dcf9b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006062dcfa3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006062dcf9a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006062dcf9a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006062dcf9a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006062dcfa4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006062dcf6d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006062dd1c8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006062dbbe5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006062daf669f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006062daf582b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006062daf57523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006062daf57e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006062da8a898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006062da8af4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006062da8b0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000715628894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000715628926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000626194efad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000626194ef87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000626194efb576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076957d842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076957d8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076957d8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076957d8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076957d842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076957d8287f3 abort ./stdlib/abort.c:81:7
#9 0x000076957d82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076957d839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006261979786a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062619796f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000626197977a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062619796e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062619796e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062619796e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000626197978fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062619794130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000626197b9ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006261965b9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062619593a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062619592c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062619592b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062619592be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062619527c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006261952834ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000626195284f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076957d894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076957d926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_icdzb1ji/emscripten_temp_jc8eeeeg/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/t/emtest_icdzb1ji/emscripten_temp_jc8eeeeg/embedded_files.o -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_icdzb1ji/tmp4t0_a80slibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fgets_eol (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fibers.wasm /b/s/w/ir/x/t/emtest_iamibvks/emscripten_temp_ddtsocb_/test_fibers_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_iamibvks/tmpgrk3cl0_libemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fibers_asyncify (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00006544fec5fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006544fec5d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006544fec60576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074819e242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074819e2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074819e2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074819e2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074819e242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074819e2287f3 abort ./stdlib/abort.c:81:7
#9 0x000074819e22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074819e239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006545016dd6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006545016d4044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006545016dca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006545016d3465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006545016d302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006545016d3875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006545016ddfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006545016a630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000654501901e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000065450031e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006544ff69f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006544ff6912b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006544ff690523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006544ff690e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006544fefe198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006544fefe84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006544fefe9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074819e294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074819e326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fgetc_ungetc.wasm /b/s/w/ir/x/t/emtest_ubvq4huy/emscripten_temp_swu422u8/test_fgetc_ungetc_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ubvq4huy/tmpdajsjucdlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fgetc_ungetc_rawfs (test_core.thinltoz) ... FAIL
#0 0x00006128b21a1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006128b219f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006128b21a2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000748c7c842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000748c7c8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000748c7c8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000748c7c8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000748c7c842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000748c7c8287f3 abort ./stdlib/abort.c:81:7
#9 0x0000748c7c82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000748c7c839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006128b4c1f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006128b4c16044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006128b4c1ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006128b4c15465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006128b4c1502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006128b4c15875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006128b4c1ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006128b4be830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006128b4e43e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006128b3860910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006128b2be19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006128b2bd32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006128b2bd2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006128b2bd2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006128b252398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006128b252a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006128b252bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000748c7c894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000748c7c926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00006030fa5bcd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006030fa5ba7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006030fa5bd576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ad3c5042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ad3c50969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ad3c50969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ad3c50969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ad3c5042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ad3c50287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ad3c502871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ad3c5039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006030fd03a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006030fd031044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006030fd039a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006030fd030465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006030fd03002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006030fd030875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006030fd03afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006030fd00330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006030fd25ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006030fbc7b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006030faffc9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006030fafee2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006030fafed523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006030fafede44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006030fa93e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006030fa9454ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006030fa946f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ad3c5094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ad3c5126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000563fa21e3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000563fa21e17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000563fa21e4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fe357642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007fe3576969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007fe3576969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007fe3576969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007fe357642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007fe3576287f3 abort ./stdlib/abort.c:81:7
#9 0x00007fe35762871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007fe357639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000563fa4c616a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000563fa4c58044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000563fa4c60a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000563fa4c57465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000563fa4c5702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000563fa4c57875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000563fa4c61fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000563fa4c2a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000563fa4e85e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000563fa38a2910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000563fa2c239f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000563fa2c152b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000563fa2c14523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000563fa2c14e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000563fa256598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000563fa256c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000563fa256df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007fe357694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007fe357726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000604e9d95fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000604e9d95d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000604e9d960576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074c631842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074c6318969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074c6318969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074c6318969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074c631842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074c6318287f3 abort ./stdlib/abort.c:81:7
#9 0x000074c63182871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074c631839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000604ea03dd6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000604ea03d4044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000604ea03dca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000604ea03d3465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000604ea03d302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000604ea03d3875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000604ea03ddfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000604ea03a630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000604ea0601e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000604e9f01e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000604e9e39f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000604e9e3912b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000604e9e390523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000604e9e390e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000604e9dce198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000604e9dce84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000604e9dce9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074c631894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074c631926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_longjmp_throw.wasm /b/s/w/ir/x/t/emtest_siqu50nr/emscripten_temp_6oc2shx2/test_longjmp_throw_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_siqu50nr/tmp6yc_q4hvlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_longjmp_throw (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fgetc_ungetc.wasm /b/s/w/ir/x/t/emtest_b2b0eaq8/emscripten_temp_iu0lj0l6/test_fgetc_ungetc_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_b2b0eaq8/tmp5nxaiaq6libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_cmnobwrq/emscripten_temp_pjjrf1dr/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/t/emtest_cmnobwrq/emscripten_temp_pjjrf1dr/embedded_files.o -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cmnobwrq/tmpidjs_aamlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fgetc_unsigned (test_core.thinltoz) ... FAIL
#0 0x00005ce578a67d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ce578a657b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ce578a68576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c3afb642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c3afb6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c3afb6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c3afb6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c3afb642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c3afb6287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c3afb62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c3afb639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ce57b4e56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ce57b4dc044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ce57b4e4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ce57b4db465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ce57b4db02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ce57b4db875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ce57b4e5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ce57b4ae30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ce57b709e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ce57a126910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ce5794a79f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ce5794992b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ce579498523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ce579498e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ce578de998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ce578df04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ce578df1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c3afb694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c3afb726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fgetc_ungetc.wasm /b/s/w/ir/x/t/emtest_rzcu633s/emscripten_temp_5cudz4op/test_fgetc_ungetc_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_rzcu633s/tmp1fawv85jlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fgetc_ungetc (test_core.thinltoz) ... FAIL
None
None
test_fgetc_ungetc_nodefs (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_i64_invoke_bigint.wasm /b/s/w/ir/x/t/emtest_pxiikmgy/emscripten_temp_l1boe1vb/test_i64_invoke_bigint_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_pxiikmgy/tmpb0vs8pzslibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_i64_invoke_bigint (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005a355d703d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a355d7017b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a355d704576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007318a6c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007318a6c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007318a6c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007318a6c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007318a6c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007318a6c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007318a6c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007318a6c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a35601816a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a3560178044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a3560180a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a3560177465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a356017702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a3560177875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a3560181fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a356014a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a35603a5e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a355edc2910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a355e1439f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a355e1352b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a355e134523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a355e134e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a355da8598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a355da8c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a355da8df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007318a6c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007318a6d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000056bd56217d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056bd562157b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056bd56218576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071a137642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071a1376969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071a1376969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071a1376969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071a137642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071a1376287f3 abort ./stdlib/abort.c:81:7
#9 0x000071a13762871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071a137639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056bd58c956a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056bd58c8c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056bd58c94a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056bd58c8b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056bd58c8b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056bd58c8b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056bd58c95fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056bd58c5e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056bd58eb9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056bd578d6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056bd56c579f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056bd56c492b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056bd56c48523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056bd56c48e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056bd5659998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056bd565a04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056bd565a1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071a137694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071a137726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005ca1d0db4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ca1d0db27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ca1d0db5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077f145042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077f1450969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000077f1450969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000077f1450969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000077f145042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000077f1450287f3 abort ./stdlib/abort.c:81:7
#9 0x000077f14502871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000077f145039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ca1d38326a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ca1d3829044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ca1d3831a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ca1d3828465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ca1d382802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ca1d3828875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ca1d3832fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ca1d37fb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ca1d3a56e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ca1d2473910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ca1d17f49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ca1d17e62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ca1d17e5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ca1d17e5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ca1d113698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ca1d113d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ca1d113ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000077f145094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000077f145126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fcntl_open.wasm /b/s/w/ir/x/t/emtest_k2w43ij6/emscripten_temp_mi1ma84n/test_fcntl_open_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_k2w43ij6/tmpx_0x9eg3libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fcntl_open_rawfs (test_core.thinltoz) ... FAIL
#0 0x00005590e999ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005590e99987b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005590e999b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007795b5a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007795b5a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007795b5a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007795b5a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007795b5a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007795b5a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007795b5a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007795b5a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005590ec4186a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005590ec40f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005590ec417a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005590ec40e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ldemcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fcntl_open.wasm /b/s/w/ir/x/t/emtest_hg0l5xdh/emscripten_temp_k3728se3/test_fcntl_open_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_hg0l5xdh/tmpsyoxqz3klibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
+0x4600465)
#15 0x00005590ec40e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005590ec40e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005590ec418fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005590ec3e130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005590ec63ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005590eb059910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005590ea3da9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005590ea3cc2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005590ea3cb523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005590ea3cbe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005590e9d1c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005590e9d234ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005590e9d24f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007795b5a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007795b5b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fcntl_open_nodefs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_hello_world.wasm /b/s/w/ir/x/t/emtest_wd2gs341/emscripten_temp_dwdw1smj/test_hello_world_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wd2gs341/tmpgg_pyb34libemscripten_js_symbols.so --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fcoverage_mapping (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fcntl_open.wasm /b/s/w/ir/x/t/emtest_o69cubj7/emscripten_temp_7g4evq64/test_fcntl_open_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_o69cubj7/tmpv4in0v07libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fcntl_open (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fcntl.wasm /b/s/w/ir/x/t/emtest_188y68ee/emscripten_temp_v01twjyf/test_fcntl_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -lwasmfs -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_188y68ee/tmp0zgga13klibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_builtin_memalign --export=wasmfs_create_file --export=wasmfs_unmount --export=_wasmfs_mount --export=_wasmfs_read_file --export=_wasmfs_write_file --export=_wasmfs_open --export=_wasmfs_close --export=_wasmfs_write --export=_wasmfs_pwrite --export=_wasmfs_rename --export=_wasmfs_mkdir --export=_wasmfs_unlink --export=_wasmfs_chdir --export=_wasmfs_mknod --export=_wasmfs_rmdir --export=_wasmfs_mmap --export=_wasmfs_munmap --export=_wasmfs_msync --export=_wasmfs_read --export=_wasmfs_pread --export=_wasmfs_symlink --export=_wasmfs_truncate --export=_wasmfs_ftruncate --export=_wasmfs_stat --export=_wasmfs_lstat --export=_wasmfs_chmod --export=_wasmfs_fchmod --export=_wasmfs_lchmod --export=_wasmfs_utime --export=_wasmfs_llseek --export=_wasmfs_identify --export=_wasmfs_readlink --export=_wasmfs_readdir_start --export=_wasmfs_readdir_get --export=_wasmfs_readdir_finish --export=_wasmfs_get_cwd --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export=wasmfs_create_jsimpl_backend --export=wasmfs_create_memory_backend --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fcntl_wasmfs (test_core.thinltoz) ... FAIL
#0 0x00005f31d56b8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f31d56b67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f31d56b9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d7ae5242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d7ae52969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d7ae52969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d7ae52969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d7ae5242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d7ae52287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d7ae522871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d7ae5239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f31d81366a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f31d812d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f31d8135a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f31d812c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f31d812c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f31d812c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f31d8136fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f31d80ff30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f31d835ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f31d6d77910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f31d60f89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f31d60ea2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f31d60e9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f31d60e9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f31d5a3a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f31d5a414ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f31d5a42f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d7ae5294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d7ae5326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005b844ecfcd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b844ecfa7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b844ecfd576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074287ee42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074287ee969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074287ee969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074287ee969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074287ee42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074287ee287f3 abort ./stdlib/abort.c:81:7
#9 0x000074287ee2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074287ee39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b845177a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b8451771044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b8451779a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b8451770465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b845177002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b8451770875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b845177afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b845174330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b845199ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b84503bb910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b844f73c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b844f72e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b844f72d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b844f72de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b844f07e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b844f0854ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b844f086f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074287ee94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074287ef26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000064b2e12f7d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000064b2e12f57b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000064b2e12f8576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079c429242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079c4292969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000079c4292969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000079c4292969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000079c429242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000079c4292287f3 abort ./stdlib/abort.c:81:7
#9 0x000079c42922871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000079c429239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000064b2e3d756a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000064b2e3d6c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000064b2e3d74a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000064b2e3d6b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000064b2e3d6b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000064b2e3d6b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000064b2e3d75fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000064b2e3d3e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000064b2e3f99e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000064b2e29b6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000064b2e1d379f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000064b2e1d292b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000064b2e1d28523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000064b2e1d28e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064b2e167998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000064b2e16804ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000064b2e1681f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000079c429294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000079c429326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fcntl_misc.wasm /b/s/w/ir/x/t/emtest_oyfm_9fo/emscripten_temp_upz5gbij/test_fcntl_misc_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_oyfm_9fo/tmp1rfh8_w6libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fcntl_misc.wasm /b/s/w/ir/x/t/emtest_jplmugnq/emscripten_temp_5g3w9i01/test_fcntl_misc_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_jplmugnq/tmpg32znikclibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fcntl_misc (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fcntl.wasm /b/s/w/ir/x/t/emtest_nkagjzni/emscripten_temp_uqdibc37/test_fcntl_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_nkagjzni/tmpmuxmgraolibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fcntl (test_core.thinltoz) ... FAIL
None
None
test_fcntl_misc_bigint (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000635b1511fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000635b1511d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000635b15120576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007cab37842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007cab378969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007cab378969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007cab378969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007cab37842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007cab378287f3 abort ./stdlib/abort.c:81:7
#9 0x00007cab3782871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007cab37839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000635b17b9d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000635b17b94044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000635b17b9ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000635b17b93465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000635b17b9302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000635b17b93875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000635b17b9dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000635b17b6630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000635b17dc1e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000635b167de910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000635b15b5f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000635b15b512b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000635b15b50523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000635b15b50e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000635b154a198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000635b154a84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000635b154a9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007cab37894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007cab37926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005f87eef51d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f87eef4f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f87eef52576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074c27d042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074c27d0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074c27d0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074c27d0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074c27d042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074c27d0287f3 abort ./stdlib/abort.c:81:7
#9 0x000074c27d02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074c27d039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f87f19cf6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f87f19c6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f87f19cea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f87f19c5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f87f19c502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f87f19c5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f87f19cffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f87f199830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f87f1bf3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f87f0610910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f87ef9919f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f87ef9832b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f87ef982523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f87ef982e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f87ef2d398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f87ef2da4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f87ef2dbf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074c27d094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074c27d126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o fasta.wasm /b/s/w/ir/x/t/emtest_y8xvqocm/emscripten_temp_6h5jj4ai/fasta_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_y8xvqocm/tmpf3nuz5kzlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x0000566cf2596d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000566cf25947b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000566cf2597576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072ea55c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072ea55c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072ea55c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072ea55c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072ea55c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072ea55c287f3 abort ./stdlib/abort.c:81:7
#9 0x000072ea55c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072ea55c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000566cf50146a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000566cf500b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000566cf5013a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000566cf500a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000566cf500a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000566cf500a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000566cf5014fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000566cf4fdd30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000566cf5238e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000566cf3c55910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000566cf2fd69f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000566cf2fc82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000566cf2fc7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000566cf2fc7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000566cf291898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000566cf291f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+ #0 0x00005eeb2769ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005eeb2769c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005eeb2769f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000757e0d842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000757e0d8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000757e0d8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000757e0d8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000757e0d842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000757e0d8287f3 abort ./stdlib/abort.c:81:7
#9 0x0000757e0d82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000757e0d839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005eeb2a11c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005eeb2a113044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005eeb2a11ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005eeb2a112465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005eeb2a11202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005eeb2a112875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005eeb2a11cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005eeb2a0e530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005eeb2a340e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005eeb28d5d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005eeb280de9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005eeb280d02b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005eeb280cf523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005eeb280cfe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005eeb27a2098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005eeb27a274ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005eeb27a28f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000757e0d894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000757e0d926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
0x1f154ed)
#27 0x0000566cf2920f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072ea55c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072ea55d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fasta_float (test_core.thinltoz) ... FAIL
test_externref (test_core.thinltoz) ... skipped 'test requires v8 and EMTEST_SKIP_V8 is set'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o fasta.wasm /b/s/w/ir/x/t/emtest_bhe9patp/emscripten_temp_tntkkgrg/fasta_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_bhe9patp/tmp8sdjiir0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o fasta.wasm /b/s/w/ir/x/t/emtest_kdowxrz0/emscripten_temp_zw88mvef/fasta_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_kdowxrz0/tmpsnmwi3amlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_fasta_nontrapping (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fast_math.wasm /b/s/w/ir/x/t/emtest_c3hm_yg4/emscripten_temp_kdswjbii/test_fast_math_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_c3hm_yg4/tmpiywn0jn4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fasta (test_core.thinltoz) ... FAIL
.. exit
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_fast_math (test_core.thinltoz) ... FAIL
#0 0x000056ffdf9b5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056ffdf9b37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056ffdf9b6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007025dbc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007025dbc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007025dbc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007025dbc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007025dbc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007025dbc287f3 abort ./stdlib/abort.c:81:7
#9 0x00007025dbc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007025dbc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056ffe24336a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056ffe242a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056ffe2432a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056ffe2429465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056ffe242902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056ffe2429875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056ffe2433fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056ffe23fc30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056ffe2657e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056ffe1074910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056ffe03f59f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056ffe03e72b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056ffe03e6523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056ffe03e6e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056ffdfd3798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056ffdfd3e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056ffdfd3ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007025dbc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007025dbd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_exceptions_with_and_without_longjmp (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o fannkuch.wasm /b/s/w/ir/x/t/emtest_klg7hrvg/emscripten_temp_462ojbgt/fannkuch_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_klg7hrvg/tmpq_6e4hjnlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x0000623685d20d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000623685d1e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000623685d21576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000732e72042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000732e720969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000732e720969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000732e720969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000732e72042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000732e720287f3 abort ./stdlib/abort.c:81:7
#9 0x0000732e7202871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000732e72039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062368879e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000623688795044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062368879da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000623688794465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062368879402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000623688794875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062368879efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062368876730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006236889c2e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006236873df910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006236867609f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006236867522b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000623686751523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000623686751e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006236860a298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006236860a94ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006236860aaf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000732e72094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000732e72126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_fannkuch (test_core.thinltoz) ... FAIL
test_exceptions_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
#0 0x00005cf500c4fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005cf500c4d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005cf500c50576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000757241842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007572418969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007572418969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007572418969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000757241842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007572418287f3 abort ./stdlib/abort.c:81:7
#9 0x000075724182871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000757241839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005cf5036cd6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005cf5036c4044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005cf5036cca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005cf5036c3465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005cf5036c302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005cf5036c3875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005cf5036cdfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005cf50369630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005cf5038f1e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005cf50230e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005cf50168f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005cf5016812b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005cf501680523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005cf501680e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005cf500fd198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005cf500fd84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005cf500fd9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000757241894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000757241926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_fakestat.wasm /b/s/w/ir/x/t/emtest_wu2jzisq/emscripten_temp_s_8gq14h/test_fakestat_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wu2jzisq/tmp16qhbfv1libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc++-legacyexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc++-legacyexcept.a" for subsequent builds)
None
None
test_fakestat (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_externref_emjs.wasm /b/s/w/ir/x/t/emtest_4zp5qk49/emscripten_temp_dnx4e8l8/test_externref_emjs_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_4zp5qk49/tmp8sevw7n4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
test_exceptions_virtual_inheritance_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
None
None
test_externref_emjs (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005903fbe9dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005903fbe9b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005903fbe9e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a1e35842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a1e358969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a1e358969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a1e358969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a1e35842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a1e358287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a1e3582871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a1e35839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005903fe91b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005903fe912044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005903fe91aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005903fe911465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005903fe91102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005903fe911875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005903fe91bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005903fe8e430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005903feb3fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005903fd55c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005903fc8dd9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005903fc8cf2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005903fc8ce523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005903fc8cee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005903fc21f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005903fc2264ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005903fc227f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a1e35894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a1e35926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005a21273b2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a21273b07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a21273b3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071e5a0442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071e5a04969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071e5a04969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071e5a04969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071e5a0442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071e5a04287f3 abort ./stdlib/abort.c:81:7
#9 0x000071e5a042871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071e5a0439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a2129e306a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a2129e27044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a2129e2fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a2129e26465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a2129e2602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a2129e26875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a2129e30fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a2129df930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a212a054e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a2128a71910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a2127df29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a2127de42b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a2127de3523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a2127de3e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a212773498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a212773b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a212773cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071e5a0494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071e5a0526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_6vephgc7/emscripten_temp_yoo53b0m/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_6vephgc7/tmp7xwiafs8libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=other_function --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exported_response (test_core.thinltoz) ... FAIL
test_exceptions_uncaught_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o exit.wasm /b/s/w/ir/x/t/emtest_j0k2xk23/emscripten_temp_kmg25kgz/exit_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_j0k2xk23/tmp3tt_laeolibemscripten_js_symbols.so --strip-debug --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exit_status (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
common:WARNING: no wasm engine was found to run the standalone part of this test
#0 0x0000646c01e2cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000646c01e2a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000646c01e2d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ddb54842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ddb548969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ddb548969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ddb548969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ddb54842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ddb548287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ddb5482871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ddb54839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000646c048aa6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000646c048a1044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000646c048a9a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000646c048a0465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000646c048a002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000646c048a0875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000646c048aafbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000646c0487330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000646c04acee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000646c034eb910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000646c0286c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000646c0285e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000646c0285d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000646c0285de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000646c021ae98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000646c021b54ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000646c021b6f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ddb54894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ddb54926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_export_start (test_core.thinltoz) ... ok (6.46s)
test_exceptions_uncaught_count_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_9mp1cxn1/emscripten_temp_4zgia5jg/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9mp1cxn1/tmp9max1veblibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_uncaught_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_virtual_inheritance.wasm /b/s/w/ir/x/t/emtest_4v5duk29/emscripten_temp_nl0pcze_/test_exceptions_virtual_inheritance_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_4v5duk29/tmpiw72v1qflibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_virtual_inheritance_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_uncaught_2_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005b553be80d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b553be7e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b553be81576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007eac49042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007eac490969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007eac490969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007eac490969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007eac49042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007eac490287f3 abort ./stdlib/abort.c:81:7
#9 0x00007eac4902871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007eac49039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b553e8fe6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b553e8f5044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b553e8fda48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b553e8f4465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b553e8f402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b553e8f4875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b553e8fefbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b553e8c730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b553eb22e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b553d53f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b553c8c09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b553c8b22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b553c8b1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b553c8b1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b553c20298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b553c2094ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b553c20af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007eac49094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007eac49126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_uncaught_count.wasm /b/s/w/ir/x/t/emtest_ov96dhs9/emscripten_temp_b_wslkua/test_exceptions_uncaught_count_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ov96dhs9/tmpufufpg0tlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_uncaught_count_emscripten (test_core.thinltoz) ... FAIL
test_externref_emjs_dynlink (test_core.thinltoz) ... ok (10.48s)
test_exceptions_typed_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00006338b4ae7d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006338b4ae57b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006338b4ae8576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007254fe242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007254fe2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007254fe2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007254fe2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007254fe242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007254fe2287f3 abort ./stdlib/abort.c:81:7
#9 0x00007254fe22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007254fe239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006338b75656a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006338b755c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006338b7564a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006338b755b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006338b755b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006338b755b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006338b7565fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006338b752e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006338b7789e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006338b61a6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006338b55279f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006338b55192b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006338b5518523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006338b5518e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006338b4e6998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006338b4e704ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006338b4e71f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007254fe294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007254fe326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_typed.wasm /b/s/w/ir/x/t/emtest_urxxj3ku/emscripten_temp_jj9vp56o/test_exceptions_typed_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_urxxj3ku/tmpmv_rt34llibemscripten_js_symbols.so --strip-debug --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_typed_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_bf16vurb/emscripten_temp_cb4h1di7/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_bf16vurb/tmpv1w66lutlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_uncaught_2_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_std_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000628c9c274d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000628c9c2727b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000628c9c275576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073d6c3042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073d6c30969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073d6c30969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073d6c30969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073d6c3042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073d6c30287f3 abort ./stdlib/abort.c:81:7
#9 0x000073d6c302871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073d6c3039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000628c9ecf26a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000628c9ece9044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000628c9ecf1a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000628c9ece8465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000628c9ece802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000628c9ece8875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000628c9ecf2fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000628c9ecbb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000628c9ef16e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000628c9d933910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000628c9ccb49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000628c9cca62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000628c9cca5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000628c9cca5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000628c9c5f698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000628c9c5fd4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000628c9c5fef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073d6c3094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073d6c3126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_std.wasm /b/s/w/ir/x/t/emtest_bdizp8n9/emscripten_temp_frcupoib/test_exceptions_std_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_bdizp8n9/tmpmvoaxvotlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_std_emscripten (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 56 inputs in 19.32s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc++abi-legacyexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc++abi-legacyexcept.a" for subsequent builds)
system_libs:INFO: compiled 18 inputs in 2.73s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libunwind-legacyexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libunwind-legacyexcept.a" for subsequent builds)
system_libs:INFO: compiled 1 inputs in 0.17s
cache:INFO: - ok
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_lko1_9jj/emscripten_temp_ehdxonal/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_lko1_9jj/tmptcg8gct8libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_virtual_inheritance.wasm /b/s/w/ir/x/t/emtest_ryo5t7tw/emscripten_temp_1evxq30a/test_exceptions_virtual_inheritance_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_ryo5t7tw/tmpo760jmtflibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005f84657e3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f84657e17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f84657e4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071bc77a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071bc77a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071bc77a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071bc77a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071bc77a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071bc77a287f3 abort ./stdlib/abort.c:81:7
#9 0x000071bc77a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071bc77a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f84682616a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f8468258044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f8468260a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f8468257465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f846825702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f8468257875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f8468261fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f846822a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f8468485e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f8466ea2910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f84662239f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f84662152b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f8466214523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f8466214e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f8465b6598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f8465b6c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f8465b6df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071bc77a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071bc77b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_exceptions_uncaught_2_wasm_legacy (test_core.thinltoz) ... FAIL
#0 0x000062e150ff0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000062e150fee7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000062e150ff1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007346ff042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007346ff0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007346ff0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007346ff0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007346ff042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007346ff0287f3 abort ./stdlib/abort.c:81:7
#9 0x00007346ff02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007346ff039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062e153a6e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062e153a65044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062e153a6da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062e153a64465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062e153a6402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062e153a64875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062e153a6efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062e153a3730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062e153c92e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062e1526af910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062e151a309f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062e151a222b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062e151a21523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062e151a21e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062e15137298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062e1513794ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062e15137af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007346ff094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007346ff126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_exceptions_virtual_inheritance_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_simplify_cfg_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_simplify_cfg.wasm /b/s/w/ir/x/t/emtest_uyi7v_bg/emscripten_temp_k4tg1xgl/test_exceptions_simplify_cfg_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_uyi7v_bg/tmp1xleoxgglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000061abfdc2ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061abfdc287b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061abfdc2b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000715674242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007156742969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007156742969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007156742969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000715674242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007156742287f3 abort ./stdlib/abort.c:81:7
#9 0x000071567422871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000715674239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061ac006a86a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061ac0069f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061ac006a7a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061ac0069e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061ac0069e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061ac0069e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061ac006a8fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061ac0067130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061ac008cce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061abff2e9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061abfe66a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061abfe65c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061abfe65b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061abfe65be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061abfdfac98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061abfdfb34ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061abfdfb4f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000715674294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000715674326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_typed.wasm /b/s/w/ir/x/t/emtest_iapffc4l/emscripten_temp_sa40neux/test_exceptions_typed_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_iapffc4l/tmpvfnn7x3wlibemscripten_js_symbols.so --strip-debug --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000064f257e48d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000064f257e467b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000064f257e49576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076389b042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076389b0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076389b0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076389b0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076389b042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076389b0287f3 abort ./stdlib/abort.c:81:7
#9 0x000076389b02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076389b039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000064f25a8c66a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000064f25a8bd044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000064f25a8c5a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000064f25a8bc465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000064f25a8bc02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000064f25a8bc875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000064f25a8c6fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000064f25a88f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000064f25aaeae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000064f259507910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000064f2588889f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000064f25887a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000064f258879523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000064f258879e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064f2581ca98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000064f2581d14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000064f2581d2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076389b094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076389b126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_exceptions_simplify_cfg_wasm_legacy (test_core.thinltoz) ... FAIL
None
None
test_exceptions_typed_wasm_legacy (test_core.thinltoz) ... FAIL
#0 0x0000653865b5ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000653865b587b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000653865b5b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007afe52242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007afe522969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007afe522969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007afe522969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007afe52242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007afe522287f3 abort ./stdlib/abort.c:81:7
#9 0x00007afe5222871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007afe52239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006538685d86a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006538685cf044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006538685d7a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006538685ce465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006538685ce02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006538685ce875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006538685d8fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006538685a130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006538687fce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000653867219910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000065386659a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000065386658c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000065386658b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000065386658be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000653865edc98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000653865ee34ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000653865ee4f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007afe52294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007afe52326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_exceptions_rethrow_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_rethrow_missing_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
#0 0x000062bebdf7ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000062bebdf787b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000062bebdf7b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000730627c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000730627c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000730627c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000730627c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000730627c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000730627c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000730627c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000730627c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062bec09f86a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062bec09ef044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062bec09f7a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062bec09ee465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062bec09ee02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062bec09ee875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062bec09f8fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062bec09c130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062bec0c1ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062bebf639910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062bebe9ba9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062bebe9ac2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062bebe9ab523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062bebe9abe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062bebe2fc98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062bebe3034ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062bebe304f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000730627c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000730627d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions.wasm /b/s/w/ir/x/t/emtest_l2q6sug0/emscripten_temp_i933q1iw/test_exceptions_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_l2q6sug0/tmpsz7xyn5rlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_uncaught_count.wasm /b/s/w/ir/x/t/emtest_c4hrur8h/emscripten_temp_zmkqkknb/test_exceptions_uncaught_count_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_c4hrur8h/tmpa8cjr2j9libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_wasm_legacy (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_std.wasm /b/s/w/ir/x/t/emtest_s24jt79k/emscripten_temp_k16pq8b4/test_exceptions_std_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_s24jt79k/tmp5gupcvyolibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_uncaught_count_wasm_legacy (test_core.thinltoz) ... FAIL
None
None
test_exceptions_std_wasm_legacy (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_dkf__8io/emscripten_temp_wfcp0ht8/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_dkf__8io/tmpnv0yx2lalibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
test_exceptions_resume_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
None
None
test_exceptions_uncaught_wasm_legacy (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000059856cb20d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000059856cb1e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059856cb21576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000070d0cb642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000070d0cb6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000070d0cb6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000070d0cb6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000070d0cb642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000070d0cb6287f3 abort ./stdlib/abort.c:81:7
#9 0x000070d0cb62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000070d0cb639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059856f59e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000059856f595044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000059856f59da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000059856f594465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000059856f59402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000059856f594875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000059856f59efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059856f56730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059856f7c2e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059856e1df910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000059856d5609f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000059856d5522b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000059856d551523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000059856d551e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059856cea298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000059856cea94ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000059856ceaaf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000070d0cb694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000070d0cb726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000605cd766dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000605cd766b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000605cd766e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074085f442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074085f4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074085f4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074085f4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074085f442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074085f4287f3 abort ./stdlib/abort.c:81:7
#9 0x000074085f42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074085f439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000605cda0eb6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000605cda0e2044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000605cda0eaa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000605cda0e1465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000605cda0e102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000605cda0e1875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000605cda0ebfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000605cda0b430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000605cda30fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000605cd8d2c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000605cd80ad9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000605cd809f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000605cd809e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000605cd809ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000605cd79ef98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000605cd79f64ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000605cd79f7f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074085f494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074085f526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_h1gwdn2_/emscripten_temp_t22zqtdw/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_h1gwdn2_/tmp63fy42nvlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_iez7zk_4/emscripten_temp_2sihago6/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_iez7zk_4/tmp31bxcn_8libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_exceptions_rethrow_missing_emscripten (test_core.thinltoz) ... FAIL
None
None
test_exceptions_rethrow_missing_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_refcount_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
#0 0x000057aa23383d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057aa233817b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057aa23384576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000746073a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000746073a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000746073a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000746073a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000746073a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000746073a287f3 abort ./stdlib/abort.c:81:7
#9 0x0000746073a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000746073a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057aa25e016a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057aa25df8044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057aa25e00a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057aa25df7465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057aa25df702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057aa25df7875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057aa25e01fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057aa25dca30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057aa26025e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057aa24a42910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057aa23dc39f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057aa23db52b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057aa23db4523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057aa23db4e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057aa2370598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057aa2370c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057aa2370df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000746073a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000746073b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_refcount.wasm /b/s/w/ir/x/t/emtest_qbe0p1kh/emscripten_temp_2nlc3ma7/test_exceptions_refcount_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_qbe0p1kh/tmp38c7h4yslibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_refcount_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_primary_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000058919f0f7d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058919f0f57b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058919f0f8576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e3b18e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e3b18e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e3b18e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e3b18e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e3b18e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e3b18e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e3b18e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e3b18e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005891a1b756a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005891a1b6c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005891a1b74a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005891a1b6b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005891a1b6b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005891a1b6b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005891a1b75fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005891a1b3e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005891a1d99e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005891a07b6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058919fb379f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058919fb292b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058919fb28523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058919fb28e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058919f47998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058919f4804ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058919f481f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e3b18e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e3b18f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_refcount.wasm /b/s/w/ir/x/t/emtest_dk7r_5ph/emscripten_temp_0ttzfavv/test_exceptions_refcount_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_dk7r_5ph/tmpllpu05h4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_refcount_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005f97b951dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f97b951b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f97b951e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007cdd7b842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007cdd7b8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007cdd7b8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007cdd7b8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007cdd7b842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007cdd7b8287f3 abort ./stdlib/abort.c:81:7
#9 0x00007cdd7b82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007cdd7b839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f97bbf9b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f97bbf92044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f97bbf9aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f97bbf91465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f97bbf9102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f97bbf91875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f97bbf9bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f97bbf6430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f97bc1bfe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f97babdc910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f97b9f5d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f97b9f4f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f97b9f4e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f97b9f4ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f97b989f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f97b98a64ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f97b98a7f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007cdd7b894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007cdd7b926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_resume.wasm /b/s/w/ir/x/t/emtest_gxjevzb1/emscripten_temp_rhwhs7sb/test_exceptions_resume_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_gxjevzb1/tmphhm6meghlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_resume_wasm_legacy (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_rethrow.wasm /b/s/w/ir/x/t/emtest_9q6le8l4/emscripten_temp_be4nmbjf/test_exceptions_rethrow_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_9q6le8l4/tmpqrku6gb_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_rethrow_wasm_legacy (test_core.thinltoz) ... FAIL
#0 0x000055a567eedd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055a567eeb7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055a567eee576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000070e747442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000070e7474969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000070e7474969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000070e7474969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000070e747442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000070e7474287f3 abort ./stdlib/abort.c:81:7
#9 0x000070e74742871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000070e747439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055a56a96b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055a56a962044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055a56a96aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055a56a961465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055a56a96102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055a56a961875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055a56a96bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055a56a93430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055a56ab8fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055a5695ac910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055a56892d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055a56891f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055a56891e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055a56891ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055a56826f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055a5682764ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055a568277f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000070e747494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000070e747526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_exceptions_multiple_inherit_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_simplify_cfg.wasm /b/s/w/ir/x/t/emtest_ve4lurfh/emscripten_temp_1jxmq78e/test_exceptions_simplify_cfg_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ve4lurfh/tmp2r_a3upxlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_exceptions_simplify_cfg_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
test_exceptions_multiple_inherit_rethrow_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_rethrow.wasm /b/s/w/ir/x/t/emtest_ic_kclr5/emscripten_temp_uxptaepq/test_exceptions_rethrow_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ic_kclr5/tmpkbvoa7j0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005a598f431d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a598f42f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a598f432576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078886d842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078886d8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078886d8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078886d8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078886d842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078886d8287f3 abort ./stdlib/abort.c:81:7
#9 0x000078886d82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078886d839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a5991eaf6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a5991ea6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a5991eaea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a5991ea5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a5991ea502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a5991ea5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a5991eaffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a5991e7830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a59920d3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a5990af0910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a598fe719f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a598fe632b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a598fe62523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a598fe62e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a598f7b398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a598f7ba4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a598f7bbf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078886d894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078886d926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_exceptions_rethrow_emscripten (test_core.thinltoz) ... FAIL
#0 0x00005c5806085d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c58060837b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c5806086576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075d0b4e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075d0b4e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075d0b4e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075d0b4e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075d0b4e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075d0b4e287f3 abort ./stdlib/abort.c:81:7
#9 0x000075d0b4e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075d0b4e39e96 (wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c5808b036a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c5808afa044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c5808b02a48PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c5808af9465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c5808af902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c5808af9875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c5808b03fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c5808acc30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c5808d27e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c5807744910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c5806ac59f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c5806ab72b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c5806ab6523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c5806ab6e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c580640798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c580640e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c580640ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075d0b4e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075d0b4f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions.wasm /b/s/w/ir/x/t/emtest_nt8mjlms/emscripten_temp_00_zpwqt/test_exceptions_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_nt8mjlms/tmp1th8jh5klibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_off (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_resume.wasm /b/s/w/ir/x/t/emtest_ilp6cjoc/emscripten_temp_qu83acwa/test_exceptions_resume_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ilp6cjoc/tmpmumgs9urlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_resume_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_multi_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
#0 0x00006062ebfc2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006062ebfc07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006062ebfc3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007de9b1442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007de9b14969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007de9b14969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007de9b14969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007de9b1442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007de9b14287f3 abort ./stdlib/abort.c:81:7
#9 0x00007de9b142871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007de9b1439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006062eea406a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006062eea37044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006062eea3fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006062eea36465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006062eea3602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006062eea36875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006062eea40fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006062eea0930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006062eec64e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006062ed681910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006062eca029f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006062ec9f42b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006062ec9f3523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006062ec9f3e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006062ec34498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006062ec34b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006062ec34cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007de9b1494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007de9b1526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_multiple_inherit.wasm /b/s/w/ir/x/t/emtest_hg06japz/emscripten_temp_sm9w2n0j/test_exceptions_multiple_inherit_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_hg06japz/tmp5im1fky1libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_primary.wasm /b/s/w/ir/x/t/emtest_oe9rc9ow/emscripten_temp_riw2_gol/test_exceptions_primary_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_oe9rc9ow/tmpl6zfbry8libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_multiple_inherit_wasm_legacy (test_core.thinltoz) ... FAIL
None
None
test_exceptions_primary_wasm_legacy (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_primary.wasm /b/s/w/ir/x/t/emtest_f3hasen0/emscripten_temp_2j73ya74/test_exceptions_primary_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_f3hasen0/tmp5ub8g46zlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_exceptions_primary_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_longjmp4_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
#0 0x00005c3dd8c90d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c3dd8c8e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c3dd8c91576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076b77ae42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076b77ae969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076b77ae969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076b77ae969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076b77ae42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076b77ae287f3 abort ./stdlib/abort.c:81:7
#9 0x000076b77ae2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076b77ae39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c3ddb70e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c3ddb705044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c3ddb70da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c3ddb704465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c3ddb70402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c3ddb704875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c3ddb70efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c3ddb6d730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c3ddb932e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c3dda34f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c3dd96d09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c3dd96c22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c3dd96c1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c3dd96c1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c3dd901298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c3dd90194ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c3dd901af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076b77ae94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076b77af26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_multiple_inherit.wasm /b/s/w/ir/x/t/emtest_0lxx1h85/emscripten_temp_5b1v0is0/test_exceptions_multiple_inherit_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_0lxx1h85/tmp3jtipdyulibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005bfa78329d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005bfa783277b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005bfa7832a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007cf667842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007cf6678969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007cf6678969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007cf6678969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007cf667842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007cf6678287f3 abort ./stdlib/abort.c:81:7
#9 0x00007cf66782871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007cf667839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005bfa7ada76a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005bfa7ad9e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005bfa7ada6a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005bfa7ad9d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005bfa7ad9d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005bfa7ad9d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005bfa7ada7fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005bfa7ad7030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005bfa7afcbe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005bfa799e8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005bfa78d699f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005bfa78d5b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005bfa78d5a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005bfa78d5ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005bfa786ab98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005bfa786b24ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005bfa786b3f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007cf667894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007cf667926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_exceptions_multiple_inherit_emscripten (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_multi.wasm /b/s/w/ir/x/t/emtest_p2kk6qhi/emscripten_temp_i1ayxw4p/test_exceptions_multi_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_p2kk6qhi/tmprea67bu0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_multi_wasm_legacy (test_core.thinltoz) ... FAIL
#0 0x000061b4d4923d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061b4d49217b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061b4d4924576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077e73b242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077e73b2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000077e73b2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000077e73b2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000077e73b242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000077e73b2287f3 abort ./stdlib/abort.c:81:7
#9 0x000077e73b22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000077e73b239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061b4d73a16a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061b4d7398044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061b4d73a0a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061b4d7397465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061b4d739702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061b4d7397875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061b4d73a1fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061b4d736a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061b4d75c5e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061b4d5fe2910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061b4d53639f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061b4d53552b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061b4d5354523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061b4d5354e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061b4d4ca598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061b4d4cac4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061b4d4cadf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000077e73b294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000077e73b326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_exceptions_longjmp3_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_multi.wasm /b/s/w/ir/x/t/emtest_egimun41/emscripten_temp_8re06rpl/test_exceptions_multi_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_egimun41/tmpebk5d7folibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_exceptions_multi_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000646a292a5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000646a292a37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000646a292a6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b0087a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b0087a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b0087a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b0087a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b0087a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b0087a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b0087a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b0087a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000646a2bd236a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000646a2bd1a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000646a2bd22a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000646a2bd19465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000646a2bd1902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000646a2bd19875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000646a2bd23fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000646a2bcec30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000646a2bf47e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000646a2a964910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000646a29ce59f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000646a29cd72b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000646a29cd6523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000646a29cd6e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000646a2962798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000646a2962e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000646a2962ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b0087a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b0087b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005c92647abd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c92647a97b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c92647ac576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007020dea42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007020dea969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007020dea969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007020dea969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007020dea42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007020dea287f3 abort ./stdlib/abort.c:81:7
#9 0x00007020dea2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007020dea39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c92672296a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c9267220044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c9267228a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c926721f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c926721f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c926721f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c9267229fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c92671f230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c926744de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c9265e6a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c92651eb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c92651dd2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c92651dc523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c92651dce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c9264b2d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c9264b344ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c9264b35f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007020dea94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007020deb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_longjmp4.wasm /b/s/w/ir/x/t/emtest_iijgx1oz/emscripten_temp_7btltfnu/test_exceptions_longjmp4_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_iijgx1oz/tmp7qp_fqcrlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_longjmp4_wasm_legacy (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_exceptions_longjmp2_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_longjmp4.wasm /b/s/w/ir/x/t/emtest_9y552bgp/emscripten_temp_p6p_tlbt/test_exceptions_longjmp4_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9y552bgp/tmphde0tc0ulibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005f34f31c8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f34f31c67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f34f31c9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000794685c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000794685c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000794685c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000794685c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000794685c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000794685c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000794685c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000794685c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f34f5c466a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f34f5c3d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f34f5c45a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f34f5c3c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f34f5c3c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f34f5c3c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f34f5c46fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f34f5c0f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f34f5e6ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f34f4887910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f34f3c089f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f34f3bfa2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f34f3bf9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f34f3bf9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f34f354a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f34f35514ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f34f3552f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000794685c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000794685d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_exceptions_longjmp4_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions.wasm /b/s/w/ir/x/t/emtest_cwl1dqts/emscripten_temp_rp0b0snl/test_exceptions_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cwl1dqts/tmpt07j3bwtlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_minimal_runtime (test_core.thinltoz) ... FAIL
test_exceptions_longjmp1_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
#0 0x000057fac9e21d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057fac9e1f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057fac9e22576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075f834842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075f8348969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075f8348969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075f8348969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075f834842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075f8348287f3 abort ./stdlib/abort.c:81:7
#9 0x000075f83482871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075f834839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057facc89f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057facc896044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057facc89ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057facc895465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057facc89502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057facc895875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057facc89ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057facc86830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057faccac3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057facb4e0910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057faca8619f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057faca8532b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057faca852523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057faca852e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057faca1a398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057faca1aa4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057faca1abf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075f834894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075f834926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005f3aa4a68d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f3aa4a667b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f3aa4a69576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000727c70642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000727c706969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000727c706969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000727c706969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000727c70642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000727c706287f3 abort ./stdlib/abort.c:81:7
#9 0x0000727c7062871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000727c70639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
#11 0x00005f3aa74e66a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f3aa74dd044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f3aa74e5a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#14 0x00005f3aa74dc465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f3aa74dc02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f3aa74dc875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f3aa74e6fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f3aa74af30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f3aa770ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f3aa6127910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f3aa54a89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f3aa549a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f3aa5499523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f3aa5499e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f3aa4dea98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f3aa4df14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f3aa4df2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000727c70694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000727c70726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_longjmp3.wasm /b/s/w/ir/x/t/emtest_wu4lawej/emscripten_temp_zq5t4exl/test_exceptions_longjmp3_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wu4lawej/tmpldk5kqzxlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_longjmp3.wasm /b/s/w/ir/x/t/emtest_10paakc5/emscripten_temp_787ri84a/test_exceptions_longjmp3_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_10paakc5/tmp5up9whxnlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_longjmp3_emscripten (test_core.thinltoz) ... FAIL
None
None
test_exceptions_longjmp3_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_libcxx_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
#0 0x000062718babed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000062718babc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000062718babf576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073f8e9442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073f8e94969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073f8e94969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073f8e94969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073f8e9442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073f8e94287f3 abort ./stdlib/abort.c:81:7
#9 0x000073f8e942871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073f8e9439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062718e53c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062718e533044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062718e53ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062718e532465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062718e53202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062718e532875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062718e53cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062718e50530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062718e760e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062718d17d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062718c4fe9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062718c4f02b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062718c4ef523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062718c4efe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062718be4098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062718be474ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062718be48f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073f8e9494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073f8e9526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000055a219341d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055a21933f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055a219342576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076ff9c442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076ff9c4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076ff9c4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076ff9c4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076ff9c442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076ff9c4287f3 abort ./stdlib/abort.c:81:7
#9 0x000076ff9c42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076ff9c439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055a21bdbf6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055a21bdb6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055a21bdbea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055a21bdb5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055a21bdb502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055a21bdb5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055a21bdbffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055a21bd8830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055a21bfe3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055a21aa00910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055a219d819f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055a219d732b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055a219d72523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055a219d72e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055a2196c398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055a2196ca4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055a2196cbf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076ff9c494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076ff9c526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_longjmp2.wasm /b/s/w/ir/x/t/emtest_6tgsln50/emscripten_temp_uigjtad3/test_exceptions_longjmp2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_6tgsln50/tmpjuczu6j4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_longjmp2.wasm /b/s/w/ir/x/t/emtest_yjte100l/emscripten_temp_nb9e81at/test_exceptions_longjmp2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_yjte100l/tmpop37aixplibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_longjmp2_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_exceptions_longjmp2_wasm_legacy (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
#0 0x00006210d1ef1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006210d1eef7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006210d1ef2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007338a5042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007338a50969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007338a50969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007338a50969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007338a5042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007338a50287f3 abort ./stdlib/abort.c:81:7
#9 0x00007338a502871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007338a5039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006210d496f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006210d4966044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006210d496ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006210d4965465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006210d496502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006210d4965875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006210d496ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006210d493830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006210d4b93e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006210d35b0910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006210d29319f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006210d29232b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006210d2922523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006210d2922e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006210d227398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006210d227a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006210d227bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007338a5094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007338a5126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
#0 0x0000586a8a8ced28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000586a8a8cc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000586a8a8cf576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c91c4a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c91c4a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c91c4a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c91c4a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c91c4a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c91c4a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c91c4a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c91c4a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000586a8d34c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000586a8d343044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000586a8d34ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000586a8d342465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000586a8d34202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000586a8d342875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000586a8d34cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000586a8d31530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000586a8d570e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000586a8bf8d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000586a8b30e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000586a8b3002b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000586a8b2ff523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000586a8b2ffe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000586a8ac5098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000586a8ac574ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000586a8ac58f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c91c4a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c91c4b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_multiple_inherit_rethrow.wasm /b/s/w/ir/x/t/emtest_bddjbuzt/emscripten_temp_2hdqygjt/test_exceptions_multiple_inherit_rethrow_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_bddjbuzt/tmpd_4cbugzlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_longjmp1.wasm /b/s/w/ir/x/t/emtest_kokleg11/emscripten_temp_5rkijtlu/test_exceptions_longjmp1_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_kokleg11/tmpus4w8zyelibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_multiple_inherit_rethrow_wasm_legacy (test_core.thinltoz) ... FAIL
None
None
test_exceptions_longjmp1_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_destroy_virtual_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_multiple_inherit_rethrow.wasm /b/s/w/ir/x/t/emtest_w7dh_dkr/emscripten_temp_isbv9c76/test_exceptions_multiple_inherit_rethrow_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_w7dh_dkr/tmp0vpp_g4nlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_longjmp1.wasm /b/s/w/ir/x/t/emtest_vo75h236/emscripten_temp_13rvjh8c/test_exceptions_longjmp1_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_vo75h236/tmpyz821faelibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_longjmp1_wasm_legacy (test_core.thinltoz) ... FAIL
None
None
test_exceptions_multiple_inherit_rethrow_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_custom_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005ec3e44a2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ec3e44a07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ec3e44a3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a8d81e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a8d81e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a8d81e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a8d81e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a8d81e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a8d81e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a8d81e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a8d81e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ec3e6f206a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ec3e6f17044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ec3e6f1fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ec3e6f16465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ec3e6f1602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ec3e6f16875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ec3e6f20fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ec3e6ee930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ec3e7144e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ec3e5b61910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ec3e4ee29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ec3e4ed42b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ec3e4ed3523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ec3e4ed3e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ec3e482498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ec3e482b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ec3e482cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a8d81e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a8d81f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions.wasm /b/s/w/ir/x/t/emtest_6ylgfpt_/emscripten_temp_e0slmswr/test_exceptions_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_6ylgfpt_/tmpyzaad_z2libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_convert_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_libcxx.wasm /b/s/w/ir/x/t/emtest_2omjzduc/emscripten_temp_zmlcr4rv/test_exceptions_libcxx_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_2omjzduc/tmpqkfg65hxlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_exceptions_libcxx_wasm_legacy (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_libcxx.wasm /b/s/w/ir/x/t/emtest_evpcj7vv/emscripten_temp_3uzqgkr5/test_exceptions_libcxx_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_evpcj7vv/tmprl1zh0rwlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_destroy_virtual.wasm /b/s/w/ir/x/t/emtest__56eqteu/emscripten_temp_v8ltabnc/test_exceptions_destroy_virtual_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest__56eqteu/tmpr1v13b5tlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_libcxx_emscripten (test_core.thinltoz) ... FAIL
None
None
test_exceptions_destroy_virtual_wasm_legacy (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_destroy_virtual.wasm /b/s/w/ir/x/t/emtest_g4w7zlco/emscripten_temp_pfa1u15s/test_exceptions_destroy_virtual_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_g4w7zlco/tmpc_ttj65rlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
None
None
test_exceptions_destroy_virtual_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_ycg5oi5s/emscripten_temp_whayz2vw/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_ycg5oi5s/tmp1b9sxb6flibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_convert.wasm /b/s/w/ir/x/t/emtest_i7i7vill/emscripten_temp_7mz3l2_2/test_exceptions_convert_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_i7i7vill/tmpq3ipp_1tlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_custom_wasm_legacy (test_core.thinltoz) ... FAIL
None
None
test_exceptions_convert_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_alias_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_9q4rqrh9/emscripten_temp__gdqehj7/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9q4rqrh9/tmpsegykp2jlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_custom_emscripten (test_core.thinltoz) ... FAIL
0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_exceptions_allowed_misuse (test_core.thinltoz) ... ok (1.24s)
test_exceptions_3_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_convert.wasm /b/s/w/ir/x/t/emtest_1521gf9n/emscripten_temp_a5zu00oa/test_exceptions_convert_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1521gf9n/tmpo4pxumvylibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_exceptions_convert_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000059431b031d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000059431b02f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059431b032576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000070e9a0842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000070e9a08969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000070e9a08969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000070e9a08969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000070e9a0842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000070e9a08287f3 abort ./stdlib/abort.c:81:7
#9 0x000070e9a082871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000070e9a0839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059431daaf6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000059431daa6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000059431daaea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000059431daa5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000059431daa502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000059431daa5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000059431daaffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059431da7830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059431dcd3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059431c6f0910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000059431ba719f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000059431ba632b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000059431ba62523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000059431ba62e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059431b3b398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000059431b3ba4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000059431b3bbf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000070e9a0894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000070e9a0926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000061fcb7751d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061fcb774f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061fcb7752576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d087a842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d087a8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d087a8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d087a8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d087a842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d087a8287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d087a82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d087a839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061fcba1cf6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000061fcba1c6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061fcba1cea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000061fcba1c5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061fcba1c502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000061fcba1c5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061fcba1cffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061fcba19830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061fcba3f3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061fcb8e10910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061fcb81919f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061fcb81832b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061fcb8182523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061fcb8182e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061fcb7ad398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061fcb7ada4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061fcb7adbf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d087a894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d087a926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_alias.wasm /b/s/w/ir/x/t/emtest_9wyoa8ux/emscripten_temp_6evgawaw/test_exceptions_alias_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9wyoa8ux/tmp9gc3xe9olibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_alias.wasm /b/s/w/ir/x/t/emtest_gapbjfn4/emscripten_temp_v6f8b4ys/test_exceptions_alias_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_gapbjfn4/tmp56wiohftlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_alias_emscripten (test_core.thinltoz) ... FAIL
#0 0x0000561322345d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005613223437b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000561322346576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fc84c042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007fc84c0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007fc84c0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007fc84c0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007fc84c042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007fc84c0287f3 abort ./stdlib/abort.c:81:7
#9 0x00007fc84c02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007fc84c039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000561324dc36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000561324dba044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000561324dc2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000561324db9465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000561324db902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000561324db9875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000561324dc3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000561324d8c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000561324fe7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000561323a04910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000561322d859f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000561322d772b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000561322d76523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000561322d76e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005613226c798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005613226ce4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005613226cff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007fc84c094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007fc84c126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_exceptions_2_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
None
None
test_exceptions_alias_wasm_legacy (test_core.thinltoz) ... FAIL
0
#0 0x00005b21b64b4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b21b64b27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b21b64b5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000782429442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007824294969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007824294969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007824294969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000782429442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007824294287f3 abort ./stdlib/abort.c:81:7
#9 0x000078242942871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000782429439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b21b8f326a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b21b8f29044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b21b8f31a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b21b8f28465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b21b8f2802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b21b8f28875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b21b8f32fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b21b8efb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b21b9156e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b21b7b73910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b21b6ef49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b21b6ee62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b21b6ee5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b21b6ee5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b21b683698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b21b683d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b21b683ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000782429494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000782429526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_allowed_2.wasm /b/s/w/ir/x/t/emtest_lcjmz3ww/emscripten_temp_mlcktcdr/test_exceptions_allowed_2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -emscripten-cxx-exceptions-allowed=main,__original_main,__main_argc_argv -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_lcjmz3ww/tmpxgboeedglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_allowed_2 (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_allowed.wasm /b/s/w/ir/x/t/emtest_gssw8s76/emscripten_temp_e_kjgt4k/test_exceptions_allowed_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -emscripten-cxx-exceptions-allowed=_Z12somefunctionv -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_gssw8s76/tmpflj65504libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_allowed (test_core.thinltoz) ... FAIL
test_eval_ctors_standalone (test_core.thinltoz) ... skipped 'need opts'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000058f21a2a1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058f21a29f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058f21a2a2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e8e87642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e8e876969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e8e876969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e8e876969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e8e87642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e8e876287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e8e8762871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e8e87639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058f21cd1f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058f21cd16044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058f21cd1ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058f21cd15465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058f21cd1502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058f21cd15875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058f21cd1ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058f21cce830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058f21cf43e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058f21b960910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058f21ace19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058f21acd32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058f21acd2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058f21acd2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058f21a62398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058f21a62a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058f21a62bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e8e87694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e8e87726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_2.wasm /b/s/w/ir/x/t/emtest_z4xie_on/emscripten_temp_ebemgbub/test_exceptions_2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_z4xie_on/tmp_efjw8bilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_2_wasm_legacy (test_core.thinltoz) ... FAIL
test_eval_ctors (test_core.thinltoz) ... skipped 'need opts'
test_esm_integration_main_imported_memory (test_core.thinltoz) ... skipped 'test requires node canary and EMTEST_SKIP_NODE_CANARY is set'
test_esm_integration_main (test_core.thinltoz) ... skipped 'test requires node canary and EMTEST_SKIP_NODE_CANARY is set'
test_esm_integration (test_core.thinltoz) ... skipped 'test requires node canary and EMTEST_SKIP_NODE_CANARY is set'
engine: ['/b/s/w/ir/cache/builder/emscripten-releases/node-v22.16.0-linux-x64/bin/node']
ENVIRONMENT = node
#0 0x000063c891706d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063c8917047b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063c891707576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007283d6042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007283d60969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007283d60969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007283d60969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007283d6042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007283d60287f3 abort ./stdlib/abort.c:81:7
#9 0x00007283d602871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007283d6039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063c8941846a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063c89417b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063c894183a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063c89417a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063c89417a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063c89417a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063c894184fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063c89414d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063c8943a8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063c892dc5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063c8921469f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063c8921382b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063c892137523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063c892137e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063c891a8898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063c891a8f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063c891a90f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007283d6094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007283d6126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_2.wasm /b/s/w/ir/x/t/emtest_au4kb69g/emscripten_temp_dk6l571p/test_exceptions_2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_au4kb69g/tmppv3lmzvglibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_2_emscripten (test_core.thinltoz) ... FAIL
env_modify: {'LANG': 'en_US.UTF-8'}
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_exceptions_allowed_uncaught.wasm /b/s/w/ir/x/t/emtest_ntpok6j6/emscripten_temp_ad7_fr2a/test_exceptions_allowed_uncaught_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -emscripten-cxx-exceptions-allowed=_Z4testv -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ntpok6j6/tmpy10cquzolibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_allowed_uncaught (test_core.thinltoz) ... FAIL
env_modify: {'LANG': 'en_US.UTF-8'}
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005ba3951ead28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ba3951e87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ba3951eb576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000797479c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000797479c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000797479c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000797479c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000797479c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000797479c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000797479c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000797479c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ba397c686a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ba397c5f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ba397c67a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ba397c5e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ba397c5e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ba397c5e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ba397c68fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ba397c3130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ba397e8ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ba3968a9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ba395c2a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ba395c1c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ba395c1b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ba395c1be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ba39556c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ba3955734ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ba395574f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000797479c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000797479d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ctors_no_main.wasm /b/s/w/ir/x/t/emtest_adwy21rz/emscripten_temp_f3ocjqb0/test_ctors_no_main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_adwy21rz/tmpyqqyax4vlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_eval_ctors_no_main (test_core.thinltoz) ... FAIL
#0 0x00005e782f4b8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e782f4b67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e782f4b9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007bb7f4a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007bb7f4a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007bb7f4a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007bb7f4a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007bb7f4a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007bb7f4a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007bb7f4a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007bb7f4a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e7831f366a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e7831f2d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e7831f35a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e7831f2c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e7831f2c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e7831f2c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e7831f36fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e7831eff30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e783215ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e7830b77910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e782fef89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e782feea2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e782fee9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e782fee9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e782f83a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e782f8414ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e782f842f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007bb7f4a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007bb7f4b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_environ.wasm /b/s/w/ir/x/t/emtest_h5vxr0bm/emscripten_temp_ev8ihkco/test_environ_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_h5vxr0bm/tmpq5lmas4ilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
None
None
test_environ (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_go3mrzs9/emscripten_temp_ldiue27i/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_go3mrzs9/tmp9lzjv69plibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_exceptions_3_wasm_legacy (test_core.thinltoz) ... FAIL
#0 0x00005d8b3ce62d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d8b3ce607b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d8b3ce63576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d03d1e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d03d1e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d03d1e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d03d1e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d03d1e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d03d1e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d03d1e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d03d1e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d8b3f8e06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d8b3f8d7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d8b3f8dfa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d8b3f8d6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d8b3f8d602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d8b3f8d6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d8b3f8e0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d8b3f8a930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d8b3fb04e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d8b3e521910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d8b3d8a29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d8b3d8942b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d8b3d893523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d8b3d893e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d8b3d1e498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d8b3d1eb4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d8b3d1ecf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d03d1e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d03d1f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
building:INFO: ctor_evaller: trying to eval global ctors (--ctors=_initialize --kept-exports=_initialize)
building:INFO:
trying to eval _initialize
...stopping (in block) since could not eval: call import: wasi_snapshot_preview1.fd_write
recommendation: consider --ignore-external-input
...stopping
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_hello_world.wasm /b/s/w/ir/x/t/emtest_yxm5kzjt/emscripten_temp__ap6xs_m/test_hello_world_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_yxm5kzjt/tmpo_9xbxd5libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000059e03a01cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000059e03a01a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059e03a01d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075f7d8042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075f7d80969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075f7d80969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075f7d80969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075f7d8042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075f7d80287f3 abort ./stdlib/abort.c:81:7
#9 0x000075f7d802871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075f7d8039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059e03ca9a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000059e03ca91044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000059e03ca99a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000059e03ca90465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000059e03ca9002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000059e03ca90875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000059e03ca9afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059e03ca6330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059e03ccbee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059e03b6db910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000059e03aa5c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000059e03aa4e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000059e03aa4d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000059e03aa4de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059e03a39e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000059e03a3a54ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000059e03a3a6f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075f7d8094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075f7d8126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_environment (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_78kijxxj/emscripten_temp_948qgfru/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_78kijxxj/tmp9uc0kp7vlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_env.wasm /b/s/w/ir/x/t/emtest_66upnjp4/emscripten_temp_lw6v9x74/test_env_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_66upnjp4/tmp0hodd5h_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_exceptions_3_emscripten (test_core.thinltoz) ... FAIL
None
None
test_env (test_core.thinltoz) ... FAIL
test_exception_sjlj_options (test_core.thinltoz) ... ok (4.12s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000059ae1091bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000059ae109197b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059ae1091c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007deac6a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007deac6a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007deac6a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007deac6a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007deac6a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007deac6a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007deac6a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007deac6a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059ae133996a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000059ae13390044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000059ae13398a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000059ae1338f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000059ae1338f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000059ae1338f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000059ae13399fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059ae1336230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059ae135bde76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059ae11fda910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000059ae1135b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000059ae1134d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000059ae1134c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000059ae1134ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059ae10c9d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000059ae10ca44ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000059ae10ca5f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007deac6a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007deac6b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00006548b90e3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006548b90e17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006548b90e4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007cbf7fc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007cbf7fc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007cbf7fc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007cbf7fc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007cbf7fc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007cbf7fc287f3 abort ./stdlib/abort.c:81:7
#9 0x00007cbf7fc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007cbf7fc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006548bbb616a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006548bbb58044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006548bbb60a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006548bbb57465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006548bbb5702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006548bbb57875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006548bbb61fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006548bbb2a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006548bbd85e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006548ba7a2910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006548b9b239f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006548b9b152b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006548b9b14523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006548b9b14e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006548b946598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006548b946c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006548b946df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007cbf7fc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007cbf7fd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emulate_function_pointer_casts.wasm /b/s/w/ir/x/t/emtest_j3n3ux4g/emscripten_temp_2l7ncrvj/test_emulate_function_pointer_casts_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_j3n3ux4g/tmpzvi0mge_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_jo8xrk8y/emscripten_temp_t8_id0ti/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_jo8xrk8y/tmp5hnvn9b6libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000057fbcb428d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057fbcb4267b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057fbcb429576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072a305242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072a3052969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072a3052969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072a3052969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072a305242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072a3052287f3 abort ./stdlib/abort.c:81:7
#9 0x000072a30522871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072a305239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057fbcdea66a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057fbcde9d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057fbcdea5a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057fbcde9c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057fbcde9c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057fbcde9c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057fbcdea6fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057fbcde6f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057fbce0cae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057fbccae7910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057fbcbe689f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057fbcbe5a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057fbcbe59523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057fbcbe59e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057fbcb7aa98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057fbcb7b14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057fbcb7b2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072a305294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072a305326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_emulate_function_pointer_casts (test_core.thinltoz) ... FAIL
#0 0x00005b0163440d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b016343e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b0163441576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007078e8e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007078e8e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007078e8e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007078e8e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007078e8e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007078e8e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007078e8e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007078e8e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b0165ebe6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b0165eb5044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b0165ebda48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b0165eb4465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b0165eb402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b0165eb4875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b0165ebefbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b0165e8730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b01660e2e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b0164aff910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b0163e809f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b0163e722b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b0163e71523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b0163e71e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b01637c298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b01637c94ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b01637caf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007078e8e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007078e8f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_emscripten_run_script_string_utf8 (test_core.thinltoz) ... FAIL
#0 0x00005c07fbb2ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c07fbb287b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c07fbb2b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076ec1d642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076ec1d6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076ec1d6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076ec1d6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076ec1d642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076ec1d6287f3 abort ./stdlib/abort.c:81:7
#9 0x000076ec1d62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076ec1d639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c07fe5a86a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c07fe59f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c07fe5a7a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c07fe59e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c07fe59e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c07fe59e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c07fe5a8fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c07fe57130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c07fe7cce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c07fd1e9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c07fc56a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c07fc55c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c07fc55b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c07fc55be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c07fbeac98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c07fbeb34ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c07fbeb4f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076ec1d694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076ec1d726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005d749b42fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d749b42d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d749b430576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000754f89642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000754f896969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000754f896969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000754f896969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000754f89642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000754f896287f3 abort ./stdlib/abort.c:81:7
#9 0x0000754f8962871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000754f89639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d749dead6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d749dea4044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d749deaca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d749dea3465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d749dea302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d749dea3875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d749deadfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d749de7630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d749e0d1e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d749caee910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d749be6f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d749be612b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d749be60523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d749be60e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d749b7b198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d749b7b84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d749b7b9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000754f89694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000754f89726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_stack_get_free.wasm /b/s/w/ir/x/t/emtest_2r7iv71w/emscripten_temp_s6mm32ek/test_stack_get_free_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_2r7iv71w/tmpiuhwbeqylibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=4194304 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_az1yeysv/emscripten_temp_5vt18386/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_az1yeysv/tmp96l1bemmlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_emscripten_stack (test_core.thinltoz) ... FAIL
None
None
test_emscripten_run_script_string_null (test_core.thinltoz) ... FAIL
common:WARNING: no wasm engine was found to run the standalone part of this test
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emscripten_math.wasm /b/s/w/ir/x/t/emtest_veg4nq_a/emscripten_temp_1_71fab5/test_emscripten_math_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_veg4nq_a/tmphqcq8b6slibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_emscripten_math (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_jq9oqcvc/emscripten_temp_f1a1eut_/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_jq9oqcvc/tmp097y6yualibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_emscripten_run_script_string_int (test_core.thinltoz) ... FAIL
test_eval_ctors_no_main_standalone (test_core.thinltoz) ... ok (5.95s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005c474a55ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c474a55c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c474a55f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007204ac242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007204ac2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007204ac2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007204ac2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007204ac242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007204ac2287f3 abort ./stdlib/abort.c:81:7
#9 0x00007204ac22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007204ac239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c474cfdc6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c474cfd3044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c474cfdba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c474cfd2465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c474cfd202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c474cfd2875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c474cfdcfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c474cfa530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c474d200e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c474bc1d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c474af9e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c474af902b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c474af8f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c474af8fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c474a8e098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c474a8e74ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c474a8e8f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007204ac294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007204ac326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emscripten_log.wasm /b/s/w/ir/x/t/emtest_ae0au93k/emscripten_temp_w3l1xrqz/test_emscripten_log_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ae0au93k/tmptqowod4slibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x0000608bcbca9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000608bcbca77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000608bcbcaa576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078da9f042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078da9f0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078da9f0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078da9f0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078da9f042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078da9f0287f3 abort ./stdlib/abort.c:81:7
#9 0x000078da9f02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078da9f039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000608bce7276a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000608bce71e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000608bce726a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000608bce71d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000608bce71d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000608bce71d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000608bce727fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000608bce6f030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000608bce94be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000608bcd368910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000608bcc6e99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000608bcc6db2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000608bcc6da523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000608bcc6dae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000608bcc02b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000608bcc0324ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000608bcc033f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078da9f094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078da9f126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_emscripten_log_bigint (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emscripten_log.wasm /b/s/w/ir/x/t/emtest_8eywgle0/emscripten_temp_0ltsxyjf/test_emscripten_log_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8eywgle0/tmpn_ow8osdlibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005b6c13eead28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b6c13ee87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b6c13eeb576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000772630e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000772630e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000772630e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000772630e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000772630e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000772630e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000772630e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000772630e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b6c169686a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b6c1695f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b6c16967a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b6c1695e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b6c1695e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b6c1695e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b6c16968fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b6c1693130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b6c16b8ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b6c155a9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b6c1492a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b6c1491c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b6c1491b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b6c1491be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b6c1426c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b6c142734ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b6c14274f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000772630e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000772630f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_emscripten_log (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005bcd476fed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005bcd476fc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005bcd476ff576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007271a5e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007271a5e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007271a5e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007271a5e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007271a5e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007271a5e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007271a5e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007271a5e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005bcd4a17c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005bcd4a173044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005bcd4a17ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005bcd4a172465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005bcd4a17202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005bcd4a172875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005bcd4a17cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005bcd4a14530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005bcd4a3a0e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005bcd48dbd910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005bcd4813e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005bcd481302b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005bcd4812f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005bcd4812fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005bcd47a8098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005bcd47a874ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005bcd47a88f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007271a5e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007271a5f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_xwpe8hb0/emscripten_temp_wah7jgal/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xwpe8hb0/tmpimje9c94libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_emscripten_has_asyncify (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emscripten_get_now.wasm /b/s/w/ir/x/t/emtest_ncmtqwk4/emscripten_temp_ln6rbrv8/test_emscripten_get_now_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ncmtqwk4/tmpmcegodcolibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x0000574f4189fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000574f4189d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000574f418a0576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000734ae6e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000734ae6e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000734ae6e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000734ae6e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000734ae6e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000734ae6e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000734ae6e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000734ae6e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000574f4431d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000574f44314044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000574f4431ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000574f44313465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000574f4431302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000574f44313875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000574f4431dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000574f442e630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000574f44541e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000574f42f5e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000574f422df9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000574f422d12b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000574f422d0523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000574f422d0e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000574f41c2198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000574f41c284ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000574f41c29f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000734ae6e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000734ae6f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_emscripten_get_now (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o emscripten_lazy_load_code.wasm /b/s/w/ir/x/t/emtest_7hmpwxdl/emscripten_temp_v31oe2ww/emscripten_lazy_load_code_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -lemmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_7hmpwxdl/tmpe95l3urtlibemscripten_js_symbols.so --import-memory -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000056695a593d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056695a5917b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056695a594576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000708fea442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000708fea4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000708fea4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000708fea4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000708fea442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000708fea4287f3 abort ./stdlib/abort.c:81:7
#9 0x0000708fea42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000708fea439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056695d0116a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056695d008044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056695d010a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056695d007465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056695d00702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056695d007875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056695d011fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056695cfda30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056695d235e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056695bc52910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056695afd39f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056695afc52b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056695afc4523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056695afc4e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056695a91598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056695a91c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056695a91df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000708fea494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000708fea526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_emscripten_lazy_load_code_conditional (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o emscripten_lazy_load_code.wasm /b/s/w/ir/x/t/emtest_idgz2xkl/emscripten_temp_u9bxfi5o/emscripten_lazy_load_code_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -lemmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_idgz2xkl/tmpjc92dt56libemscripten_js_symbols.so --import-memory -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000055f402889d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055f4028877b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055f40288a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076eff4642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076eff46969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076eff46969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076eff46969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076eff4642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076eff46287f3 abort ./stdlib/abort.c:81:7
#9 0x000076eff462871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076eff4639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055f4053076a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055f4052fe044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055f405306a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055f4052fd465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055f4052fd02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055f4052fd875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055f405307fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055f4052d030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055f40552be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055f403f48910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055f4032c99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055f4032bb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055f4032ba523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055f4032bae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055f402c0b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055f402c124ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055f402c13f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076eff4694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076eff4726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_emscripten_lazy_load_code (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
#0 0x000060211585cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060211585a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060211585d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079bfd0a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079bfd0a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000079bfd0a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000079bfd0a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000079bfd0a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000079bfd0a287f3 abort ./stdlib/abort.c:81:7
#9 0x000079bfd0a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000079bfd0a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006021182da6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006021182d1044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006021182d9a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006021182d0465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006021182d002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006021182d0875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006021182dafbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006021182a330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006021184fee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000602116f1b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060211629c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060211628e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060211628d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060211628de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000602115bde98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000602115be54ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000602115be6f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000079bfd0a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000079bfd0b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o emscripten_get_compiler_setting.wasm /b/s/w/ir/x/t/emtest_ujah8emu/emscripten_temp_4k91fj3s/emscripten_get_compiler_setting_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ujah8emu/tmp0704krttlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_emscripten_get_compiler_setting (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o emscripten_futexes.wasm /b/s/w/ir/x/t/emtest_hhv8tapa/emscripten_temp_xv69euxj/emscripten_futexes_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_hhv8tapa/tmpu8do2k86libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emscripten_scan_registers.wasm /b/s/w/ir/x/t/emtest_fjar7gh5/emscripten_temp_6scb60_j/test_emscripten_scan_registers_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_fjar7gh5/tmp3_ny6q6qlibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
None
None
test_emscripten_futexes (test_core.thinltoz) ... FAIL
test_emmalloc_trim (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/23343'
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000558e2970fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000558e2970d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000558e29710576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b184cc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b184cc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b184cc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b184cc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b184cc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b184cc287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b184cc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b184cc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000558e2c18d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000558e2c184044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000558e2c18ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000558e2c183465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000558e2c18302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000558e2c183875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000558e2c18dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000558e2c15630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000558e2c3b1e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000558e2adce910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000558e2a14f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000558e2a1412b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000558e2a140523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000558e2a140e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000558e29a9198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000558e29a984ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000558e29a99f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b184cc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b184cd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_emscripten_scan_registers (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o emscripten_atomics.wasm /b/s/w/ir/x/t/emtest_ra5wfzx8/emscripten_temp_hkb5100i/emscripten_atomics_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ra5wfzx8/tmpund3hphmlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_emscripten_atomics_stub (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o emscripten_atomics.wasm /b/s/w/ir/x/t/emtest_8bnw97r0/emscripten_temp_txtd9_di/emscripten_atomics_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8bnw97r0/tmpkwmrm080libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_emscripten_atomics (test_core.thinltoz) ... FAIL
test_emmalloc_memory_statistics (test_core.thinltoz) ... skipped 'output is sensitive to optimization flags, so only test unoptimized builds'
#0 0x00006245b4cd1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006245b4ccf7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006245b4cd2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000743700442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007437004969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007437004969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007437004969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000743700442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007437004287f3 abort ./stdlib/abort.c:81:7
#9 0x000074370042871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000743700439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006245b774f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006245b7746044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006245b774ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006245b7745465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006245b774502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006245b7745875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006245b774ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006245b771830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006245b7973e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006245b6390910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006245b57119f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006245b57032b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006245b5702523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006245b5702e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006245b505398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006245b505a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006245b505bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000743700494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000743700526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emscripten_async_call.wasm /b/s/w/ir/x/t/emtest_5e7fegp1/emscripten_temp_degkc66_/test_emscripten_async_call_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5e7fegp1/tmpg_os985zlibemscripten_js_symbols.so --strip-debug --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000057d21366dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057d21366b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057d21366e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071a14ac42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071a14ac969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071a14ac969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071a14ac969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071a14ac42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071a14ac287f3 abort ./stdlib/abort.c:81:7
#9 0x000071a14ac2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071a14ac39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057d2160eb6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057d2160e2044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057d2160eaa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057d2160e1465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057d2160e102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057d2160e1875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057d2160ebfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057d2160b430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057d21630fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057d214d2c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057d2140ad9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057d21409f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057d21409e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057d21409ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057d2139ef98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057d2139f64ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057d2139f7f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071a14ac94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071a14ad26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_emscripten_async_call (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emscripten_async_load_script.wasm /b/s/w/ir/x/t/emtest_i0jjduv9/emscripten_temp_skyp_r6q/test_emscripten_async_load_script_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_i0jjduv9/tmpa_sk14f2libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000062afb5798d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000062afb57967b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000062afb5799576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079c937642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079c9376969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000079c9376969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000079c9376969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000079c937642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000079c9376287f3 abort ./stdlib/abort.c:81:7
#9 0x000079c93762871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000079c937639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062afb82166a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062afb820d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062afb8215a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062afb820c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062afb820c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062afb820c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062afb8216fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062afb81df30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062afb843ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062afb6e57910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062afb61d89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062afb61ca2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062afb61c9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062afb61c9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062afb5b1a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062afb5b214ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062afb5b22f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000079c937694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000079c937726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_emscripten_async_load_script (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_malloc_usable_size.wasm /b/s/w/ir/x/t/emtest__8adsve7/emscripten_temp_7xic_h82/test_malloc_usable_size_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -lemmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__8adsve7/tmpucr3sp22libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_emmalloc_usable_size (test_core.thinltoz) ... FAIL
#0 0x000055bd5f232d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055bd5f2307b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055bd5f233576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007beb5b242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007beb5b2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007beb5b2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007beb5b2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007beb5b242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007beb5b2287f3 abort ./stdlib/abort.c:81:7
#9 0x00007beb5b22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007beb5b239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055bd61cb06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055bd61ca7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055bd61cafa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055bd61ca6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055bd61ca602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055bd61ca6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055bd61cb0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055bd61c7930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055bd61ed4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055bd608f1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055bd5fc729f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055bd5fc642b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055bd5fc63523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055bd5fc63e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055bd5f5b498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055bd5f5bb4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055bd5f5bcf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007beb5b294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007beb5b326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000645a1f2fdd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000645a1f2fb7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000645a1f2fe576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000725cea842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000725cea8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000725cea8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000725cea8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000725cea842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000725cea8287f3 abort ./stdlib/abort.c:81:7
#9 0x0000725cea82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000725cea839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000645a21d7b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000645a21d72044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000645a21d7aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000645a21d71465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000645a21d7102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000645a21d71875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000645a21d7bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000645a21d4430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000645a21f9fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000645a209bc910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000645a1fd3d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000645a1fd2f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000645a1fd2e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000645a1fd2ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000645a1f67f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000645a1f6864ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000645a1f687f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000725cea894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000725cea926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emscripten_api.wasm /b/s/w/ir/x/t/emtest_9a3a0ixt/emscripten_temp_aaroa49l/test_emscripten_api_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9a3a0ixt/tmpeu035296libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=save_me_aimee --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_emscripten_api (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emmalloc_memalign_corruption.wasm /b/s/w/ir/x/t/emtest_mlzzonef/emscripten_temp_y9es3yr6/test_emmalloc_memalign_corruption_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -lemmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mlzzonef/tmpyzv13gkrlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_emmalloc_memalign_corruption (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000650116363d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006501163617b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000650116364576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e7ca4842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e7ca48969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e7ca48969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e7ca48969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e7ca4842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e7ca48287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e7ca482871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e7ca4839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000650118de16a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000650118dd8044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000650118de0a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000650118dd7465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000650118dd702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000650118dd7875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000650118de1fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000650118daa30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000650119005e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000650117a22910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000650116da39f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000650116d952b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000650116d94523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000650116d94e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006501166e598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006501166ec4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006501166edf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e7ca4894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e7ca4926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000057d97cbbdd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057d97cbbb7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057d97cbbe576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000792f0e042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000792f0e0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000792f0e0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000792f0e0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000792f0e042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000792f0e0287f3 abort ./stdlib/abort.c:81:7
#9 0x0000792f0e02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000792f0e039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057d97f63b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057d97f632044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057d97f63aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057d97f631465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057d97f63102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057d97f631875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057d97f63bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057d97f60430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057d97f85fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057d97e27c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057d97d5fd9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057d97d5ef2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057d97d5ee523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057d97d5eee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057d97cf3f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057d97cf464ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057d97cf47f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000792f0e094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000792f0e126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000592471e52d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000592471e507b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000592471e53576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000758856442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007588564969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007588564969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007588564969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000758856442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007588564287f3 abort ./stdlib/abort.c:81:7
#9 0x000075885642871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000758856439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005924748d06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005924748c7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005924748cfa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005924748c6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005924748c602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005924748c6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005924748d0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059247489930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000592474af4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000592473511910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005924728929f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005924728842b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000592472883523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000592472883e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005924721d498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005924721db4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005924721dcf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000758856494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000758856526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emmalloc.wasm /b/s/w/ir/x/t/emtest_wj0uzucn/emscripten_temp_32_lc7x7/test_emmalloc_0.o /b/s/w/ir/x/t/emtest_wj0uzucn/emscripten_temp_32_lc7x7/sbrk_1.o /b/s/w/ir/x/t/emtest_wj0uzucn/emscripten_temp_32_lc7x7/emmalloc_2.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wj0uzucn/tmpbz2vsgkllibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_emmalloc_memvalidate_verbose (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emmalloc.wasm /b/s/w/ir/x/t/emtest_6r8p1qbx/emscripten_temp_0owao0ug/test_emmalloc_0.o /b/s/w/ir/x/t/emtest_6r8p1qbx/emscripten_temp_0owao0ug/sbrk_1.o /b/s/w/ir/x/t/emtest_6r8p1qbx/emscripten_temp_0owao0ug/emmalloc_2.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_6r8p1qbx/tmpth561npclibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_emmalloc.wasm /b/s/w/ir/x/t/emtest_29z4wsjz/emscripten_temp_j8ctzuoz/test_emmalloc_0.o /b/s/w/ir/x/t/emtest_29z4wsjz/emscripten_temp_j8ctzuoz/sbrk_1.o /b/s/w/ir/x/t/emtest_29z4wsjz/emscripten_temp_j8ctzuoz/emmalloc_2.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_29z4wsjz/tmpw0hse6sjlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_emmalloc_normal (test_core.thinltoz) ... FAIL
None
None
test_emmalloc_memvalidate (test_core.thinltoz) ... FAIL
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libembind-ww-rtti.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libembind-ww-rtti.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000062debb80bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000062debb8097b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000062debb80c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fe09da42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007fe09da969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007fe09da969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007fe09da969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007fe09da42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007fe09da287f3 abort ./stdlib/abort.c:81:7
#9 0x00007fe09da2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007fe09da39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062debe2896a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062debe280044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062debe288a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062debe27f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062debe27f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062debe27f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062debe289fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062debe25230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062debe4ade76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062debceca910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062debc24b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062debc23d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062debc23c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062debc23ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062debbb8d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062debbb944ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062debbb95f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007fe09da94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007fe09db26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000557e15041d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000557e1503f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000557e15042576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d484b442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d484b4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d484b4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d484b4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d484b442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d484b4287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d484b42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d484b439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000557e17abf6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000557e17ab6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000557e17abea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000557e17ab5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000557e17ab502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000557e17ab5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000557e17abffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000557e17a8830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000557e17ce3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000557e16700910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000557e15a819f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000557e15a732b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000557e15a72523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000557e15a72e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000557e153c398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000557e153ca4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000557e153cbf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d484b494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d484b526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_val_read_pointer.wasm /b/s/w/ir/x/t/emtest_oi_q8c2s/emscripten_temp_jzdkds3v/test_val_read_pointer_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_oi_q8c2s/tmpkonwdj0klibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
None
None
test_embind_val_read_pointer (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_embind_val_basics.wasm /b/s/w/ir/x/t/emtest_gv2v55o9/emscripten_temp_wy3l7fom/test_embind_val_basics_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_gv2v55o9/tmpqz82_op7libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_val_basics_flag (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_embind_val_cross_thread.wasm /b/s/w/ir/x/t/emtest_akg4hnnl/emscripten_temp_hrg28zjx/test_embind_val_cross_thread_0.o -lembind-mt-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_akg4hnnl/tmpfrn4tbp5libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=_embind_initialize_bindings --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_embind_val_cross_thread.wasm /b/s/w/ir/x/t/emtest_mqjhyetj/emscripten_temp_in1vkb7o/test_embind_val_cross_thread_0.o -lembind-mt-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mqjhyetj/tmp0rr7p45plibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=_embind_initialize_bindings --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_val_cross_thread_deleted (test_core.thinltoz) ... FAIL
None
None
test_embind_val_cross_thread (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
system_libs:INFO: compiled 1 inputs in 3.83s
#0 0x00005a1802eead28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a1802ee87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a1802eeb576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000750367c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000750367c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000750367c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000750367c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000750367c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000750367c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000750367c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000750367c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a18059686a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a180595f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a1805967a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a180595e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a180595e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a180595e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a1805968fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a180593130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a1805b8ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a18045a9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a180392a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a180391c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a180391b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a180391be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a180326c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a18032734ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a1803274f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000750367c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000750367d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc++-ww-noexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc++-ww-noexcept.a" for subsequent builds)
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_val_coro.wasm /b/s/w/ir/x/t/emtest_incudol_/emscripten_temp_jciv4b4x/test_val_coro_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_incudol_/tmpjeo50ne_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_val_coro (test_core.thinltoz) ... FAIL
test_embind_val_assignment (test_core.thinltoz) ... ok (1.86s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005eb1b93bbd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005eb1b93b97b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005eb1b93bc576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ded98242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ded982969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ded982969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ded982969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ded98242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ded982287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ded9822871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ded98239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005eb1bbe396a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005eb1bbe30044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005eb1bbe38a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005eb1bbe2f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005eb1bbe2f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005eb1bbe2f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005eb1bbe39fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005eb1bbe0230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005eb1bc05de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005eb1baa7a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005eb1b9dfb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005eb1b9ded2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005eb1b9dec523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005eb1b9dece44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005eb1b973d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005eb1b97444ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005eb1b9745f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ded98294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ded98326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_embind_val_basics.wasm /b/s/w/ir/x/t/emtest_vvfs30dx/emscripten_temp_ju976_71/test_embind_val_basics_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_vvfs30dx/tmp602_y8dilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_val_basics (test_core.thinltoz) ... FAIL
#0 0x0000564ed2cead28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000564ed2ce87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000564ed2ceb576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007cb8dd642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007cb8dd6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007cb8dd6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007cb8dd6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007cb8dd642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007cb8dd6287f3 abort ./stdlib/abort.c:81:7
#9 0x00007cb8dd62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007cb8dd639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000564ed57686a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000564ed575f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000564ed5767a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000564ed575e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000564ed575e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000564ed575e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000564ed5768fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000564ed573130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000564ed598ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000564ed43a9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000564ed372a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000564ed371c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000564ed371b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000564ed371be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000564ed306c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000564ed30734ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000564ed3074f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007cb8dd694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007cb8dd726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_unsigned.wasm /b/s/w/ir/x/t/emtest__fq8u1_p/emscripten_temp_x0_x0dvi/test_unsigned_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__fq8u1_p/tmp31pxnwv1libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_unsigned_bigint (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_val.wasm /b/s/w/ir/x/t/emtest_w2qkvga9/emscripten_temp_11cclpry/test_val_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_w2qkvga9/tmpr9oekbs8libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005687af479d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005687af4777b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005687af47a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d6f75842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d6f758969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d6f758969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d6f758969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d6f75842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d6f758287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d6f7582871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d6f75839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005687b1ef76a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005687b1eee044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005687b1ef6a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005687b1eed465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005687b1eed02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005687b1eed875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005687b1ef7fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005687b1ec030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005687b211be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005687b0b38910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005687afeb99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005687afeab2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005687afeaa523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005687afeaae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005687af7fb98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005687af8024ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005687af803f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d6f75894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d6f75926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_embind_val (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test.wasm /b/s/w/ir/x/t/emtest_63j_had4/emscripten_temp_v81lto6y/test_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_63j_had4/tmpzyj7o7culibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_unbound_types (test_core.thinltoz) ... FAIL
#0 0x000057c564c12d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057c564c107b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057c564c13576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073f863242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073f8632969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073f8632969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073f8632969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073f863242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073f8632287f3 abort ./stdlib/abort.c:81:7
#9 0x000073f86322871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073f863239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057c5676906a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057c567687044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057c56768fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057c567686465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057c56768602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057c567686875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057c567690fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057c56765930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057c5678b4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057c5662d1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057c5656529f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057c5656442b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057c565643523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057c565643e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057c564f9498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057c564f9b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057c564f9cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073f863294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073f863326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_unsigned.wasm /b/s/w/ir/x/t/emtest_stmc8lzk/emscripten_temp_godcrvvk/test_unsigned_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_stmc8lzk/tmpgz_9gkdzlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_unsigned (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000058be5d1edd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058be5d1eb7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058be5d1ee576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074da9f842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074da9f8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074da9f8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074da9f8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074da9f842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074da9f8287f3 abort ./stdlib/abort.c:81:7
#9 0x000074da9f82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074da9f839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058be5fc6b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058be5fc62044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058be5fc6aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058be5fc61465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058be5fc6102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058be5fc61875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058be5fc6bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058be5fc3430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058be5fe8fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058be5e8ac910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058be5dc2d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058be5dc1f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058be5dc1e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058be5dc1ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058be5d56f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058be5d5764ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058be5d577f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074da9f894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074da9f926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_embind_sync_if_pthread_delayed.wasm /b/s/w/ir/x/t/emtest_rcvfbfdk/emscripten_temp_xaajquwf/test_embind_sync_if_pthread_delayed_0.o -lembind-mt-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_rcvfbfdk/tmpqmkh6yh2libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=_embind_initialize_bindings --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_sync_if_pthread_delayed (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005c3b25b89d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c3b25b877b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c3b25b8a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007115c4242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007115c42969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007115c42969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007115c42969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007115c4242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007115c42287f3 abort ./stdlib/abort.c:81:7
#9 0x00007115c422871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007115c4239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c3b286076a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c3b285fe044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c3b28606a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c3b285fd465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c3b285fd02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c3b285fd875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c3b28607fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c3b285d030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c3b2882be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c3b27248910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c3b265c99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c3b265bb2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c3b265ba523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c3b265bae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c3b25f0b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c3b25f124ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c3b25f13f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007115c4294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007115c4326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_hv75t6as/emscripten_temp_g_kayhmt/src_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_hv75t6as/tmp62enr0xnlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_no_rtti_followed_by_rtti (test_core.thinltoz) ... FAIL
#0 0x0000612aa419dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000612aa419b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000612aa419e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007752d4a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007752d4a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007752d4a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007752d4a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007752d4a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007752d4a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007752d4a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007752d4a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000612aa6c1b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000612aa6c12044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000612aa6c1aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000612aa6c11465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000612aa6c1102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000612aa6c11875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000612aa6c1bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000612aa6be430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000612aa6e3fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000612aa585c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000612aa4bdd9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000612aa4bcf2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000612aa4bce523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000612aa4bcee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000612aa451f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000612aa45264ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000612aa4527f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007752d4a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007752d4b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_embind_polymorphic_class_no_rtti.wasm /b/s/w/ir/x/t/emtest_wubhabzz/emscripten_temp_bap8dx1t/test_embind_polymorphic_class_no_rtti_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wubhabzz/tmpfsazuwqmlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_polymorphic_class (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00006016658aed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006016658ac7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006016658af576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007424dd842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007424dd8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007424dd8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007424dd8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007424dd842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007424dd8287f3 abort ./stdlib/abort.c:81:7
#9 0x00007424dd82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007424dd839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060166832c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000601668323044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060166832ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000601668322465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060166832202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000601668322875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060166832cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006016682f530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000601668550e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000601666f6d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006016662ee9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006016662e02b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006016662df523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006016662dfe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000601665c3098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000601665c374ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000601665c38f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007424dd894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007424dd926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_negative_constants.wasm /b/s/w/ir/x/t/emtest_3u8puw5d/emscripten_temp_ewrei1g6/test_negative_constants_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_3u8puw5d/tmpfdlpcnqblibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_negative_constants (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005bbd193e2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005bbd193e07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005bbd193e3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000796480242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007964802969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007964802969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007964802969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000796480242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007964802287f3 abort ./stdlib/abort.c:81:7
#9 0x000079648022871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000796480239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005bbd1be606a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005bbd1be57044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005bbd1be5fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005bbd1be56465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005bbd1be5602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005bbd1be56875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005bbd1be60fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005bbd1be2930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005bbd1c084e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005bbd1aaa1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005bbd19e229f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005bbd19e142b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005bbd19e13523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005bbd19e13e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005bbd1976498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005bbd1976b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005bbd1976cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000796480294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000796480326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test.wasm /b/s/w/ir/x/t/emtest_1t764ij6/emscripten_temp_ms5eymgw/test_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1t764ij6/tmpjc1ipsbklibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_memory_view (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005dbd5a5c3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005dbd5a5c17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005dbd5a5c4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007dbcea242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007dbcea2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007dbcea2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007dbcea2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007dbcea242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007dbcea2287f3 abort ./stdlib/abort.c:81:7
#9 0x00007dbcea22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007dbcea239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005dbd5d0416a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005dbd5d038044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005dbd5d040a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005dbd5d037465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005dbd5d03702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005dbd5d037875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005dbd5d041fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005dbd5d00a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005dbd5d265e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005dbd5bc82910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005dbd5b0039f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005dbd5aff52b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005dbd5aff4523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005dbd5aff4e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005dbd5a94598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005dbd5a94c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005dbd5a94df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007dbcea294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007dbcea326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o embind_lib_with_asyncify.wasm /b/s/w/ir/x/t/emtest_hjdu76ff/emscripten_temp_6vgvz6s3/embind_lib_with_asyncify_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_hjdu76ff/tmp3p3x52aylibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_lib_with_asyncify_no_dynamic_execution (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000058383277dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058383277b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058383277e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000781b9d042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000781b9d0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000781b9d0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000781b9d0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000781b9d042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000781b9d0287f3 abort ./stdlib/abort.c:81:7
#9 0x0000781b9d02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000781b9d039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005838351fb6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005838351f2044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005838351faa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005838351f1465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005838351f102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005838351f1875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005838351fbfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005838351c430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058383541fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000583833e3c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005838331bd9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005838331af2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005838331ae523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005838331aee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000583832aff98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000583832b064ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000583832b07f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000781b9d094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000781b9d126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o embind_lib_with_asyncify.wasm /b/s/w/ir/x/t/emtest_healu6vl/emscripten_temp_r5xbb1wn/embind_lib_with_asyncify_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_healu6vl/tmp32d35vq5libemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_lib_with_asyncify (test_core.thinltoz) ... FAIL
#0 0x00005eada09cbd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005eada09c97b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005eada09cc576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000775463242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007754632969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007754632969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007754632969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000775463242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007754632287f3 abort ./stdlib/abort.c:81:7
#9 0x000077546322871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000775463239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005eada34496a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005eada3440044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005eada3448a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005eada343f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005eada343f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005eada343f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005eada3449fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005eada341230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005eada366de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005eada208a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005eada140b9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005eada13fd2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005eada13fc523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005eada13fce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005eada0d4d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005eada0d544ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005eada0d55f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000775463294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000775463326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_embind_inheritance.wasm /b/s/w/ir/x/t/emtest_bra7diaa/emscripten_temp_vmz4xcsv/test_embind_inheritance_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_bra7diaa/tmpemaecexzlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_inheritance (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_i64_val.wasm /b/s/w/ir/x/t/emtest_1nqq1i5w/emscripten_temp_mxzw0i9m/test_i64_val_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1nqq1i5w/tmpgw6a8atalibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=sbrk --export=_emscripten_stack_alloc --export=emscripten_get_sbrk_ptr --export=emscripten_stack_get_base --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_i64_val_safe_heap (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_i64_val.wasm /b/s/w/ir/x/t/emtest_seclwn30/emscripten_temp_0sd2rxtk/test_i64_val_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_seclwn30/tmpo1b1o_xylibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_i64_val (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 56 inputs in 23.25s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc++abi-ww-noexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc++abi-ww-noexcept.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005c093c9b6d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c093c9b47b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c093c9b7576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007beae3a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007beae3a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007beae3a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007beae3a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007beae3a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007beae3a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007beae3a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007beae3a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c093f4346a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c093f42b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c093f433a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c093f42a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c093f42a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c093f42a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c093f434fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c093f3fd30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c093f658e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c093e075910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c093d3f69f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c093d3e82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c093d3e7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c093d3e7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c093cd3898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c093cd3f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c093cd40f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007beae3a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007beae3b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_float_constants.wasm /b/s/w/ir/x/t/emtest_7h4qgta7/emscripten_temp_jz5rjw9u/test_float_constants_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_7h4qgta7/tmpubehfl26libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_float_constants (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005e3bb3061d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e3bb305f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e3bb3062576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007bc4fc642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007bc4fc6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007bc4fc6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007bc4fc6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007bc4fc642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007bc4fc6287f3 abort ./stdlib/abort.c:81:7
#9 0x00007bc4fc62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007bc4fc639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e3bb5adf6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e3bb5ad6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e3bb5adea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e3bb5ad5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e3bb5ad502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e3bb5ad5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e3bb5adffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e3bb5aa830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e3bb5d03e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e3bb4720910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e3bb3aa19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e3bb3a932b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e3bb3a92523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e3bb3a92e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e3bb33e398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e3bb33ea4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e3bb33ebf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007bc4fc694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007bc4fc726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_i64_binding.wasm /b/s/w/ir/x/t/emtest_wwv4jobv/emscripten_temp_mjheufms/test_i64_binding_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wwv4jobv/tmp5elp63rplibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_i64_binding (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005ba2ecb12d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ba2ecb107b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ba2ecb13576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075ac41042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075ac410969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075ac410969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075ac410969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075ac41042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075ac410287f3 abort ./stdlib/abort.c:81:7
#9 0x000075ac4102871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075ac41039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ba2ef5906a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ba2ef587044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ba2ef58fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ba2ef586465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ba2ef58602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ba2ef586875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ba2ef590fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ba2ef55930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ba2ef7b4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ba2ee1d1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ba2ed5529f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ba2ed5442b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ba2ed543523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ba2ed543e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ba2ece9498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ba2ece9b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ba2ece9cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075ac41094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075ac41126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_dynamic_initialization.wasm /b/s/w/ir/x/t/emtest_9bzbekiy/emscripten_temp_wppi5u6g/test_dynamic_initialization_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9bzbekiy/tmp68jr1qtrlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_dynamic_initialization (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 16 inputs in 4.02s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc++abi-debug.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc++abi-debug.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005b9588ddfd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b9588ddd7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b9588de0576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d3e73242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d3e732969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d3e732969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d3e732969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d3e73242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d3e732287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d3e7322871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d3e73239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b958b85d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b958b854044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b958b85ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b958b853465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b958b85302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b958b853875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b958b85dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b958b82630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b958ba81e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b958a49e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b958981f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b95898112b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b9589810523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b9589810e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b958916198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b95891684ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b9589169f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d3e73294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d3e73326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000630ab2239d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000630ab22377b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000630ab223a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007009efe42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007009efe969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007009efe969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007009efe969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007009efe42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007009efe287f3 abort ./stdlib/abort.c:81:7
#9 0x00007009efe2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007009efe39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000630ab4cb76a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000630ab4cae044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000630ab4cb6a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000630ab4cad465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000630ab4cad02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000630ab4cad875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000630ab4cb7fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000630ab4c8030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000630ab4edbe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000630ab38f8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000630ab2c799f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000630ab2c6b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000630ab2c6a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000630ab2c6ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000630ab25bb98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000630ab25c24ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000630ab25c3f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007009efe94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007009eff26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_embind_wasm_workers.wasm /b/s/w/ir/x/t/emtest_1q290k06/emscripten_temp_iebha92z/test_embind_wasm_workers_0.o -lembind-ww-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-ww-getprocaddr -lal -lhtml5 -lc_optz-ww -lstubs -lnoexit -lc-ww -ldlmalloc-ww -lcompiler_rt-ww -lc++-ww-noexcept -lc++abi-ww-noexcept -lsockets-ww --whole-archive -lwasm_workers --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1q290k06/tmp0119amb6libemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=_embind_initialize_bindings --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=_emscripten_wasm_worker_initialize --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_wasm_workers (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_custom_marshal.wasm /b/s/w/ir/x/t/emtest_hool7a0r/emscripten_temp_juu2c5v2/test_custom_marshal_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_hool7a0r/tmp47gob24glibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_custom_marshal (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test.wasm /b/s/w/ir/x/t/emtest_a9mjao55/emscripten_temp_g2mrr2o8/test_0.o -lembind-mt-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_a9mjao55/tmprmxai7qdlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=__getTypeName --export=_embind_initialize_bindings --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_basics (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_js.wasm /b/s/w/ir/x/t/emtest_6rr5kdtx/emscripten_temp_zvmxu2qb/test_em_js_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_6rr5kdtx/tmpx0cxyzizlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=malloc --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_em_js_pthreads (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000064297ca27d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000064297ca257b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000064297ca28576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073db22a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073db22a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073db22a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073db22a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073db22a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073db22a287f3 abort ./stdlib/abort.c:81:7
#9 0x000073db22a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073db22a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000064297f4a56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000064297f49c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000064297f4a4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000064297f49b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000064297f49b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000064297f49b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000064297f4a5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000064297f46e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000064297f6c9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000064297e0e6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000064297d4679f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000064297d4592b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000064297d458523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000064297d458e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064297cda998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000064297cdb04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000064297cdb1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073db22a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073db22b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_js_i64.wasm /b/s/w/ir/x/t/emtest_eu149plb/emscripten_temp_zp76d71k/test_em_js_i64_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_eu149plb/tmpg_ifc6hvlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_em_js_i64 (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 16 inputs in 5.01s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libembind.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libembind.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005cd75f1e4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005cd75f1e27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005cd75f1e5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074c162642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074c1626969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074c1626969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074c1626969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074c162642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074c1626287f3 abort ./stdlib/abort.c:81:7
#9 0x000074c16262871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074c162639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005cd761c626a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005cd761c59044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005cd761c61a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005cd761c58465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005cd761c5802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005cd761c58875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005cd761c62fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005cd761c2b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005cd761e86e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005cd7608a3910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005cd75fc249f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005cd75fc162b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005cd75fc15523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005cd75fc15e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005cd75f56698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005cd75f56d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005cd75f56ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074c162694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074c162726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_val_coro.wasm /b/s/w/ir/x/t/emtest__cp5khzn/emscripten_temp_lah9vvkf/test_val_coro_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi-debug -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest__cp5khzn/tmppawrvhh0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=__get_exception_message --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_val_coro_propogate_cpp_exception (test_core.thinltoz) ... FAIL
test_em_js_dylink_c (test_core.thinltoz) ... ok (3.86s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005cef112b8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005cef112b67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005cef112b9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079358ea42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079358ea969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000079358ea969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000079358ea969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000079358ea42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000079358ea287f3 abort ./stdlib/abort.c:81:7
#9 0x000079358ea2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000079358ea39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005cef13d366a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005cef13d2d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005cef13d35a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005cef13d2c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005cef13d2c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005cef13d2c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005cef13d36fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005cef13cff30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005cef13f5ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005cef12977910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005cef11cf89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005cef11cea2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005cef11ce9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005cef11ce9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005cef1163a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005cef116414ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005cef11642f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000079358ea94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000079358eb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005b6439e15d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b6439e137b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b6439e16576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000793e13442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000793e134969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000793e134969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000793e134969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000793e13442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000793e134287f3 abort ./stdlib/abort.c:81:7
#9 0x0000793e1342871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000793e13439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b643c8936a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b643c88a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b643c892a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b643c889465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b643c88902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b643c889875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b643c893fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b643c85c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b643cab7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b643b4d4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b643a8559f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b643a8472b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b643a846523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b643a846e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b643a19798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b643a19e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b643a19ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000793e13494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000793e13526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_js.wasm /b/s/w/ir/x/t/emtest_3gxpw31_/emscripten_temp_h6fy2v38/test_em_js_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_3gxpw31_/tmpenucnbsclibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=malloc --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_em_js_c (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 1 inputs in 3.01s
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_js_address_taken.wasm /b/s/w/ir/x/t/emtest_kame77nr/emscripten_temp_1y99rvni/test_em_js_address_taken_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_kame77nr/tmpdl2sh2frlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_em_js_address_taken (test_core.thinltoz) ... FAIL
cache:INFO: - ok
test_em_async_js_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libembind-rtti.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libembind-rtti.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_em_js_dylink (test_core.thinltoz) ... ok (4.72s)
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_1io3k88o/emscripten_temp_8cluz2w3/main_0.o -lembind -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1io3k88o/tmp2hwjyxr4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_embind_no_rtti (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00006409785fdd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006409785fb7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006409785fe576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007264f4642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007264f46969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007264f46969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007264f46969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007264f4642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007264f46287f3 abort ./stdlib/abort.c:81:7
#9 0x00007264f462871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007264f4639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000064097b07b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000064097b072044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000064097b07aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000064097b071465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000064097b07102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000064097b071875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000064097b07bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000064097b04430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000064097b29fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000640979cbc910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000064097903d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000064097902f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000064097902e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000064097902ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064097897f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006409789864ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000640978987f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007264f4694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007264f4726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_js.wasm /b/s/w/ir/x/t/emtest_yrchayj4/emscripten_temp_cec6cznf/test_em_js_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_yrchayj4/tmpsjwrycvhlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=malloc --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x0000596a0ec1ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000596a0ec1c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000596a0ec1f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007bc889642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007bc8896969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007bc8896969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007bc8896969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007bc889642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007bc8896287f3 abort ./stdlib/abort.c:81:7
#9 0x00007bc88962871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007bc889639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000596a1169c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000596a11693044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000596a1169ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000596a11692465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000596a1169202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000596a11692875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000596a1169cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000596a1166530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000596a118c0e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000596a102dd910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000596a0f65e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000596a0f6502b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000596a0f64f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000596a0f64fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000596a0efa098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000596a0efa74ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000596a0efa8f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007bc889694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007bc889726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_em_js (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000058d61c742d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058d61c7407b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058d61c743576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c0348242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c03482969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c03482969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c03482969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c0348242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c03482287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c034822871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c0348239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058d61f1c06a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058d61f1b7044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058d61f1bfa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058d61f1b6465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058d61f1b602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058d61f1b6875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058d61f1c0fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058d61f18930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058d61f3e4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058d61de01910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058d61d1829f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058d61d1742b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058d61d173523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058d61d173e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058d61cac498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058d61cacb4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058d61caccf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c0348294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c0348326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_async_js.wasm /b/s/w/ir/x/t/emtest_3uegp7js/emscripten_temp_yvsdia9z/test_em_async_js_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_3uegp7js/tmpza1f75_6libemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_val_coro.wasm /b/s/w/ir/x/t/emtest_h81sz003/emscripten_temp_iqv0porx/test_val_coro_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi-debug -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_h81sz003/tmp47csn6jalibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=__get_exception_message --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_em_async_js (test_core.thinltoz) ... FAIL
None
None
test_embind_val_coro_propogate_js_error (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005a6018f57d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a6018f557b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a6018f58576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007286f3642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007286f36969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007286f36969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007286f36969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007286f3642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007286f36287f3 abort ./stdlib/abort.c:81:7
#9 0x00007286f362871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007286f3639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a601b9d56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a601b9cc044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a601b9d4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a601b9cb465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a601b9cb02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a601b9cb875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a601b9d5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a601b99e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a601bbf9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a601a616910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a60199979f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a60199892b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a6019988523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a6019988e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a60192d998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a60192e04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a60192e1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007286f3694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007286f3726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_asm_unused_arguments.wasm /b/s/w/ir/x/t/emtest_ic75nncp/emscripten_temp_l1xjalfz/test_em_asm_unused_arguments_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ic75nncp/tmpnkyxemislibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_em_asm_unused_arguments (test_core.thinltoz) ... FAIL
#0 0x00005b340604cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b340604a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b340604d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ff121442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ff1214969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ff1214969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ff1214969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ff121442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ff1214287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ff12142871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ff121439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b3408aca6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b3408ac1044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b3408ac9a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b3408ac0465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b3408ac002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b3408ac0875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b3408acafbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b3408a9330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b3408ceee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b340770b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b3406a8c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b3406a7e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b3406a7d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b3406a7de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b34063ce98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b34063d54ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b34063d6f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ff121494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ff121526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_asm_unicode.wasm /b/s/w/ir/x/t/emtest_9fadv4r8/emscripten_temp_o4yaj7uo/test_em_asm_unicode_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9fadv4r8/tmpi72pqikplibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000059de5fd45d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000059de5fd437b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059de5fd46576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d9000242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d90002969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d90002969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d90002969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d9000242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d90002287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d900022871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d9000239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059de627c36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000059de627ba044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000059de627c2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000059de627b9465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000059de627b902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000059de627b9875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000059de627c3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059de6278c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059de629e7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059de61404910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000059de607859f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000059de607772b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000059de60776523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000059de60776e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059de600c798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000059de600ce4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000059de600cff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d9000294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d9000326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_em_asm_unicode (test_core.thinltoz) ... FAIL
#0 0x000055ddf4cb1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055ddf4caf7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055ddf4cb2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079fa77e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079fa77e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000079fa77e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000079fa77e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000079fa77e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000079fa77e287f3 abort ./stdlib/abort.c:81:7
#9 0x000079fa77e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000079fa77e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055ddf772f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055ddf7726044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055ddf772ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055ddf7725465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055ddf772502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055ddf7725875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055ddf772ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055ddf76f830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055ddf7953e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055ddf6370910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055ddf56f19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055ddf56e32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055ddf56e2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055ddf56e2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055ddf503398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055ddf503a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055ddf503bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000079fa77e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000079fa77f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_asm_types.wasm /b/s/w/ir/x/t/emtest_z3t3515k/emscripten_temp_7kkd90zm/test_em_asm_types_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_z3t3515k/tmpaklkdz4clibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_em_asm_types_c (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_asm_types.wasm /b/s/w/ir/x/t/emtest_drene1o8/emscripten_temp_64731t0r/test_em_asm_types_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_drene1o8/tmpfyc9o13olibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_em_asm_types (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000057992f000d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057992effe7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057992f001576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073ed90a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073ed90a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073ed90a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073ed90a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073ed90a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073ed90a287f3 abort ./stdlib/abort.c:81:7
#9 0x000073ed90a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073ed90a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000579931a7e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000579931a75044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000579931a7da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000579931a74465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000579931a7402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000579931a74875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000579931a7efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000579931a4730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000579931ca2e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005799306bf910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057992fa409f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057992fa322b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057992fa31523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057992fa31e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057992f38298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057992f3894ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057992f38af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073ed90a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073ed90b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_asm_parameter_pack.wasm /b/s/w/ir/x/t/emtest_b6w37yxn/emscripten_temp_bc3luqk0/test_em_asm_parameter_pack_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_b6w37yxn/tmp775fjwmhlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000062a606c0cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000062a606c0a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000062a606c0d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076c2ac842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076c2ac8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076c2ac8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076c2ac8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076c2ac842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076c2ac8287f3 abort ./stdlib/abort.c:81:7
#9 0x000076c2ac82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076c2ac839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062a60968a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062a609681044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062a609689a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062a609680465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062a60968002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062a609680875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062a60968afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062a60965330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062a6098aee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062a6082cb910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062a60764c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062a60763e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062a60763d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062a60763de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000062a606f8e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000062a606f954ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000062a606f96f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076c2ac894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076c2ac926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_em_asm_parameter_pack (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_asm_direct.wasm /b/s/w/ir/x/t/emtest_gx0rkru7/emscripten_temp_rixhq899/test_em_asm_direct_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_gx0rkru7/tmpw_byi815libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_em_asm_direct (test_core.thinltoz) ... FAIL
#0 0x000058f1f9795d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058f1f97937b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058f1f9796576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b8e28e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b8e28e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b8e28e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b8e28e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b8e28e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b8e28e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b8e28e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b8e28e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058f1fc2136a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058f1fc20a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058f1fc212a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058f1fc209465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058f1fc20902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058f1fc209875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058f1fc213fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058f1fc1dc30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058f1fc437e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058f1fae54910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058f1fa1d59f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058f1fa1c72b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058f1fa1c6523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058f1fa1c6e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058f1f9b1798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058f1f9b1e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058f1f9b1ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b8e28e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b8e28f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005dceef3d0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005dceef3ce7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005dceef3d1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000719068242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007190682969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007190682969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007190682969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000719068242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007190682287f3 abort ./stdlib/abort.c:81:7
#9 0x000071906822871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000719068239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005dcef1e4e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005dcef1e45044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005dcef1e4da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005dcef1e44465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005dcef1e4402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005dcef1e44875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005dcef1e4efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005dcef1e1730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005dcef2072e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005dcef0a8f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005dceefe109f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005dceefe022b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005dceefe01523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005dceefe01e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005dceef75298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005dceef7594ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005dceef75af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000719068294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000719068326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_asm.wasm /b/s/w/ir/x/t/emtest_h0r0mhmz/emscripten_temp_s5y72ljd/test_em_asm_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_h0r0mhmz/tmp0rphyi63libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_asm_arguments_side_effects.wasm /b/s/w/ir/x/t/emtest_1wvfp7on/emscripten_temp_b_cyqmum/test_em_asm_arguments_side_effects_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1wvfp7on/tmpxs3jzdl8libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_em_asm_c (test_core.thinltoz) ... FAIL
[] DIRECT
system_libs:INFO: compiled 1 inputs in 4.78s
None
None
test_em_asm_arguments_side_effects (test_core.thinltoz) ... FAIL
[] DIRECT
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc++-mt-noexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc++-mt-noexcept.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000617dc86a8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000617dc86a67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000617dc86a9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fad0f842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007fad0f8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007fad0f8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007fad0f8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007fad0f842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007fad0f8287f3 abort ./stdlib/abort.c:81:7
#9 0x00007fad0f82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007fad0f839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000617dcb1266a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000617dcb11d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000617dcb125a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000617dcb11c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000617dcb11c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000617dcb11c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000617dcb126fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000617dcb0ef30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000617dcb34ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000617dc9d67910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000617dc90e89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000617dc90da2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000617dc90d9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000617dc90d9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000617dc8a2a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000617dc8a314ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000617dc8a32f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007fad0f894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007fad0f926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_asm_2.wasm /b/s/w/ir/x/t/emtest_ojseptpr/emscripten_temp_akwy806d/test_em_asm_2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ojseptpr/tmp4kmo7gfylibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_em_asm_2 (test_core.thinltoz) ... FAIL
#0 0x00005e986c4a5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e986c4a37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e986c4a6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073ea99242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073ea992969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073ea992969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073ea992969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073ea99242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073ea992287f3 abort ./stdlib/abort.c:81:7
#9 0x000073ea9922871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073ea99239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e986ef236a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e986ef1a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e986ef22a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e986ef19465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e986ef1902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e986ef19875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e986ef23fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e986eeec30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e986f147e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e986db64910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e986cee59f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e986ced72b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e986ced6523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e986ced6e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e986c82798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e986c82e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e986c82ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073ea99294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073ea99326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_asm.wasm /b/s/w/ir/x/t/emtest_m14syt0v/emscripten_temp_y9vrwetg/test_em_asm_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_m14syt0v/tmp4da5lkp1libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
None
None
test_em_asm (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_embind_polymorphic_class_no_rtti.wasm /b/s/w/ir/x/t/emtest_ie5vsk1y/emscripten_temp_27muftig/test_embind_polymorphic_class_no_rtti_0.o -lembind -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ie5vsk1y/tmp4fu5xdtrlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_embind_polymorphic_class_no_rtti (test_core.thinltoz) ... FAIL
<building and saving third_party_zlib_Oz_a7a15751fb7167c2154a0225c209ab2f into cache>
#0 0x000057625ad3dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057625ad3b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057625ad3e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073ecb1e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073ecb1e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073ecb1e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073ecb1e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073ecb1e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073ecb1e287f3 abort ./stdlib/abort.c:81:7
#9 0x000073ecb1e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073ecb1e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057625d7bb6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057625d7b2044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057625d7baa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057625d7b1465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057625d7b102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057625d7b1875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057625d7bbfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057625d78430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057625d9dfe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057625c3fc910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057625b77d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057625b76f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057625b76e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057625b76ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057625b0bf98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057625b0c64ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057625b0c7f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073ecb1e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073ecb1f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_dyncall_specific.wasm /b/s/w/ir/x/t/emtest_s3iyt2w5/emscripten_temp_fo1znhgy/test_dyncall_specific_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_s3iyt2w5/tmpr34kwaf8libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_dyncall_specific_minimal_runtime (test_core.thinltoz) ... FAIL
<building and saving third_party_zlib_Oz_a7a15751fb7167c2154a0225c209ab2f into cache>
#0 0x0000617dee886d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000617dee8847b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000617dee887576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079b5a2642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079b5a26969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000079b5a26969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000079b5a26969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000079b5a2642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000079b5a26287f3 abort ./stdlib/abort.c:81:7
#9 0x000079b5a262871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000079b5a2639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000617df13046a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000617df12fb044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000617df1303a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000617df12fa465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000617df12fa02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000617df12fa875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000617df1304fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000617df12cd30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000617df1528e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000617deff45910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000617def2c69f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000617def2b82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000617def2b7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000617def2b7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000617deec0898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000617deec0f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000617deec10f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000079b5a2694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000079b5a2726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00006500b2bd1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006500b2bcf7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006500b2bd2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e9aa1642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e9aa16969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e9aa16969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e9aa16969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e9aa1642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e9aa16287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e9aa162871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e9aa1639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006500b564f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006500b5646044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006500b564ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006500b5645465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006500b564502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006500b5645875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006500b564ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006500b561830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006500b5873e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006500b4290910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006500b36119f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006500b36032b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006500b3602523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006500b3602e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006500b2f5398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006500b2f5a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006500b2f5bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e9aa1694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e9aa1726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000570ae7c1ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000570ae7c187b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000570ae7c1b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074bbf9242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074bbf92969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074bbf92969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074bbf92969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074bbf9242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074bbf92287f3 abort ./stdlib/abort.c:81:7
#9 0x000074bbf922871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074bbf9239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000570aea6986a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000570aea68f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000570aea697a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000570aea68e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000570aea68e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000570aea68e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000570aea698fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000570aea66130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000570aea8bce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000570ae92d9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000570ae865a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000570ae864c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000570ae864b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000570ae864be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000570ae7f9c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000570ae7fa34ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000570ae7fa4f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074bbf9294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074bbf9326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_dyncall_specific.wasm /b/s/w/ir/x/t/emtest_s9pt15ty/emscripten_temp_ui6i1hpk/test_dyncall_specific_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_s9pt15ty/tmpm97zzdr9libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_dyncall_specific (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_dyncall_pointers.wasm /b/s/w/ir/x/t/emtest_mnyzzt70/emscripten_temp_b4r0wu9m/test_dyncall_pointers_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mnyzzt70/tmpi3lt8w1qlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_dyncall_pointers.wasm /b/s/w/ir/x/t/emtest_lmofzyne/emscripten_temp_2kw8s0n6/test_dyncall_pointers_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_lmofzyne/tmpgb2xcjkclibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_dyncall_pointers (test_core.thinltoz) ... FAIL
None
None
test_dyncall_pointers_legacy (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000600e414a1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000600e4149f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000600e414a2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000778b03e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000778b03e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000778b03e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000778b03e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000778b03e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000778b03e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000778b03e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000778b03e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000600e43f1f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000600e43f16044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000600e43f1ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000600e43f15465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000600e43f1502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000600e43f15875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000600e43f1ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000600e43ee830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000600e44143e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000600e42b60910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000600e41ee19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000600e41ed32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000600e41ed2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000600e41ed2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000600e4182398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000600e4182a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000600e4182bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000778b03e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000778b03f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_dylink_tls_export.wasm /b/s/w/ir/x/t/emtest_5t4n4c7n/emscripten_temp_b39272g8/test_dylink_tls_export_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5t4n4c7n/tmp7nqxid2ilibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=__memory_base --export-if-defined=__stack_pointer --export-if-defined=bar --export-if-defined=baz --export-if-defined=emscripten_builtin_memalign --export-if-defined=foo --export-if-defined=iprintf --export-if-defined=pthread_self --export-if-defined=wiz --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_dylink_tls_export (test_core.thinltoz) ... FAIL
test_em_asm_side_module (test_core.thinltoz) ... ok (11.60s)
test_dylink_syslibs_missing_reversed (test_core.thinltoz) ... skipped 'with_reversed is false'
test_dylink_syslibs_missing_assertions_reversed (test_core.thinltoz) ... skipped 'with_reversed is false'
env_modify: {'EMCC_FORCE_STDLIBS': 'libc,libmalloc,libc++abi', 'EMCC_ONLY_FORCED_STDLIBS': '1'}
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000057b3415f5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000057b3415f37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000057b3415f6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f4414642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f44146969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f44146969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f44146969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f4414642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f44146287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f441462871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f4414639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000057b3440736a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000057b34406a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000057b344072a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000057b344069465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000057b34406902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000057b344069875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000057b344073fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057b34403c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000057b344297e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057b342cb4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000057b3420359f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000057b3420272b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000057b342026523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000057b342026e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057b34197798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000057b34197e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000057b34197ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f4414694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f4414726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_embind_dylink_visibility_hidden (test_core.thinltoz) ... ok (28.85s)
env_modify: {'EMCC_FORCE_STDLIBS': 'libc,libmalloc,libc++abi', 'EMCC_ONLY_FORCED_STDLIBS': '1'}
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_dylink_tls.wasm /b/s/w/ir/x/t/emtest_8lrrgv9i/emscripten_temp_noe7vl0m/test_dylink_tls_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8lrrgv9i/tmpv2katjpylibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=__memory_base --export-if-defined=__stack_pointer --export-if-defined=emscripten_builtin_memalign --export-if-defined=iprintf --export-if-defined=pthread_self --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_dylink_tls (test_core.thinltoz) ... FAIL
env_modify: {'EMCC_FORCE_STDLIBS': 'libc,libc++,libmalloc,libc++abi', 'EMCC_ONLY_FORCED_STDLIBS': '1'}
test_dylink_weak_undef (test_core.thinltoz) ... ok (12.59s)
env_modify: {'EMCC_FORCE_STDLIBS': 'libc,libc++,libmalloc,libc++abi', 'EMCC_ONLY_FORCED_STDLIBS': '1'}
test_dylink_weak (test_core.thinltoz) ... ok (12.90s)
env_modify: {'EMCC_FORCE_STDLIBS': '1', 'EMCC_ONLY_FORCED_STDLIBS': '1'}
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005b6c8c27dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b6c8c27b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b6c8c27e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078782fc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078782fc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078782fc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078782fc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078782fc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078782fc287f3 abort ./stdlib/abort.c:81:7
#9 0x000078782fc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078782fc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b6c8ecfb6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b6c8ecf2044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b6c8ecfaa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b6c8ecf1465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b6c8ecf102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b6c8ecf1875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b6c8ecfbfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b6c8ecc430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b6c8ef1fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b6c8d93c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b6c8ccbd9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b6c8ccaf2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b6c8ccae523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b6c8ccaee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b6c8c5ff98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b6c8c6064ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b6c8c607f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078782fc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078782fd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm --whole-archive /b/s/w/ir/x/t/emtest_1wrk4aqz/emscripten_temp_oilt3brj/main_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lcompiler_rt -lc -ldlmalloc -lc++abi-noexcept --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=strerror --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=__cxa_can_catch --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_get_exception_ptr --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle /b/s/w/ir/x/t/emtest_1wrk4aqz/tmpwic972m3libemscripten_js_symbols.so --import-undefined --import-memory --strip-debug --export-dynamic -u__cxa_atexit --export-if-defined=_emscripten_stack_alloc --export-if-defined=__wasm_call_ctors --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=strerror --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=__cxa_can_catch --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_get_exception_ptr --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=_ZNKSt3__26locale9use_facetERNS0_2idE --export-if-defined=_ZNKSt3__28ios_base6getlocEv --export-if-defined=_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc --export-if-defined=_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev --export-if-defined=_ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_ --export-if-defined=_ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev --export-if-defined=_ZNSt3__24coutE --export-if-defined=_ZNSt3__25ctypeIcE2idE --export-if-defined=_ZNSt3__26localeD1Ev --export-if-defined=_ZNSt3__28ios_base5clearEj --export-if-defined=__memory_base --export-if-defined=__stack_pointer --experimental-pic --unresolved-symbols=import-dynamic -pie -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_dylink_syslibs_missing (test_core.thinltoz) ... FAIL
env_modify: {'EMCC_FORCE_STDLIBS': '1', 'EMCC_ONLY_FORCED_STDLIBS': '1'}
system_libs:INFO: compiled 56 inputs in 28.27s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc++abi-mt-noexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc++abi-mt-noexcept.a" for subsequent builds)
test_dylink_zlib_reversed (test_core.thinltoz) ... ok (29.27s)
test_dylink_zlib (test_core.thinltoz) ... ok (28.25s)
system_libs:INFO: compiled 16 inputs in 3.25s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc-debug.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc-debug.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_em_js.wasm /b/s/w/ir/x/t/emtest_ff2ba96n/emscripten_temp_5skkcp2c/test_em_js_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ff2ba96n/tmp9duavjkclibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=malloc --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=fflush --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main' failed (received SIGABRT (-6))
None
None
test_em_js_pthreads_dylink (test_core.thinltoz) ... FAIL
test_dylink_stdlib_reversed (test_core.thinltoz) ... ok (7.11s)
test_dylink_stdlib (test_core.thinltoz) ... ok (7.20s)
test_dylink_static_funcpointers_reversed (test_core.thinltoz) ... ok (8.41s)
test_dylink_static_funcpointers (test_core.thinltoz) ... ok (6.76s)
system_libs:INFO: compiled 1045 inputs in 12.90s
test_dylink_static_funcpointer_float_reversed (test_core.thinltoz) ... ok (6.62s)
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc++abi-debug-noexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc++abi-debug-noexcept.a" for subsequent builds)
test_dylink_static_funcpointer_float (test_core.thinltoz) ... ok (5.30s)
test_dylink_spaghetti (test_core.thinltoz) ... ok (5.17s)
test_dylink_spaghetti_reversed (test_core.thinltoz) ... ok (5.26s)
system_libs:INFO: compiled 16 inputs in 5.33s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc++-debug-noexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc++-debug-noexcept.a" for subsequent builds)
test_dylink_safe_heap_reversed (test_core.thinltoz) ... ok (6.75s)
test_dylink_rtti_reversed (test_core.thinltoz) ... ok (9.28s)
test_dylink_safe_heap (test_core.thinltoz) ... ok (10.41s)
test_dylink_raii_exceptions_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_dylink_rtti (test_core.thinltoz) ... ok (9.40s)
test_dylink_raii_exceptions_reversed_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
system_libs:INFO: compiled 56 inputs in 17.31s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libdlmalloc-debug.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libdlmalloc-debug.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs in 0.72s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libwebgpu.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libwebgpu.a" for subsequent builds)
system_libs:INFO: compiled 1 inputs in 0.81s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libwebgpu_cpp.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libwebgpu_cpp.a" for subsequent builds)
system_libs:INFO: compiled 1 inputs in 1.37s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libstubs-debug.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libstubs-debug.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs in 0.17s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc++-legacyexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc++-legacyexcept.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
#0 0x00005d3373f9dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d3373f9b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d3373f9e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f20c8e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f20c8e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f20c8e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f20c8e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f20c8e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f20c8e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f20c8e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f20c8e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d3376a1b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d3376a12044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d3376a1aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d3376a11465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d3376a1102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d3376a11875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d3376a1bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d33769e430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d3376c3fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d337565c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d33749dd9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d33749cf2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d33749ce523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d33749cee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d337431f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d33743264ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d3374327f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f20c8e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f20c8f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o liblib.wasm /b/s/w/ir/x/t/emtest_i1a_x61m/emscripten_temp_lgxet85c/liblib_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lcompiler_rt -lc-debug -lsockets -lc++abi-debug-noexcept -lc++-debug-noexcept -ldlmalloc-debug -lGL-getprocaddr -lwebgpu -lwebgpu_cpp -lstubs-debug -lnoexit -lal -lhtml5 -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=strerror --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=emscripten_stack_get_base --export-if-defined=emscripten_stack_get_end --export-if-defined=free --export-if-defined=__cxa_can_catch --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_get_exception_ptr --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle /b/s/w/ir/x/t/emtest_i1a_x61m/tmps1wylsuxlibemscripten_js_symbols.so --import-undefined --import-memory --strip-debug -u__cxa_atexit --export-if-defined=emscripten_stack_get_end --export-if-defined=emscripten_stack_get_free --export-if-defined=emscripten_stack_get_base --export-if-defined=emscripten_stack_get_current --export-if-defined=emscripten_stack_set_limits --export-if-defined=_emscripten_stack_alloc --export-if-defined=__wasm_call_ctors --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=_emscripten_find_dylib --export-if-defined=strerror --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=__cxa_can_catch --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_get_exception_ptr --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=fflush --export-if-defined=_Z4sidev --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_qtxwd27n/emscripten_temp_6p8clpk9/main_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lcompiler_rt -lc-debug -lsockets -lc++abi-debug-noexcept -lc++-debug-noexcept -ldlmalloc-debug -lGL-getprocaddr -lwebgpu -lwebgpu_cpp -lstubs-debug -lnoexit -lal -lhtml5 -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=strerror --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=emscripten_stack_get_base --export-if-defined=emscripten_stack_get_end --export-if-defined=free --export-if-defined=__cxa_can_catch --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_get_exception_ptr --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle /b/s/w/ir/x/t/emtest_qtxwd27n/tmp4pj5s4owlibemscripten_js_symbols.so --import-undefined --import-memory --strip-debug -u__cxa_atexit --export-if-defined=emscripten_stack_get_end --export-if-defined=emscripten_stack_get_free --export-if-defined=emscripten_stack_get_base --export-if-defined=emscripten_stack_get_current --export-if-defined=emscripten_stack_set_limits --export-if-defined=_emscripten_stack_alloc --export-if-defined=__wasm_call_ctors --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=_emscripten_find_dylib --export-if-defined=strerror --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=__cxa_can_catch --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_get_exception_ptr --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=fflush --export-if-defined=_ZNKSt3__26locale9use_facetERNS0_2idE --export-if-defined=_ZNKSt3__28ios_base6getlocEv --export-if-defined=_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc --export-if-defined=_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev --export-if-defined=_ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_ --export-if-defined=_ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev --export-if-defined=_ZNSt3__24coutE --export-if-defined=_ZNSt3__25ctypeIcE2idE --export-if-defined=_ZNSt3__26localeD1Ev --export-if-defined=_ZNSt3__28ios_base5clearEj --export-if-defined=__memory_base --export-if-defined=__stack_pointer --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_dylink_syslibs_all (test_core.thinltoz) ... FAIL
None
None
test_dylink_syslibs_all_reversed (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000597fe3e0ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000597fe3e087b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000597fe3e0b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e6ea5c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e6ea5c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e6ea5c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e6ea5c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e6ea5c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e6ea5c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e6ea5c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e6ea5c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000597fe68886a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000597fe687f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000597fe6887a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000597fe687e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000597fe687e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000597fe687e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000597fe6888fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000597fe685130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000597fe6aace76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000597fe54c9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000597fe484a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000597fe483c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000597fe483b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000597fe483be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000597fe418c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000597fe41934ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000597fe4194f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e6ea5c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e6ea5d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm --whole-archive /b/s/w/ir/x/t/emtest_bcb28oyb/emscripten_temp_fiqh6fji/main_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lcompiler_rt -lc-debug -ldlmalloc-debug -lc++abi-debug-noexcept --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=strerror --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=emscripten_stack_get_base --export-if-defined=emscripten_stack_get_end --export-if-defined=free --export-if-defined=__cxa_can_catch --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_get_exception_ptr --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle /b/s/w/ir/x/t/emtest_bcb28oyb/tmpiyqxqcuflibemscripten_js_symbols.so --import-undefined --import-memory --strip-debug --export-dynamic -u__cxa_atexit --export-if-defined=emscripten_stack_get_end --export-if-defined=emscripten_stack_get_free --export-if-defined=emscripten_stack_get_base --export-if-defined=emscripten_stack_get_current --export-if-defined=emscripten_stack_set_limits --export-if-defined=_emscripten_stack_alloc --export-if-defined=__wasm_call_ctors --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=_emscripten_find_dylib --export-if-defined=strerror --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=__cxa_can_catch --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_get_exception_ptr --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=fflush --export-if-defined=_ZNKSt3__26locale9use_facetERNS0_2idE --export-if-defined=_ZNKSt3__28ios_base6getlocEv --export-if-defined=_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc --export-if-defined=_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev --export-if-defined=_ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_ --export-if-defined=_ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev --export-if-defined=_ZNSt3__24coutE --export-if-defined=_ZNSt3__25ctypeIcE2idE --export-if-defined=_ZNSt3__26localeD1Ev --export-if-defined=_ZNSt3__28ios_base5clearEj --export-if-defined=__memory_base --export-if-defined=__stack_pointer --experimental-pic --unresolved-symbols=import-dynamic -pie -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_dylink_syslibs_missing_assertions (test_core.thinltoz) ... FAIL
cache:WARNING: Accessing the Emscripten cache at "/b/s/w/ir/x/w/install/emscripten/cache" (for "sysroot/lib/wasm32-emscripten/thinlto-pic/libc-debug.a") is taking a long time, another process should be writing to it. If there are none and you suspect this process has deadlocked, try deleting the lock file "/b/s/w/ir/x/w/install/emscripten/cache/cache.lock" and try again. If this occurs deterministically, consider filing a bug.
cache:WARNING: Accessing the Emscripten cache at "/b/s/w/ir/x/w/install/emscripten/cache" (for "sysroot/lib/wasm32-emscripten/thinlto-pic/libc-debug.a") is taking a long time, another process should be writing to it. If there are none and you suspect this process has deadlocked, try deleting the lock file "/b/s/w/ir/x/w/install/emscripten/cache/cache.lock" and try again. If this occurs deterministically, consider filing a bug.
test_dylink_printf_reversed (test_core.thinltoz) ... ok (8.96s)
test_dylink_printf (test_core.thinltoz) ... ok (8.56s)
test_dylink_postsets_chunking_reversed (test_core.thinltoz) ... ok (6.31s)
system_libs:INFO: compiled 56 inputs in 18.49s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc++abi-legacyexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc++abi-legacyexcept.a" for subsequent builds)
test_dylink_postsets_chunking (test_core.thinltoz) ... ok (4.62s)
test_dylink_no_export_reversed (test_core.thinltoz) ... ok (4.57s)
system_libs:INFO: compiled 18 inputs in 3.61s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libunwind-legacyexcept.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libunwind-legacyexcept.a" for subsequent builds)
system_libs:INFO: compiled 1 inputs in 0.20s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc++.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc++.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o liblib.wasm /b/s/w/ir/x/t/emtest_z2f3tchj/emscripten_temp_d7f07ytp/liblib_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lcompiler_rt -lc-debug -lc++-debug-noexcept -ldlmalloc-debug -lc++abi-debug-noexcept -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=strerror --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=emscripten_stack_get_base --export-if-defined=emscripten_stack_get_end --export-if-defined=free --export-if-defined=__cxa_can_catch --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_get_exception_ptr --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle /b/s/w/ir/x/t/emtest_z2f3tchj/tmp9bz23ahrlibemscripten_js_symbols.so --import-undefined --import-memory --strip-debug -u__cxa_atexit --export-if-defined=emscripten_stack_get_end --export-if-defined=emscripten_stack_get_free --export-if-defined=emscripten_stack_get_base --export-if-defined=emscripten_stack_get_current --export-if-defined=emscripten_stack_set_limits --export-if-defined=_emscripten_stack_alloc --export-if-defined=__wasm_call_ctors --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=_emscripten_find_dylib --export-if-defined=strerror --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=__cxa_can_catch --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_get_exception_ptr --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=fflush --export-if-defined=_Z4sidev --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_dylink_syslibs_libcxx_reversed (test_core.thinltoz) ... FAIL
test_dylink_no_export (test_core.thinltoz) ... ok (5.21s)
test_dylink_memory_growth_reversed (test_core.thinltoz) ... ok (9.12s)
test_dylink_raii_exceptions_reversed_wasm_legacy (test_core.thinltoz) ... ok (42.86s)
test_dylink_memory_growth (test_core.thinltoz) ... ok (10.50s)
test_dylink_many_postsets_reversed (test_core.thinltoz) ... ok (10.47s)
test_dylink_many_postsets (test_core.thinltoz) ... ok (10.96s)
test_dylink_locate_file_reversed (test_core.thinltoz) ... ok (10.35s)
test_dylink_locate_file (test_core.thinltoz) ... ok (9.15s)
env_modify: {'EMCC_FORCE_STDLIBS': 'libc++'}
test_dylink_load_compiled_side_module (test_core.thinltoz) ... ok (9.19s)
env_modify: {'EMCC_FORCE_STDLIBS': 'libc++'}
system_libs:INFO: compiled 56 inputs in 24.22s
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc++abi.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc++abi.a" for subsequent builds)
test_dylink_jslib_reversed (test_core.thinltoz) ... ok (5.21s)
test_dylink_jslib (test_core.thinltoz) ... ok (5.75s)
cache:WARNING: Accessing the Emscripten cache at "/b/s/w/ir/x/w/install/emscripten/cache" (for "sysroot/lib/wasm32-emscripten/thinlto-pic/libc++-legacyexcept.a") is taking a long time, another process should be writing to it. If there are none and you suspect this process has deadlocked, try deleting the lock file "/b/s/w/ir/x/w/install/emscripten/cache/cache.lock" and try again. If this occurs deterministically, consider filing a bug.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000572203c31d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000572203c2f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000572203c32576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f7ba0a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f7ba0a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f7ba0a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f7ba0a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f7ba0a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f7ba0a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f7ba0a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f7ba0a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005722066af6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005722066a6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005722066aea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005722066a5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005722066a502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005722066a5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005722066affbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000057220667830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005722068d3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005722052f0910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005722046719f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005722046632b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000572204662523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000572204662e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000572203fb398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000572203fba4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000572203fbbf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f7ba0a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f7ba0b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o liblib.wasm /b/s/w/ir/x/t/emtest_tahqdps1/emscripten_temp_lcogy8w3/liblib_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt --whole-archive -lc++-noexcept --no-whole-archive -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_tahqdps1/tmpffw4h2r2libemscripten_js_symbols.so --import-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=__wasm_apply_data_relocs --export-if-defined=_Z4sidev --export-if-defined=_ZNKSt3__26locale9use_facetERNS0_2idE --export-if-defined=_ZNKSt3__28ios_base6getlocEv --export-if-defined=_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc --export-if-defined=_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev --export-if-defined=_ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc --export-if-defined=_ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv --export-if-defined=_ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_ --export-if-defined=_ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev --export-if-defined=_ZNSt3__24coutE --export-if-defined=_ZNSt3__25ctypeIcE2idE --export-if-defined=_ZNSt3__26localeD1Ev --export-if-defined=_ZNSt3__28ios_base5clearEj --export-if-defined=__memory_base --export-if-defined=__stack_pointer --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_dylink_iostream_reversed (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000573126fbdd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000573126fbb7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000573126fbe576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c0a44642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c0a446969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c0a446969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c0a446969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007c0a44642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c0a446287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c0a4462871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c0a44639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000573129a3b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000573129a32044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000573129a3aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000573129a31465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000573129a3102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000573129a31875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000573129a3bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000573129a0430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000573129c5fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000057312867c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005731279fd9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005731279ef2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005731279ee523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005731279eee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000057312733f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005731273464ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000573127347f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c0a44694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c0a44726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_sie6dw2w/emscripten_temp__h3uyfo7/main_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt --whole-archive -lc++-noexcept --no-whole-archive -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_sie6dw2w/tmpjrwzkrf3libemscripten_js_symbols.so --import-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm --export-if-defined=_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2B8ne200100ILi0EEEPKc --export-if-defined=__memory_base --export-if-defined=strlen --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_dylink_iostream (test_core.thinltoz) ... FAIL
system_libs:INFO: compiled 16 inputs in 4.11s
cache:INFO: - ok
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005d84b7dabd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d84b7da97b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d84b7dac576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075033ee42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075033ee969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075033ee969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075033ee969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075033ee42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075033ee287f3 abort ./stdlib/abort.c:81:7
#9 0x000075033ee2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075033ee39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d84ba8296a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d84ba820044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d84ba828a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d84ba81f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d84ba81f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d84ba81f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d84ba829fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d84ba7f230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d84baa4de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d84b946a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d84b87eb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d84b87dd2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d84b87dc523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d84b87dce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d84b812d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d84b81344ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d84b8135f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075033ee94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075033ef26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_32bkaskn/emscripten_temp_xu9kkm3u/main_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lcompiler_rt -lc-debug -lc++-debug-noexcept -ldlmalloc-debug -lc++abi-debug-noexcept -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=strerror --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=emscripten_stack_get_base --export-if-defined=emscripten_stack_get_end --export-if-defined=free --export-if-defined=__cxa_can_catch --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_get_exception_ptr --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle /b/s/w/ir/x/t/emtest_32bkaskn/tmpf4abj0nblibemscripten_js_symbols.so --import-undefined --import-memory --strip-debug -u__cxa_atexit --export-if-defined=emscripten_stack_get_end --export-if-defined=emscripten_stack_get_free --export-if-defined=emscripten_stack_get_base --export-if-defined=emscripten_stack_get_current --export-if-defined=emscripten_stack_set_limits --export-if-defined=_emscripten_stack_alloc --export-if-defined=__wasm_call_ctors --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=_emscripten_find_dylib --export-if-defined=strerror --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=__cxa_can_catch --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_get_exception_ptr --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=fflush --export-if-defined=_ZNKSt3__26locale9use_facetERNS0_2idE --export-if-defined=_ZNKSt3__28ios_base6getlocEv --export-if-defined=_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc --export-if-defined=_ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev --export-if-defined=_ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_ --export-if-defined=_ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev --export-if-defined=_ZNSt3__24coutE --export-if-defined=_ZNSt3__25ctypeIcE2idE --export-if-defined=_ZNSt3__26localeD1Ev --export-if-defined=_ZNSt3__28ios_base5clearEj --export-if-defined=__memory_base --export-if-defined=__stack_pointer --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_dylink_syslibs_libcxx (test_core.thinltoz) ... FAIL
test_dylink_i64_reversed (test_core.thinltoz) ... ok (6.25s)
test_dylink_i64_invoke_rtld_local (test_core.thinltoz) ... ok (11.57s)
test_dylink_raii_exceptions_reversed_emscripten (test_core.thinltoz) ... ok (67.63s)
test_dylink_raii_exceptions_emscripten (test_core.thinltoz) ... ok (57.58s)
test_dylink_i64_invoke_bigint (test_core.thinltoz) ... ok (8.65s)
test_dylink_raii_exceptions_wasm_legacy (test_core.thinltoz) ... ok (72.06s)
test_dylink_i64_invoke_bigint_rtld_local (test_core.thinltoz) ... ok (9.38s)
test_dylink_i64_invoke (test_core.thinltoz) ... ok (8.65s)
test_dylink_hyper_dupe_reversed (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/12815'
test_dylink_hyper_dupe (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/12815'
test_dylink_i64_c_reversed (test_core.thinltoz) ... ok (8.90s)
test_dylink_i64_c_bigint_reversed (test_core.thinltoz) ... ok (7.74s)
test_dylink_i64 (test_core.thinltoz) ... ok (7.89s)
test_dylink_i64_c_bigint (test_core.thinltoz) ... ok (8.59s)
test_dylink_i64_c (test_core.thinltoz) ... ok (8.84s)
test_dylink_i64_b_reversed (test_core.thinltoz) ... ok (8.77s)
test_dylink_i64_b (test_core.thinltoz) ... ok (8.95s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000644cb2094d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000644cb20927b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000644cb2095576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000719102242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007191022969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007191022969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007191022969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000719102242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007191022287f3 abort ./stdlib/abort.c:81:7
#9 0x000071910222871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000719102239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000644cb4b126a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000644cb4b09044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000644cb4b11a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000644cb4b08465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000644cb4b0802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000644cb4b08875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000644cb4b12fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000644cb4adb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000644cb4d36e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000644cb3753910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000644cb2ad49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000644cb2ac62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000644cb2ac5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000644cb2ac5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000644cb241698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000644cb241d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000644cb241ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000719102294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000719102326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm --whole-archive /b/s/w/ir/x/t/emtest_8ybetpoc/emscripten_temp_yd07bus3/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=strerror --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy /b/s/w/ir/x/t/emtest_8ybetpoc/tmp4k893dellibemscripten_js_symbols.so --import-memory --strip-debug --export-dynamic -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_tempret_get --export=_emscripten_tempret_set --export=strerror --export=htons --export=ntohs --export=malloc --export=htonl --export=_emscripten_timeout --export=realloc --export=free --export=fileno --export=emscripten_builtin_memalign --export=__dl_seterr --export=memcmp --export=memcpy --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --experimental-pic --unresolved-symbols=import-dynamic -pie -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_dylink_global_var_export (test_core.thinltoz) ... FAIL
test_dylink_global_var_reversed (test_core.thinltoz) ... ok (9.03s)
test_dylink_global_var_modded_reversed (test_core.thinltoz) ... ok (8.93s)
test_dylink_global_var_modded (test_core.thinltoz) ... ok (9.36s)
test_dylink_global_var (test_core.thinltoz) ... ok (8.97s)
check warnings
test_dylink_global_init_reversed (test_core.thinltoz) ... ok (8.73s)
check warnings
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto-pic/libc_optz-debug.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/libc_optz-debug.a" for subsequent builds)
system_libs:INFO: compiled 7 inputs in 0.89s
test_dylink_global_init (test_core.thinltoz) ... ok (9.10s)
cache:INFO: - ok
test_dylink_function_pointer_equality_reversed (test_core.thinltoz) ... ok (9.19s)
test_dylink_function_pointer_equality (test_core.thinltoz) ... ok (9.01s)
test_dylink_global_inits_reversed (test_core.thinltoz) ... ok (15.95s)
test_dylink_global_inits (test_core.thinltoz) ... ok (16.43s)
test_dylink_exceptions_try_catch_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_dylink_funcpointers_wrapper_reversed (test_core.thinltoz) ... ok (8.76s)
test_dylink_exceptions_try_catch_reversed_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_dylink_funcpointers_wrapper (test_core.thinltoz) ... ok (8.67s)
test_dylink_funcpointer_reversed (test_core.thinltoz) ... ok (8.67s)
test_dylink_funcpointer (test_core.thinltoz) ... ok (8.45s)
test_dylink_exceptions_try_catch_6_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_dylink_floats (test_core.thinltoz) ... ok (8.15s)
test_dylink_floats_reversed (test_core.thinltoz) ... ok (9.04s)
test_dylink_exceptions_try_catch_2_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_dylink_exceptions_try_catch_wasm_legacy (test_core.thinltoz) ... ok (9.37s)
test_dylink_exceptions_try_catch_2_reversed_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_dylink_exceptions_try_catch_reversed_wasm_legacy (test_core.thinltoz) ... ok (9.67s)
test_dylink_exceptions_try_catch_reversed_emscripten (test_core.thinltoz) ... ok (9.60s)
test_dylink_exceptions_try_catch_emscripten (test_core.thinltoz) ... ok (9.98s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000060424bd15d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060424bd137b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060424bd16576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f6a84042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f6a840969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f6a840969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f6a840969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f6a84042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f6a840287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f6a8402871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f6a84039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060424e7936a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000060424e78a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060424e792a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000060424e789465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060424e78902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000060424e789875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060424e793fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060424e75c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060424e9b7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060424d3d4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060424c7559f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060424c7472b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060424c746523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060424c746e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060424c09798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060424c09e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060424c09ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f6a84094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f6a84126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm --whole-archive /b/s/w/ir/x/t/emtest_qezeqtzu/emscripten_temp_nrayrbsh/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm --export-if-defined=_emscripten_find_dylib --export-if-defined=_emscripten_stack_alloc --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=strerror --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=__cxa_throw --export-if-defined=free --export-if-defined=__get_exception_message --export-if-defined=__thrown_object_from_unwind_exception --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle /b/s/w/ir/x/t/emtest_qezeqtzu/tmpkeei2m1olibemscripten_js_symbols.so --import-memory --strip-debug --export-dynamic -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export=_emscripten_find_dylib --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=calloc --export=_emscripten_tempret_get --export=_emscripten_tempret_set --export=strerror --export=htons --export=ntohs --export=malloc --export=htonl --export=_emscripten_timeout --export=realloc --export=__cxa_throw --export=free --export=__get_exception_message --export=__thrown_object_from_unwind_exception --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=fileno --export=emscripten_builtin_memalign --export=__dl_seterr --export=memcmp --export=memcpy --export=__cxa_demangle --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --experimental-pic --unresolved-symbols=import-dynamic -pie -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_dylink_exceptions_try_catch_6_wasm_legacy (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_dylink_exceptions_try_catch_2_reversed_wasm_legacy (test_core.thinltoz) ... ok (10.42s)
#0 0x00005a0f20b25d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a0f20b237b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a0f20b26576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072e515642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072e5156969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072e5156969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072e5156969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072e515642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072e5156287f3 abort ./stdlib/abort.c:81:7
#9 0x000072e51562871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072e515639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a0f235a36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a0f2359a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a0f235a2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a0f23599465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a0f2359902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a0f23599875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a0f235a3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a0f2356c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a0f237c7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a0f221e4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a0f215659f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a0f215572b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a0f21556523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a0f21556e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a0f20ea798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a0f20eae4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a0f20eaff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072e515694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072e515726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm --whole-archive /b/s/w/ir/x/t/emtest__vsh6s_q/emscripten_temp_dqoh1fdp/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=strerror --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=__cxa_can_catch --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_get_exception_ptr --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=__get_exception_message --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle /b/s/w/ir/x/t/emtest__vsh6s_q/tmp1pmbdj42libemscripten_js_symbols.so --import-memory --strip-debug --export-dynamic -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_tempret_get --export=_emscripten_tempret_set --export=strerror --export=htons --export=ntohs --export=malloc --export=htonl --export=_emscripten_timeout --export=realloc --export=free --export=__cxa_get_exception_ptr --export=__get_exception_message --export=fileno --export=emscripten_builtin_memalign --export=__dl_seterr --export=memcmp --export=memcpy --export=__cxa_demangle --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --experimental-pic --unresolved-symbols=import-dynamic -pie -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
test_dylink_exceptions_try_catch_2_wasm_legacy (test_core.thinltoz) ... ok (11.02s)
None
None
test_dylink_exceptions_try_catch_6_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005958f9b9ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005958f9b987b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005958f9b9b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e3b95042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e3b950969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e3b950969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e3b950969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e3b95042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e3b950287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e3b9502871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e3b95039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005958fc6186a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005958fc60f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005958fc617a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005958fc60e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005958fc60e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005958fc60e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005958fc618fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005958fc5e130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005958fc83ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005958fb259910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005958fa5da9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005958fa5cc2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005958fa5cb523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005958fa5cbe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005958f9f1c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005958f9f234ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005958f9f24f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e3b95094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e3b95126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm --whole-archive /b/s/w/ir/x/t/emtest_9kn0hwy7/emscripten_temp_sbjgds2t/main_0.o -L. libb.wasm libc.wasm -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=strerror --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy /b/s/w/ir/x/t/emtest_9kn0hwy7/tmpgnamla2jlibemscripten_js_symbols.so --import-memory --strip-debug --export-dynamic -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_tempret_get --export=_emscripten_tempret_set --export=strerror --export=htons --export=ntohs --export=malloc --export=htonl --export=_emscripten_timeout --export=realloc --export=free --export=fileno --export=emscripten_builtin_memalign --export=__dl_seterr --export=memcmp --export=memcpy --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=__memory_base --export-if-defined=afunc --export-if-defined=__stack_pointer --export-if-defined=iprintf --export-if-defined=puts --experimental-pic --unresolved-symbols=import-dynamic -pie -z stack-size=65536 --no-growable-memory --initial-memory=33554432 --no-entry' failed (received SIGABRT (-6))
None
None
test_dylink_dso_needed (test_core.thinltoz) ... FAIL
test_dylink_exceptions_try_catch_2_reversed_emscripten (test_core.thinltoz) ... ok (10.80s)
test_dylink_basics_no_modify_reversed (test_core.thinltoz) ... skipped 'no modify mode only works with non-optimizing builds'
test_dylink_basics_no_modify (test_core.thinltoz) ... skipped 'no modify mode only works with non-optimizing builds'
test_dylink_exceptions_try_catch_2_emscripten (test_core.thinltoz) ... ok (10.32s)
test_dylink_dynamic_cast_reversed (test_core.thinltoz) ... ok (10.19s)
test_dylink_dynamic_cast (test_core.thinltoz) ... ok (9.72s)
test_double_varargs (test_core.thinltoz) ... skipped 'is_wasm2js : tests va_arg()'
test_double_i64_conversion (test_core.thinltoz) ... skipped 'is_wasm2js : tests 64-bit conversions'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005ce4ed2b1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ce4ed2af7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ce4ed2b2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a0082842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a00828969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a00828969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a00828969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a0082842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a00828287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a008282871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a0082839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ce4efd2f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ce4efd26044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ce4efd2ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ce4efd25465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ce4efd2502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ce4efd25875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ce4efd2ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ce4efcf830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ce4eff53e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ce4ee970910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ce4edcf19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ce4edce32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ce4edce2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ce4edce2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ce4ed63398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ce4ed63a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ce4ed63bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a0082894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a0082926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o a.out.wasm /b/s/w/ir/x/t/emtest_xkoqhpz4/emscripten_temp_cpd0340e/test_dwarf_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xkoqhpz4/tmpzp84fidzlibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_dwarf (test_core.thinltoz) ... FAIL
#0 0x0000586a6b27bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000586a6b2797b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000586a6b27c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072a74e842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072a74e8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072a74e8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072a74e8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072a74e842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072a74e8287f3 abort ./stdlib/abort.c:81:7
#9 0x000072a74e82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072a74e839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000586a6dcf96a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000586a6dcf0044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000586a6dcf8a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000586a6dcef465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000586a6dcef02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000586a6dcef875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000586a6dcf9fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000586a6dcc230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000586a6df1de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000586a6c93a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000586a6bcbb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000586a6bcad2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000586a6bcac523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000586a6bcace44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000586a6b5fd98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000586a6b6044ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000586a6b605f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072a74e894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072a74e926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_dlmalloc_partial_2.wasm /b/s/w/ir/x/t/emtest_hvaf3ljc/emscripten_temp_vr8t_1or/test_dlmalloc_partial_2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_hvaf3ljc/tmpn6h1xx9blibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_dlmalloc_partial_2 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000593c58491d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000593c5848f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000593c58492576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fda82642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007fda826969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007fda826969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007fda826969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007fda82642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007fda826287f3 abort ./stdlib/abort.c:81:7
#9 0x00007fda8262871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007fda82639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000593c5af0f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000593c5af06044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000593c5af0ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000593c5af05465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000593c5af0502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000593c5af05875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000593c5af0ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000593c5aed830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000593c5b133e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000593c59b50910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000593c58ed19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000593c58ec32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000593c58ec2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000593c58ec2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000593c5881398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000593c5881a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000593c5881bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007fda82694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007fda82726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_dqrgzw2x/emscripten_temp_ri924bsz/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_dqrgzw2x/tmpwzug_tg0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_dlmalloc_partial (test_core.thinltoz) ... FAIL
test_dylink_class_reversed (test_core.thinltoz) ... ok (9.14s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_dylink_dot_a_reversed (test_core.thinltoz) ... ok (9.93s)
#0 0x000056e48fb01d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056e48faff7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056e48fb02576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078ca5ea42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078ca5ea969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078ca5ea969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078ca5ea969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078ca5ea42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078ca5ea287f3 abort ./stdlib/abort.c:81:7
#9 0x000078ca5ea2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078ca5ea39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056e49257f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056e492576044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056e49257ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056e492575465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056e49257502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056e492575875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056e49257ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056e49254830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056e4927a3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056e4911c0910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056e4905419f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056e4905332b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056e490532523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056e490532e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056e48fe8398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056e48fe8a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056e48fe8bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078ca5ea94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078ca5eb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_dylink_dot_a (test_core.thinltoz) ... ok (9.99s)
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o dlmalloc_test_large.wasm /b/s/w/ir/x/t/emtest_cuo9k4e6/emscripten_temp_8f0nla86/dlmalloc_test_large_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cuo9k4e6/tmpmaacuwxnlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --max-memory=134217728 --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_dlmalloc_large (test_core.thinltoz) ... FAIL
#0 0x000058cf0a348d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058cf0a3467b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058cf0a349576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000755ba4042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000755ba40969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000755ba40969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000755ba40969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000755ba4042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000755ba40287f3 abort ./stdlib/abort.c:81:7
#9 0x0000755ba402871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000755ba4039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058cf0cdc66a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058cf0cdbd044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058cf0cdc5a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058cf0cdbc465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058cf0cdbc02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058cf0cdbc875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058cf0cdc6fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058cf0cd8f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058cf0cfeae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058cf0ba07910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058cf0ad889f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058cf0ad7a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058cf0ad79523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058cf0ad79e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058cf0a6ca98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058cf0a6d14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058cf0a6d2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000755ba4094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000755ba4126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o dlmalloc_test.wasm /b/s/w/ir/x/t/emtest_aqvdxyle/emscripten_temp_ghpv4u6t/dlmalloc_test_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_aqvdxyle/tmpmi7h_zivlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=134217728 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_dlmalloc (test_core.thinltoz) ... FAIL
#0 0x00005ffa949bed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ffa949bc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ffa949bf576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a14f0242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a14f02969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a14f02969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a14f02969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a14f0242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a14f02287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a14f022871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a14f0239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ffa9743c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ffa97433044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ffa9743ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ffa97432465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ffa9743202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ffa97432875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ffa9743cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ffa9740530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ffa97660e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ffa9607d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ffa953fe9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ffa953f02b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ffa953ef523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ffa953efe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ffa94d4098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ffa94d474ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ffa94d48f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a14f0294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a14f0326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_wgya6sa1/emscripten_temp_v1nea4mi/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wgya6sa1/tmp5b5857molibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=134217728 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_dlmalloc_inline (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000056012a813d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056012a8117b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056012a814576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a7918042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a79180969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a79180969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a79180969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a7918042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a79180287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a791802871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a7918039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056012d2916a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056012d288044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056012d290a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056012d287465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056012d28702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056012d287875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056012d291fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056012d25a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056012d4b5e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056012bed2910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056012b2539f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056012b2452b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056012b244523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056012b244e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056012ab9598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056012ab9c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056012ab9df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a7918094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a7918126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_dlfcn_self.wasm --whole-archive /b/s/w/ir/x/t/emtest_e33yeiay/emscripten_temp_e5kle0ex/test_dlfcn_self_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=strerror --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy /b/s/w/ir/x/t/emtest_e33yeiay/tmptgb6_jt2libemscripten_js_symbols.so --import-memory --strip-debug --export-dynamic -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_tempret_get --export=_emscripten_tempret_set --export=strerror --export=htons --export=ntohs --export=malloc --export=htonl --export=_emscripten_timeout --export=realloc --export=free --export=fileno --export=emscripten_builtin_memalign --export=__dl_seterr --export=memcmp --export=memcpy --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --experimental-pic --unresolved-symbols=import-dynamic -pie -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_dlfcn_self (test_core.thinltoz) ... FAIL
test_dylink_class (test_core.thinltoz) ... ok (9.25s)
test_dylink_basics (test_core.thinltoz) ... ok (8.81s)
test_dylink_argv_argc (test_core.thinltoz) ... ok (9.15s)
test_dlfcn_varargs (test_core.thinltoz) ... ok (9.00s)
test_dlfcn_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_dlfcn_unique_sig (test_core.thinltoz) ... ok (9.25s)
test_dlfcn_stacks (test_core.thinltoz) ... ok (9.39s)
test_dlfcn_rtld_local (test_core.thinltoz) ... ok (10.26s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_dlfcn_qsort (test_core.thinltoz) ... ok (9.19s)
#0 0x0000613b84953d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000613b849517b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000613b84954576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e44e9242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e44e92969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e44e92969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e44e92969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e44e9242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e44e92287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e44e922871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e44e9239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000613b873d16a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000613b873c8044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000613b873d0a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000613b873c7465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000613b873c702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000613b873c7875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000613b873d1fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000613b8739a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000613b875f5e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000613b86012910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000613b853939f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000613b853852b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000613b85384523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000613b85384e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000613b84cd598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000613b84cdc4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000613b84cddf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e44e9294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e44e9326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm --whole-archive /b/s/w/ir/x/t/emtest_w1kv4eht/emscripten_temp_zha5r7ii/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lc++-debug-noexcept -lc++abi-debug-noexcept -lsockets --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=strerror --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=emscripten_stack_get_base --export-if-defined=emscripten_stack_get_end --export-if-defined=free --export-if-defined=__cxa_can_catch --export-if-defined=__cxa_increment_exception_refcount --export-if-defined=__cxa_get_exception_ptr --export-if-defined=__cxa_decrement_exception_refcount --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy --export-if-defined=__cxa_demangle /b/s/w/ir/x/t/emtest_w1kv4eht/tmpv2wqownslibemscripten_js_symbols.so --import-memory --strip-debug --export-dynamic -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_set_limits --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=setThrew --export=_emscripten_stack_restore --export=_emscripten_find_dylib --export=strerror --export=calloc --export=_emscripten_tempret_get --export=_emscripten_tempret_set --export=htons --export=ntohs --export=malloc --export=htonl --export=_emscripten_timeout --export=realloc --export=free --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_get_exception_ptr --export=__cxa_decrement_exception_refcount --export=fileno --export=emscripten_builtin_memalign --export=__dl_seterr --export=memcmp --export=memcpy --export=__cxa_demangle --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=fflush --experimental-pic --unresolved-symbols=import-dynamic -pie -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_dlfcn_missing (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005baf92ac2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005baf92ac07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005baf92ac3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f2fc9642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f2fc96969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f2fc96969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f2fc96969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f2fc9642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f2fc96287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f2fc962871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f2fc9639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005baf955406a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005baf95537044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005baf9553fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005baf95536465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005baf9553602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005baf95536875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005baf95540fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005baf9550930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005baf95764e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005baf94181910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005baf935029f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005baf934f42b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005baf934f3523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005baf934f3e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005baf92e4498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005baf92e4b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005baf92e4cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f2fc9694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f2fc9726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_dlfcn_preload (test_core.thinltoz) ... ok (10.05s)
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm --whole-archive /b/s/w/ir/x/t/emtest__q5xlyrk/emscripten_temp_ex9es_6g/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets --no-whole-archive -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export-if-defined=setThrew --export-if-defined=_emscripten_stack_restore --export-if-defined=emscripten_stack_get_current --export-if-defined=_emscripten_find_dylib --export-if-defined=_emscripten_stack_alloc --export-if-defined=calloc --export-if-defined=_emscripten_tempret_get --export-if-defined=_emscripten_tempret_set --export-if-defined=strerror --export-if-defined=htons --export-if-defined=ntohs --export-if-defined=malloc --export-if-defined=htonl --export-if-defined=_emscripten_timeout --export-if-defined=realloc --export-if-defined=free --export-if-defined=fileno --export-if-defined=emscripten_builtin_memalign --export-if-defined=__dl_seterr --export-if-defined=memcmp --export-if-defined=memcpy /b/s/w/ir/x/t/emtest__q5xlyrk/tmpr85u23f9libemscripten_js_symbols.so --import-memory --strip-debug --export-dynamic -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_tempret_get --export=_emscripten_tempret_set --export=strerror --export=htons --export=ntohs --export=malloc --export=htonl --export=_emscripten_timeout --export=realloc --export=free --export=fileno --export=emscripten_builtin_memalign --export=__dl_seterr --export=memcmp --export=memcpy --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --experimental-pic --unresolved-symbols=import-dynamic -pie -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry' failed (received SIGABRT (-6))
None
None
test_dlfcn_handle_alloc (test_core.thinltoz) ... FAIL
test_dlfcn_longjmp (test_core.thinltoz) ... ok (8.89s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_dlfcn_info (test_core.thinltoz) ... ok (7.70s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
test_dlfcn_asyncify_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_7yd6_46g/emscripten_temp_qgnili5x/src_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_7yd6_46g/tmpvsmu9h9mlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=fflush --export-if-defined=__memory_base --export-if-defined=emscripten_builtin_memalign --export-if-defined=pthread_self --export-if-defined=puts --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main' failed (received SIGABRT (-6))
None
None
test_dlfcn_basic_pthreads (test_core.thinltoz) ... FAIL
test_dlfcn_i64 (test_core.thinltoz) ... ok (9.07s)
test_dlfcn_funcs (test_core.thinltoz) ... ok (9.58s)
test_dlfcn_feature_in_lib (test_core.thinltoz) ... ok (9.08s)
test_dlfcn_em_asm (test_core.thinltoz) ... ok (8.80s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
test_dlfcn_data_and_fptr (test_core.thinltoz) ... ok (8.88s)
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_direct_string_constant_usage.wasm /b/s/w/ir/x/t/emtest_6h9i45pl/emscripten_temp_1x00pk3e/test_direct_string_constant_usage_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_6h9i45pl/tmp7877269dlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_direct_string_constant_usage (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_cubescript_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_dlfcn_basic (test_core.thinltoz) ... ok (9.18s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005779c9488d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005779c94867b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005779c9489576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000757f68242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000757f682969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000757f682969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000757f682969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000757f68242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000757f682287f3 abort ./stdlib/abort.c:81:7
#9 0x0000757f6822871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000757f68239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005779cbf066a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005779cbefd044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005779cbf05a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005779cbefc465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005779cbefc02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005779cbefc875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005779cbf06fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005779cbecf30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005779cc12ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005779cab47910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005779c9ec89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005779c9eba2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005779c9eb9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005779c9eb9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005779c980a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005779c98114ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005779c9812f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000757f68294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000757f68326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_demangle_stacks.wasm /b/s/w/ir/x/t/emtest_cvmyukuw/emscripten_temp_zbeoesnu/test_demangle_stacks_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cvmyukuw/tmp5em6jztblibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x00005ab6df93dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ab6df93b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ab6df93e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e866d242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e866d2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e866d2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e866d2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e866d242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e866d2287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e866d22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e866d239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ab6e23bb6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ab6e23b2044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ab6e23baa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ab6e23b1465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ab6e23b102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ab6e23b1875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ab6e23bbfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ab6e238430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ab6e25dfe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ab6e0ffc910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ab6e037d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ab6e036f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ab6e036e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ab6e036ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ab6dfcbf98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ab6dfcc64ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ab6dfcc7f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e866d294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e866d326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_demangle_stacks_symbol_map (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_demangle_stacks.wasm /b/s/w/ir/x/t/emtest_9bcxv8qx/emscripten_temp_x8ddryzr/test_demangle_stacks_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lc++-debug-noexcept -lc++abi-debug-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9bcxv8qx/tmpgl_g6gqulibemscripten_js_symbols.so -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_demangle_stacks_normal (test_core.thinltoz) ... FAIL
#0 0x00005e04a3c91d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e04a3c8f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e04a3c92576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f8444c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f8444c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f8444c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f8444c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f8444c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f8444c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f8444c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f8444c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e04a670f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e04a6706044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e04a670ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e04a6705465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e04a670502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e04a6705875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e04a670ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e04a66d830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e04a6933e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e04a5350910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e04a46d19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e04a46c32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e04a46c2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e04a46c2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e04a401398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e04a401a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e04a401bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f8444c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f8444d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
<building and saving third_party_cube2hash_Oz_f0082f195c28835844d5c35fce9e0f2a into cache>
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_demangle_stacks.wasm /b/s/w/ir/x/t/emtest_97px8d_o/emscripten_temp_povvazfm/test_demangle_stacks_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lc++-debug-noexcept -lc++abi-debug-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_97px8d_o/tmpfo_n714zlibemscripten_js_symbols.so -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_demangle_stacks_noexcept (test_core.thinltoz) ... FAIL
<building and saving third_party_cube2hash_Oz_443dcf98620889d86c9cd6479fc3c286 into cache>
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000559090160d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055909015e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000559090161576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073df89842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073df898969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073df898969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073df898969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073df89842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073df898287f3 abort ./stdlib/abort.c:81:7
#9 0x000073df8982871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073df89839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000559092bde6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000559092bd5044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000559092bdda48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000559092bd4465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000559092bd402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000559092bd4875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000559092bdefbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000559092ba730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000559092e02e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055909181f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000559090ba09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000559090b922b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000559090b91523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000559090b91e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005590904e298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005590904e94ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005590904eaf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073df89894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073df89926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000582fdf8efd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000582fdf8ed7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000582fdf8f0576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000787b9b642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000787b9b6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000787b9b6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000787b9b6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000787b9b642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000787b9b6287f3 abort ./stdlib/abort.c:81:7
#9 0x0000787b9b62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000787b9b639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000582fe236d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000582fe2364044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000582fe236ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000582fe2363465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000582fe236302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000582fe2363875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000582fe236dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000582fe233630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000582fe2591e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000582fe0fae910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000582fe032f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000582fe03212b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000582fe0320523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000582fe0320e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000582fdfc7198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000582fdfc784ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000582fdfc79f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000787b9b694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000787b9b726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_dlfcn_alignment_and_zeroing (test_core.thinltoz) ... ok (9.31s)
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o command.wasm /b/s/w/ir/x/t/emtest_lm2xgttb/emscripten_temp_v5aym28p/command_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_lm2xgttb/tmpd4f69q2jlibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_cubescript_asyncify (test_core.thinltoz) ... FAIL
#0 0x00005cdebe036d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005cdebe0347b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005cdebe037576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007bc2c7242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007bc2c72969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007bc2c72969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007bc2c72969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007bc2c7242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007bc2c72287f3 abort ./stdlib/abort.c:81:7
#9 0x00007bc2c722871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007bc2c7239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005cdec0ab46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005cdec0aab044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005cdec0ab3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005cdec0aaa465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005cdec0aaa02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005cdec0aaa875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005cdec0ab4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005cdec0a7d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005cdec0cd8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005cdebf6f5910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005cdebea769f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005cdebea682b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005cdebea67523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005cdebea67e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005cdebe3b898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005cdebe3bf4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005cdebe3c0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007bc2c7294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007bc2c7326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_cube2md5.wasm /b/s/w/ir/x/t/emtest_5gybky5u/emscripten_temp_8ymvvy9m/test_cube2md5_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/t/emtest_5gybky5u/emscripten_temp_8ymvvy9m/embedded_files.o -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_5gybky5u/tmp060df1ptlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_cube2md5 (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o command.wasm /b/s/w/ir/x/t/emtest_ymyd8tfh/emscripten_temp_drqt5if9/command_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ymyd8tfh/tmp3kiur81ylibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_cubescript (test_core.thinltoz) ... FAIL
#0 0x000061597e5fcd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061597e5fa7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061597e5fd576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073337ae42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073337ae969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073337ae969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073337ae969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073337ae42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073337ae287f3 abort ./stdlib/abort.c:81:7
#9 0x000073337ae2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073337ae39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061598107a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000615981071044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000615981079a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000615981070465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061598107002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000615981070875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061598107afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061598104330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000061598129ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061597fcbb910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061597f03c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061597f02e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061597f02d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061597f02de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061597e97e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061597e9854ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061597e986f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073337ae94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073337af26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_oeniawhh/emscripten_temp_xty52gl5/src_0.o /b/s/w/ir/x/t/emtest_oeniawhh/emscripten_test_thinltoz_lc8yl3kh/building/third_party/cube2hash/libcube2hash.a -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_oeniawhh/tmp_tc4nl5xlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_cube2hash (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005cbb4cdfcd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005cbb4cdfa7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005cbb4cdfd576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000762e71242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000762e712969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000762e712969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000762e712969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000762e71242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000762e712287f3 abort ./stdlib/abort.c:81:7
#9 0x0000762e7122871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000762e71239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005cbb4f87a6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005cbb4f871044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005cbb4f879a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005cbb4f870465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005cbb4f87002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005cbb4f870875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005cbb4f87afbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005cbb4f84330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005cbb4fa9ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005cbb4e4bb910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005cbb4d83c9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005cbb4d82e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005cbb4d82d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005cbb4d82de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005cbb4d17e98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005cbb4d1854ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005cbb4d186f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000762e71294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000762e71326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005f50b4bced28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f50b4bcc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f50b4bcf576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077a09f642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077a09f6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000077a09f6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000077a09f6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000077a09f642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000077a09f6287f3 abort ./stdlib/abort.c:81:7
#9 0x000077a09f62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000077a09f639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f50b764c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f50b7643044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f50b764ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f50b7642465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f50b764202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f50b7642875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f50b764cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f50b761530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f50b7870e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f50b628d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f50b560e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f50b56002b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f50b55ff523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f50b55ffe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f50b4f5098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f50b4f574ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f50b4f58f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000077a09f694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000077a09f726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005f01603bbd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f01603b97b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f01603bc576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000741b1ae42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000741b1ae969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000741b1ae969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000741b1ae969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000741b1ae42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000741b1ae287f3 abort ./stdlib/abort.c:81:7
#9 0x0000741b1ae2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000741b1ae39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f0162e396a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f0162e30044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f0162e38a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f0162e2f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f0162e2f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f0162e2f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f0162e39fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f0162e0230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f016305de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f0161a7a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f0160dfb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f0160ded2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f0160dec523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f0160dece44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f016073d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f01607444ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f0160745f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000741b1ae94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000741b1af26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ctype.wasm /b/s/w/ir/x/t/emtest_xsnxok_n/emscripten_temp_be5gxed5/test_ctype_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xsnxok_n/tmpuo63bpb6libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_ctype (test_core.thinltoz) ... FAIL
test_dlfcn_asyncify (test_core.thinltoz) ... ok (11.67s)
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ctors_no_main.wasm /b/s/w/ir/x/t/emtest_jginr341/emscripten_temp_p16539cw/test_ctors_no_main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_jginr341/tmpvdkspqs1libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000063e14a4b5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063e14a4b37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063e14a4b6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000701738842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_ubhifx2k/emscripten_temp_88hnwl6u/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ubhifx2k/tmpsr9vc1jklibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#4 0x00007017388969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007017388969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007017388969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000701738842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007017388287f3 abort ./stdlib/abort.c:81:7
#9 0x000070173882871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000701738839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063e14cf336a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063e14cf2a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063e14cf32a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063e14cf29465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063e14cf2902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063e14cf29875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063e14cf33fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063e14cefc30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063e14d157e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063e14bb74910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063e14aef59f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063e14aee72b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063e14aee6523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063e14aee6e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063e14a83798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063e14a83e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063e14a83ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000701738894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000701738926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_ctors_no_main (test_core.thinltoz) ... FAIL
None
None
test_cxx_self_assign (test_core.thinltoz) ... FAIL
test_closebitcasts (test_core.thinltoz) ... skipped 'is_wasm2js : tests pointer casts'
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_core_types.wasm /b/s/w/ir/x/t/emtest_csg16bxj/emscripten_temp_vt18ilmw/test_core_types_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_csg16bxj/tmpm7vxq1q1libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_core_types (test_core.thinltoz) ... FAIL
#0 0x000055f4c9baed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055f4c9bac7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055f4c9baf576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000071cfc2842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000071cfc28969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000071cfc28969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000071cfc28969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000071cfc2842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000071cfc28287f3 abort ./stdlib/abort.c:81:7
#9 0x000071cfc282871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000071cfc2839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055f4cc62c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055f4cc623044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055f4cc62ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055f4cc622465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055f4cc62202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055f4cc622875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055f4cc62cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055f4cc5f530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055f4cc850e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055f4cb26d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055f4ca5ee9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055f4ca5e02b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055f4ca5df523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055f4ca5dfe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055f4c9f3098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055f4c9f374ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055f4c9f38f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000071cfc2894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000071cfc2926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_copyop.wasm /b/s/w/ir/x/t/emtest_fu8owfzy/emscripten_temp_nd79pxol/test_copyop_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_fu8owfzy/tmp6ttnlxvnlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_copyop (test_core.thinltoz) ... FAIL
#0 0x00005df44c1cfd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005df44c1cd7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005df44c1d0576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ca6b1842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ca6b18969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ca6b18969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ca6b18969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ca6b1842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ca6b18287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ca6b182871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ca6b1839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005df44ec4d6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005df44ec44044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005df44ec4ca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005df44ec43465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005df44ec4302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005df44ec43875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005df44ec4dfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005df44ec1630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005df44ee71e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005df44d88e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005df44cc0f9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005df44cc012b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005df44cc00523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005df44cc00e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005df44c55198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005df44c5584ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005df44c559f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ca6b1894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ca6b1926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
<building and saving third_party_bullet_Oz_b637cca4dbfcc18da4ac6a2fb42749eccmake into cache>
#0 0x000064d7cc794d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000064d7cc7927b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000064d7cc795576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007722c9442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007722c94969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007722c94969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007722c94969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007722c9442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007722c94287f3 abort ./stdlib/abort.c:81:7
#9 0x00007722c942871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007722c9439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000064d7cf2126a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000064d7cf209044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000064d7cf211a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000064d7cf208465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000064d7cf20802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000064d7cf208875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000064d7cf212fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000064d7cf1db30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000064d7cf436e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000064d7cde53910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000064d7cd1d49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000064d7cd1c62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000064d7cd1c5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000064d7cd1c5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064d7ccb1698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000064d7ccb1d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000064d7ccb1ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007722c9494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007722c9526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_constglobalstructs.wasm /b/s/w/ir/x/t/emtest_vct7dz7_/emscripten_temp_6amtw2_x/test_constglobalstructs_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_vct7dz7_/tmpqtepouxqlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_constglobalstructs (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_conststructs.wasm /b/s/w/ir/x/t/emtest_sxs5w7pg/emscripten_temp_v0ij6txz/test_conststructs_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_sxs5w7pg/tmpe6oaavb0libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_conststructs (test_core.thinltoz) ... FAIL
test_bswap64_standalone (test_core.thinltoz) ... skipped 'is_wasm2js : tests byte conversions'
test_bswap64 (test_core.thinltoz) ... skipped 'is_wasm2js : tests byte conversions'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
<building and saving third_party_bullet_Oz_3f591edcbc52ac7e7272f7e3ecb0a7a4sh into cache>
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005d45b5a90d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d45b5a8e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d45b5a91576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000070a48ba42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000070a48ba969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000070a48ba969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000070a48ba969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000070a48ba42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000070a48ba287f3 abort ./stdlib/abort.c:81:7
#9 0x000070a48ba2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000070a48ba39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d45b850e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d45b8505044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d45b850da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d45b8504465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d45b850402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d45b8504875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d45b850efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d45b84d730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d45b8732e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d45b714f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d45b64d09f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d45b64c22b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d45b64c1523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d45b64c1e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d45b5e1298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d45b5e194ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d45b5e1af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000070a48ba94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000070a48bb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_nniqsr8o/emscripten_temp_2z3mfznb/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_nniqsr8o/tmptvpykstmlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x000058deee3ded28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058deee3dc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058deee3df576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ff663442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ff6634969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ff6634969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ff6634969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ff663442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ff6634287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ff66342871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ff663439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058def0e5c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058def0e53044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058def0e5ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058def0e52465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058def0e5202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058def0e52875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058def0e5cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058def0e2530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058def1080e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058deefa9d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058deeee1e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058deeee102b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058deeee0f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058deeee0fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058deee76098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058deee7674ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058deee768f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ff663494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ff663526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_constglobalunion (test_core.thinltoz) ... FAIL
#0 0x00005a4a0ea6cd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a4a0ea6a7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a4a0ea6d576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b0395842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b03958969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b03958969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b03958969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b0395842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b03958287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b039582871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b0395839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a4a114ea6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a4a114e1044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a4a114e9a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a4a114e0465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a4a114e002e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a4a114e0875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a4a114eafbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a4a114b330b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a4a1170ee76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a4a1012b910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a4a0f4ac9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a4a0f49e2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a4a0f49d523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a4a0f49de44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a4a0edee98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a4a0edf54ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a4a0edf6f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b0395894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b0395926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ccall.wasm /b/s/w/ir/x/t/emtest_4v9r8a53/emscripten_temp_uf2xua4c/test_ccall_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_4v9r8a53/tmp_a1w8q_2libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=get_int --export=get_float --export=get_bool --export=get_string --export=print_int --export=print_float --export=print_bool --export=print_string --export=multi --export=pointer --export=call_ccall_again --export=malloc --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_ccall (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_ccall.wasm /b/s/w/ir/x/t/emtest_lii3xds8/emscripten_temp_uds_4v_y/test_ccall_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_lii3xds8/tmp3arvdvy7libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=print_bool --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
test_bitfields (test_core.thinltoz) ... skipped 'is_wasm2js : tests 1-bit fields'
None
None
test_ccall_cwrap_fast_path (test_core.thinltoz) ... FAIL
#0 0x000058ef64c51d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058ef64c4f7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058ef64c52576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f21e8242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f21e82969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f21e82969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f21e82969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f21e8242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f21e82287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f21e822871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f21e8239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058ef676cf6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058ef676c6044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058ef676cea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058ef676c5465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058ef676c502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058ef676c5875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058ef676cffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058ef6769830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058ef678f3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058ef66310910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058ef656919f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058ef656832b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058ef65682523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058ef65682e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058ef64fd398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058ef64fda4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058ef64fdbf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f21e8294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f21e8326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
common:WARNING: no wasm engine was found to run the standalone part of this test
common:WARNING: no wasm engine was found to run the standalone part of this test
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_bsearch.wasm /b/s/w/ir/x/t/emtest_u4_sea_4/emscripten_temp_vebxhazt/test_bsearch_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_u4_sea_4/tmpf2uvh5qwlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
common:WARNING: no wasm engine was found to run the standalone part of this test
None
None
test_bsearch (test_core.thinltoz) ... FAIL
test_biggerswitch (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/22179'
test_ctors_no_main_standalone (test_core.thinltoz) ... ok (5.49s)
common:WARNING: no wasm engine was found to run the standalone part of this test
#0 0x00005e65d7b09d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e65d7b077b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e65d7b0a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007feaeae42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007feaeae969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007feaeae969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007feaeae969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007feaeae42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007feaeae287f3 abort ./stdlib/abort.c:81:7
#9 0x00007feaeae2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007feaeae39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e65da5876a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e65da57e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e65da586a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e65da57d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e65da57d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e65da57d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e65da587fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e65da55030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e65da7abe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e65d91c8910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e65d85499f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e65d853b2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e65d853a523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e65d853ae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e65d7e8b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e65d7e924ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e65d7e93f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007feaeae94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007feaeaf26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
common:WARNING: no wasm engine was found to run the standalone part of this test
test_cube2hash_standalone (test_core.thinltoz) ... ok (8.35s)
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_sbrk_brk.wasm /b/s/w/ir/x/t/emtest_dfoh2hkh/emscripten_temp_drluggpk/test_sbrk_brk_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_dfoh2hkh/tmp2lt0utqhlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_bad_typeid_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
None
None
test_brk (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o binaryen_2170_emscripten_atomic_cas_u8.wasm /b/s/w/ir/x/t/emtest_iii2gty7/emscripten_temp_hwcttnrv/binaryen_2170_emscripten_atomic_cas_u8_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lnoexit -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_iii2gty7/tmp9gojdkkylibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_binaryen_2170_emscripten_atomic_cas_u8 (test_core.thinltoz) ... FAIL
#0 0x00005f3fe31bbd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f3fe31b97b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f3fe31bc576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078cc07642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000078cc076969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000078cc076969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000078cc076969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000078cc07642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000078cc076287f3 abort ./stdlib/abort.c:81:7
#9 0x000078cc0762871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000078cc07639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f3fe5c396a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f3fe5c30044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f3fe5c38a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f3fe5c2f465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f3fe5c2f02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f3fe5c2f875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f3fe5c39fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f3fe5c0230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f3fe5e5de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f3fe487a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f3fe3bfb9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f3fe3bed2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f3fe3bec523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f3fe3bece44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f3fe353d98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f3fe35444ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f3fe3545f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000078cc07694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000078cc07726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_bigarray.wasm /b/s/w/ir/x/t/emtest_8wgkaz99/emscripten_temp_k_wk35h9/test_bigarray_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8wgkaz99/tmp254i6_7hlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_bigarray (test_core.thinltoz) ... FAIL
-- configure stdout --
checking build system type... x86_64-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... /b/s/w/ir/x/w/install/emscripten/emcc
checking for C compiler default output file name...
-- end configure stdout --
-- configure stderr --
configure: sh ./configure --disable-shared --host=i686-pc-linux-gnu --disable-demos --disable-dependency-tracking
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
configure: error: C compiler cannot create executables
See `config.log' for more details.
emconfigure: error: 'sh ./configure --disable-shared --host=i686-pc-linux-gnu --disable-demos --disable-dependency-tracking' failed (returned 77)
-- end configure stderr --
test_bullet_autoconf (test_core.thinltoz) ... ERROR
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_kdgdin98/emscripten_temp_y9cdimbo/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_kdgdin98/tmphtrirzbdlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
None
None
test_bad_typeid_wasm_legacy (test_core.thinltoz) ... FAIL
env_modify: {'EMCC_AUTODEBUG': '1'}
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_jrwge51r/emscripten_temp_w7o1hm4m/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_jrwge51r/tmptu9onvk4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_bad_typeid_emscripten (test_core.thinltoz) ... FAIL
env_modify: {'EMCC_AUTODEBUG': '1'}
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000058432e1c8d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058432e1c67b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058432e1c9576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007828d0442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007828d04969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007828d04969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007828d04969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007828d0442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007828d04287f3 abort ./stdlib/abort.c:81:7
#9 0x00007828d042871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007828d0439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000584330c466a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000584330c3d044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000584330c45a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000584330c3c465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000584330c3c02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000584330c3c875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000584330c46fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000584330c0f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000584330e6ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058432f887910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058432ec089f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058432ebfa2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058432ebf9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058432ebf9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058432e54a98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058432e5514ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058432e552f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007828d0494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007828d0526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_bigswitch.wasm /b/s/w/ir/x/t/emtest_fqn3r3cm/emscripten_temp_uft9vkcg/test_bigswitch_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_fqn3r3cm/tmpfy8099qulibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_bigswitch (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000055d91664dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055d91664b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055d91664e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a3c9e242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007a3c9e2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007a3c9e2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007a3c9e2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007a3c9e242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007a3c9e2287f3 abort ./stdlib/abort.c:81:7
#9 0x00007a3c9e22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007a3c9e239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055d9190cb6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055d9190c2044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055d9190caa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055d9190c1465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055d9190c102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055d9190c1875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055d9190cbfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055d91909430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055d9192efe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055d917d0c910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055d91708d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055d91707f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055d91707e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055d91707ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055d9169cf98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055d9169d64ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055d9169d7f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007a3c9e294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007a3c9e326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_autodebug.wasm /b/s/w/ir/x/t/emtest_qf5dlmir/emscripten_temp_a1nj_qsa/test_autodebug_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_qf5dlmir/tmp7v8v1ox6libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=_emscripten_tempret_set --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_autodebug_wasm (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000560d642a7d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000560d642a57b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000560d642a8576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074896fc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074896fc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074896fc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074896fc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074896fc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074896fc287f3 abort ./stdlib/abort.c:81:7
#9 0x000074896fc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074896fc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000560d66d256a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000560d66d1c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000560d66d24a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000560d66d1b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000560d66d1b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000560d66d1b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000560d66d25fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000560d66cee30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000560d66f49e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000560d65966910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000560d64ce79f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000560d64cd92b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000560d64cd8523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000560d64cd8e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000560d6462998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000560d646304ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000560d64631f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074896fc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074896fd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_atomic.wasm /b/s/w/ir/x/t/emtest_d55xzdgh/emscripten_temp_yw_h1pm6/test_atomic_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_d55xzdgh/tmpthm9mb3ulibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_atomic (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005822bce78d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005822bce767b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005822bce79576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e9e60042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e9e600969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e9e600969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e9e600969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e9e60042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e9e600287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e9e6002871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e9e60039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005822bf8f66a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005822bf8ed044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005822bf8f5a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005822bf8ec465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005822bf8ec02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005822bf8ec875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005822bf8f6fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005822bf8bf30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005822bfb1ae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005822be537910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005822bd8b89f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005822bd8aa2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005822bd8a9523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005822bd8a9e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005822bd1fa98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005822bd2014ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005822bd202f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e9e60094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e9e60126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_atomic_cxx.wasm /b/s/w/ir/x/t/emtest_ff__tyt1/emscripten_temp_t6c81mcb/test_atomic_cxx_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ff__tyt1/tmpu1fecra_libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_atomic_cxx (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000059ce03b79d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000059ce03b777b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000059ce03b7a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074a445442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074a4454969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074a4454969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074a4454969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074a445442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074a4454287f3 abort ./stdlib/abort.c:81:7
#9 0x000074a44542871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074a445439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000059ce065f76a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000059ce065ee044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000059ce065f6a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000059ce065ed465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000059ce065ed02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000059ce065ed875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000059ce065f7fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000059ce065c030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000059ce0681be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000059ce05238910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000059ce045b99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000059ce045ab2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000059ce045aa523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000059ce045aae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000059ce03efb98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000059ce03f024ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000059ce03f03f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074a445494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074a445526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_atoX.wasm /b/s/w/ir/x/t/emtest_regnhz_l/emscripten_temp_483az6rj/test_atoX_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_regnhz_l/tmpea39tmvdlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_atoX (test_core.thinltoz) ... FAIL
common:WARNING: no wasm engine was found to run the standalone part of this test
#0 0x0000625889807d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006258898057b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000625889808576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076912f442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076912f4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076912f4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076912f4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076912f442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076912f4287f3 abort ./stdlib/abort.c:81:7
#9 0x000076912f42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076912f439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000062588c2856a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000062588c27c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000062588c284a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000062588c27b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000062588c27b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000062588c27b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000062588c285fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000062588c24e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000062588c4a9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000062588aec6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000062588a2479f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000062588a2392b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000062588a238523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000062588a238e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000625889b8998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000625889b904ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000625889b91f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076912f494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076912f526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_autodebug_wasm_standalone (test_core.thinltoz) ... ok (8.34s)
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_atexit_threads.wasm /b/s/w/ir/x/t/emtest_j_a5b1h8/emscripten_temp_rq8f1rqp/test_atexit_threads_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_j_a5b1h8/tmpyyhb4_axlibemscripten_js_symbols.so --strip-debug --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_atexit_threads_stub (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000572f6a7a9d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000572f6a7a77b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000572f6a7aa576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075a323a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075a323a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075a323a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075a323a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075a323a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075a323a287f3 abort ./stdlib/abort.c:81:7
#9 0x000075a323a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075a323a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000572f6d2276a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000572f6d21e044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000572f6d226a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000572f6d21d465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000572f6d21d02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000572f6d21d875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000572f6d227fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000572f6d1f030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000572f6d44be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000572f6be68910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000572f6b1e99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000572f6b1db2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000572f6b1da523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000572f6b1dae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000572f6ab2b98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000572f6ab324ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000572f6ab33f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075a323a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075a323b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_atexit.wasm /b/s/w/ir/x/t/emtest_oi3bwnov/emscripten_temp_muat_nt9/test_atexit_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_oi3bwnov/tmpt6wb0hsalibemscripten_js_symbols.so --strip-debug --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_atexit (test_core.thinltoz) ... FAIL
test_asyncify_unused_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_atexit_threads.wasm /b/s/w/ir/x/t/emtest_dvq_95r4/emscripten_temp_bm9gqx4a/test_atexit_threads_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/crtbegin.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lc++-mt-noexcept -lc++abi-mt-noexcept -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_dvq_95r4/tmp191iypsulibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=_emscripten_thread_init --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_atexit_threads (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005d5c055c1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d5c055bf7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d5c055c2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d7cd3a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d7cd3a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d7cd3a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d7cd3a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d7cd3a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d7cd3a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d7cd3a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d7cd3a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d5c0803f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d5c08036044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d5c0803ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d5c08035465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d5c0803502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d5c08035875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d5c0803ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d5c0800830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d5c08263e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d5c06c80910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d5c060019f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d5c05ff32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d5c05ff2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d5c05ff2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d5c0594398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d5c0594a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d5c0594bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d7cd3a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d7cd3b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_hello_world.wasm /b/s/w/ir/x/t/emtest_l85dhsgt/emscripten_temp_udmrqp5x/test_hello_world_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_l85dhsgt/tmp9to653pzlibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_asyncify_unused (test_core.thinltoz) ... FAIL
common:WARNING: no wasm engine was found to run the standalone part of this test
test_atexit_standalone (test_core.thinltoz) ... ok (5.67s)
test_asyncify_main_module_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_asyncify_side_module_reversed (test_core.thinltoz) ... ok (12.88s)
test_asyncify_side_module (test_core.thinltoz) ... ok (11.95s)
test_asyncify_main_module (test_core.thinltoz) ... ok (11.05s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000061067db74d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000061067db727b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000061067db75576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007bc140042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007bc1400969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007bc1400969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007bc1400969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007bc140042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007bc1400287f3 abort ./stdlib/abort.c:81:7
#9 0x00007bc14002871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007bc140039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006106805f26a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006106805e9044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006106805f1a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006106805e8465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006106805e802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006106805e8875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006106805f2fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006106805bb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000610680816e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000061067f233910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000061067e5b49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000061067e5a62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000061067e5a5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000061067e5a5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061067def698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061067defd4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061067defef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007bc140094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007bc140126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_asyncify_longjmp.wasm /b/s/w/ir/x/t/emtest_gnmhdse9/emscripten_temp_88u0g01v/test_asyncify_longjmp_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lc_optz -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets --fatal-warnings -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_gnmhdse9/tmpngqm4s0klibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_asyncify_longjmp (test_core.thinltoz) ... FAIL
#0 0x00005c615a6c3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c615a6c17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c615a6c4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073bc93642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073bc936969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073bc936969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073bc936969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073bc93642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073bc936287f3 abort ./stdlib/abort.c:81:7
#9 0x000073bc9362871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073bc93639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c615d1416a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c615d138044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c615d140a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c615d137465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c615d13702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c615d137875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c615d141fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c615d10a30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c615d365e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c615bd82910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c615b1039f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c615b0f52b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c615b0f4523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c615b0f4e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c615aa4598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c615aa4c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c615aa4df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073bc93694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073bc93726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_asyncify_lists.wasm /b/s/w/ir/x/t/emtest_a4mzh535/emscripten_temp_8ffhd4_t/test_asyncify_lists_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_a4mzh535/tmpl6b85qvdlibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_asyncify_lists_removelist_c (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000056c820156d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000056c8201547b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000056c820157576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072bd31042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072bd310969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072bd310969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072bd310969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072bd31042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072bd310287f3 abort ./stdlib/abort.c:81:7
#9 0x000072bd3102871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072bd31039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000056c822bd46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000056c822bcb044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000056c822bd3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000056c822bca465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000056c822bca02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000056c822bca875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000056c822bd4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000056c822b9d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000056c822df8e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000056c821815910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000056c820b969f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000056c820b882b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000056c820b87523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000056c820b87e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000056c8204d898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000056c8204df4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000056c8204e0f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072bd31094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072bd31126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_asyncify_lists.wasm /b/s/w/ir/x/t/emtest_mduj6tm_/emscripten_temp_wpy9e02m/test_asyncify_lists_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mduj6tm_/tmprnvjjzwhlibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_asyncify_lists_removelist_b (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005a19fa4a3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005a19fa4a17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005a19fa4a4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074721e842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074721e8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074721e8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074721e8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074721e842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074721e8287f3 abort ./stdlib/abort.c:81:7
#9 0x000074721e82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074721e839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005a19fcf216a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005a19fcf18044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005a19fcf20a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005a19fcf17465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005a19fcf1702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005a19fcf17875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005a19fcf21fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005a19fceea30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005a19fd145e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005a19fbb62910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005a19faee39f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005a19faed52b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005a19faed4523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005a19faed4e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005a19fa82598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005a19fa82c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005a19fa82df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074721e894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074721e926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_asyncify_lists.wasm /b/s/w/ir/x/t/emtest_hflx3pfj/emscripten_temp_bs0rtwoc/test_asyncify_lists_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_hflx3pfj/tmppqh5lhl5libemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_asyncify_lists_removelist_a (test_core.thinltoz) ... FAIL
#0 0x000060ab4c576d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060ab4c5747b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060ab4c577576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000704e1f042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000704e1f0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000704e1f0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000704e1f0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000704e1f042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000704e1f0287f3 abort ./stdlib/abort.c:81:7
#9 0x0000704e1f02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000704e1f039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060ab4eff46a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000060ab4efeb044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060ab4eff3a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000060ab4efea465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060ab4efea02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000060ab4efea875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060ab4eff4fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060ab4efbd30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060ab4f218e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060ab4dc35910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060ab4cfb69f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060ab4cfa82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060ab4cfa7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060ab4cfa7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060ab4c8f898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060ab4c8ff4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060ab4c900f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000704e1f094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000704e1f126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_asyncify_lists.wasm /b/s/w/ir/x/t/emtest_tarrzeg8/emscripten_temp_ul3mahsn/test_asyncify_lists_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_tarrzeg8/tmp6sj8bsg9libemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_asyncify_lists_onlylist_d (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000058452817fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058452817d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000584528180576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007432a8a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007432a8a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007432a8a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007432a8a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007432a8a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007432a8a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007432a8a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007432a8a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058452abfd6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058452abf4044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058452abfca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058452abf3465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058452abf302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058452abf3875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058452abfdfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058452abc630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058452ae21e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058452983e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000584528bbf9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000584528bb12b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000584528bb0523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000584528bb0e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058452850198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005845285084ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000584528509f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007432a8a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007432a8b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005674c7ee5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005674c7ee37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005674c7ee6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c4e79642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c4e796969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007c4e796969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007c4e796969fc pthread_kill em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_asyncify_lists.wasm /b/s/w/ir/x/t/emtest_it394d4t/emscripten_temp_sn50kdhl/test_asyncify_lists_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_it394d4t/tmp63a2lez2libemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
./nptl/pthread_kill.c:89:10
#7 0x00007c4e79642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007c4e796287f3 abort ./stdlib/abort.c:81:7
#9 0x00007c4e7962871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007c4e79639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005674ca9636a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005674ca95a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005674ca962a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005674ca959465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005674ca95902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005674ca959875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005674ca963fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005674ca92c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005674cab87e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005674c95a4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005674c89259f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005674c89172b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005674c8916523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005674c8916e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005674c826798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005674c826e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005674c826ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007c4e79694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007c4e79726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_asyncify_lists_onlylist_c_response (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_asyncify_lists.wasm /b/s/w/ir/x/t/emtest_9rpawm4k/emscripten_temp_42tbwqh7/test_asyncify_lists_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_9rpawm4k/tmpv1nptmfalibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_asyncify_lists_onlylist_c (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000058fb99a14d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058fb99a127b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058fb99a15576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b96c8e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b96c8e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b96c8e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b96c8e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b96c8e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b96c8e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b96c8e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b96c8e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058fb9c4926a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058fb9c489044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058fb9c491a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058fb9c488465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058fb9c48802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058fb9c488875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058fb9c492fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058fb9c45b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058fb9c6b6e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058fb9b0d3910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058fb9a4549f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058fb9a4462b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058fb9a445523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058fb9a445e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058fb99d9698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058fb99d9d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058fb99d9ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b96c8e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b96c8f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x0000582b1200ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000582b120087b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000582b1200b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007f759a842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f759a8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007f759a8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007f759a8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007f759a842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007f759a8287f3 abort ./stdlib/abort.c:81:7
#9 0x00007f759a82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007f759a839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000582b14a886a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000582b14a7f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000582b14a87a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000582b14a7e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000582b14a7e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000582b14a7e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000582b14a88fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000582b14a5130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000582b14cace76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000582b136c9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000582b12a4a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000582b12a3c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000582b12a3b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000582b12a3be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000582b1238c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000582b123934ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000582b12394f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007f759a894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007f759a926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_asyncify_lists.wasm /b/s/w/ir/x/t/emtest_p8hwraze/emscripten_temp_ube84uom/test_asyncify_lists_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_p8hwraze/tmp0_be3r1qlibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_asyncify_lists_onlylist_b_response (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_asyncify_lists.wasm /b/s/w/ir/x/t/emtest_spuzyhlu/emscripten_temp_09h1osid/test_asyncify_lists_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_spuzyhlu/tmplllz1kp4libemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_asyncify_lists_onlylist_b (test_core.thinltoz) ... FAIL
test_asyncify_indirect_lists_normal (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/21757'
test_asyncify_indirect_lists_ignoreindirect (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/21757'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_asyncify_indirect_lists_add_no_prop (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/21757'
test_asyncify_indirect_lists_add (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/21757'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005ab8022d6d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ab8022d47b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ab8022d7576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000786fe2c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000786fe2c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000786fe2c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000786fe2c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000786fe2c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000786fe2c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000786fe2c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000786fe2c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ab804d546a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ab804d4b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ab804d53a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ab804d4a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ab804d4a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ab804d4a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ab804d54fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ab804d1d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ab804f78e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ab803995910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ab802d169f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ab802d082b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ab802d07523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ab802d07e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ab80265898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ab80265f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ab802660f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000786fe2c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000786fe2d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o HelloWorld.wasm /b/s/w/ir/x/t/emtest_cklwo4g1/emscripten_temp_c975qvwj/HelloWorld_0.o /b/s/w/ir/x/t/emtest_cklwo4g1/emscripten_test_thinltoz_85z31ehr/building/third_party/bullet/src/BulletDynamics/libBulletDynamics.a /b/s/w/ir/x/t/emtest_cklwo4g1/emscripten_test_thinltoz_85z31ehr/building/third_party/bullet/src/BulletCollision/libBulletCollision.a /b/s/w/ir/x/t/emtest_cklwo4g1/emscripten_test_thinltoz_85z31ehr/building/third_party/bullet/src/LinearMath/libLinearMath.a -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lc++-debug-noexcept -lc++abi-debug-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cklwo4g1/tmpc1l75kgplibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005dc05660ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005dc0566087b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005dc05660b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000787a56a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000787a56a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000787a56a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000787a56a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000787a56a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000787a56a287f3 abort ./stdlib/abort.c:81:7
#9 0x0000787a56a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000787a56a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005dc0590886a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005dc05907f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005dc059087a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005dc05907e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005dc05907e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005dc05907e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005dc059088fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005dc05905130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005dc0592ace76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005dc057cc9910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005dc05704a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005dc05703c2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005dc05703b523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005dc05703be44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005dc05698c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005dc0569934ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005dc056994f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000787a56a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000787a56b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
None
None
test_bullet_cmake (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_asyncify_lists.wasm /b/s/w/ir/x/t/emtest_mge4mygc/emscripten_temp_3jr2_92r/test_asyncify_lists_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_mge4mygc/tmp_7_ncxx6libemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_asyncify_lists_onlylist_a (test_core.thinltoz) ... FAIL
#0 0x0000643a9896bd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000643a989697b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000643a9896c576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000780db3a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000780db3a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000780db3a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000780db3a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000780db3a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000780db3a287f3 abort ./stdlib/abort.c:81:7
#9 0x0000780db3a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000780db3a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000643a9b3e96a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000643a9b3e0044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000643a9b3e8a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000643a9b3df465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000643a9b3df02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000643a9b3df875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000643a9b3e9fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000643a9b3b230b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000643a9b60de76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000643a9a02a910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000643a993ab9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000643a9939d2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000643a9939c523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000643a9939ce44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000643a98ced98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000643a98cf44ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000643a98cf5f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000780db3a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000780db3b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_async_main_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_asyncify_lists.wasm /b/s/w/ir/x/t/emtest_l72o2ra_/emscripten_temp_wvabjcen/test_asyncify_lists_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_l72o2ra_/tmpk587i5zklibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_asyncify_lists_normal (test_core.thinltoz) ... FAIL
test_async_loop_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
#0 0x000058cb92525d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058cb925237b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058cb92526576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b556ba42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b556ba969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b556ba969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b556ba969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b556ba42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b556ba287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b556ba2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b556ba39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058cb94fa36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058cb94f9a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058cb94fa2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058cb94f99465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058cb94f9902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058cb94f99875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058cb94fa3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058cb94f6c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058cb951c7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058cb93be4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058cb92f659f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058cb92f572b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058cb92f56523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058cb92f56e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058cb928a798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058cb928ae4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058cb928aff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b556ba94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b556bb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_avx.wasm /b/s/w/ir/x/t/emtest_g8qvvz6g/emscripten_temp_oiowy_n7/test_avx_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_g8qvvz6g/tmp5pn_mr3hlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=1048576 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_avx_nontrapping (test_core.thinltoz) ... FAIL
test_async_hello_v8 (test_core.thinltoz) ... skipped 'test requires v8 and EMTEST_SKIP_V8 is set'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_async_hello_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000651f03079d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000651f030777b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000651f0307a576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d8489042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d84890969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d84890969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d84890969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d8489042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d84890287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d848902871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d8489039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000651f05af76a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000651f05aee044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000651f05af6a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000651f05aed465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000651f05aed02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000651f05aed875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000651f05af7fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000651f05ac030b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000651f05d1be76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000651f04738910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000651f03ab99f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000651f03aab2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000651f03aaa523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000651f03aaae44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000651f033fb98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000651f034024ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000651f03403f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d8489094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d8489126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000060c78af9ed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060c78af9c7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060c78af9f576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000079975d842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000079975d8969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000079975d8969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000079975d8969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000079975d842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000079975d8287f3 abort ./stdlib/abort.c:81:7
#9 0x000079975d82871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000079975d839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060c78da1c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000060c78da13044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060c78da1ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000060c78da12465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060c78da1202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000060c78da12875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060c78da1cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060c78d9e530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060c78dc40e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060c78c65d910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060c78b9de9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060c78b9d02b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060c78b9cf523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060c78b9cfe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060c78b32098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060c78b3274ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060c78b328f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000079975d894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000079975d926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005e579e1d4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e579e1d27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e579e1d5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e2ff4a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e2ff4a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e2ff4a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e2ff4a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e2ff4a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e2ff4a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e2ff4a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e2ff4a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e57a0c526a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e57a0c49044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e57a0c51a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e57a0c48465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e57a0c4802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e57a0c48875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e57a0c52fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e57a0c1b30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e57a0e76e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e579f893910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e579ec149f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e579ec062b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e579ec05523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e579ec05e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e579e55698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e579e55d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e579e55ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e2ff4a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e2ff4b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_vowmblz1/emscripten_temp_4nuahpcm/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_vowmblz1/tmpgmwzgy9clibemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_async_main (test_core.thinltoz) ... FAIL
test_async_ccall_promise_jspi_exit_runtime (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_asyncify_during_exit.wasm /b/s/w/ir/x/t/emtest_1dmupbfo/emscripten_temp_su49acd3/test_asyncify_during_exit_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lc-debug -ldlmalloc-debug -lcompiler_rt -lc++-debug-noexcept -lc++abi-debug-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1dmupbfo/tmp_3cvxp5zlibemscripten_js_symbols.so --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_d4lhg32i/emscripten_temp_ja7wygu7/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_d4lhg32i/tmpr5b8lyp6libemscripten_js_symbols.so -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_asyncify_during_exit (test_core.thinltoz) ... FAIL
None
None
test_async_loop (test_core.thinltoz) ... FAIL
test_async_ccall_promise_exit_runtime (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_async_ccall_good_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
#0 0x00005d90acaa5d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d90acaa37b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d90acaa6576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074d52fc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074d52fc969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074d52fc969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074d52fc969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074d52fc42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074d52fc287f3 abort ./stdlib/abort.c:81:7
#9 0x000074d52fc2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074d52fc39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d90af5236a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d90af51a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d90af522a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d90af519465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d90af51902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d90af519875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d90af523fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d90af4ec30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d90af747e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d90ae164910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d90ad4e59f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d90ad4d72b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d90ad4d6523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d90ad4d6e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d90ace2798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d90ace2e4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d90ace2ff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074d52fc94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074d52fd26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x000058a2c68fed28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000058a2c68fc7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000058a2c68ff576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000730c73842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000730c738969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000730c738969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000730c738969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000730c73842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000730c738287f3 abort ./stdlib/abort.c:81:7
#9 0x0000730c7382871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000730c73839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000058a2c937c6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000058a2c9373044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000058a2c937ba48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000058a2c9372465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000058a2c937202e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000058a2c9372875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000058a2c937cfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000058a2c934530b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000058a2c95a0e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000058a2c7fbd910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000058a2c733e9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000058a2c73302b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000058a2c732f523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000058a2c732fe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000058a2c6c8098e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000058a2c6c874ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000058a2c6c88f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000730c73894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000730c73926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_avx.wasm /b/s/w/ir/x/t/emtest_xhzty3mh/emscripten_temp_b0u7q1xz/test_avx_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_xhzty3mh/tmp0ve09v1vlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=1048576 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_avx (test_core.thinltoz) ... FAIL
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_asyncify_assertions.wasm /b/s/w/ir/x/t/emtest_pbplftor/emscripten_temp_v9629u0e/test_asyncify_assertions_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_pbplftor/tmp7i7nx9nklibemscripten_js_symbols.so -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_asyncify_assertions (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000063f3f65a2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000063f3f65a07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000063f3f65a3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007be39c242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007be39c2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007be39c2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007be39c2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007be39c242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007be39c2287f3 abort ./stdlib/abort.c:81:7
#9 0x00007be39c22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007be39c239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063f3f90206a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000063f3f9017044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000063f3f901fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000063f3f9016465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000063f3f901602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000063f3f9016875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000063f3f9020fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000063f3f8fe930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000063f3f9244e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000063f3f7c61910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000063f3f6fe29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000063f3f6fd42b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000063f3f6fd3523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000063f3f6fd3e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000063f3f692498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000063f3f692b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000063f3f692cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007be39c294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007be39c326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_h5l2o9vg/emscripten_temp_ptmsgk8m/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_h5l2o9vg/tmpmeudc2dilibemscripten_js_symbols.so --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_async_hello (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005ada04502d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ada045007b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ada04503576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000072bc19e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072bc19e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000072bc19e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000072bc19e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000072bc19e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000072bc19e287f3 abort ./stdlib/abort.c:81:7
#9 0x000072bc19e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000072bc19e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ada06f806a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ada06f77044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ada06f7fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ada06f76465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ada06f7602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ada06f76875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ada06f80fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ada06f4930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ada071a4e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ada05bc1910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ada04f429f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ada04f342b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ada04f33523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ada04f33e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ada0488498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ada0488b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ada0488cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000072bc19e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000072bc19f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005d0638310d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005d063830e7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005d0638311576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007711bda42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007711bda969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007711bda969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007711bda969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007711bda42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007711bda287f3 abort ./stdlib/abort.c:81:7
#9 0x00007711bda2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007711bda39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005d063ad8e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005d063ad85044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005d063ad8da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005d063ad84465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005d063ad8402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005d063ad84875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005d063ad8efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005d063ad5730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005d063afb2e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005d06399cf910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005d0638d509f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005d0638d422b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005d0638d41523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005d0638d41e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005d063869298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005d06386994ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005d063869af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007711bda94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007711bdb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00006164735c1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006164735bf7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006164735c2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007e72e6042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007e72e60969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007e72e60969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007e72e60969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007e72e6042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007e72e60287f3 abort ./stdlib/abort.c:81:7
#9 0x00007e72e602871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007e72e6039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000061647603f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000616476036044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000061647603ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000616476035465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000061647603502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000616476035875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000061647603ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000061647600830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000616476263e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000616474c80910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006164740019f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000616473ff32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000616473ff2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000616473ff2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000061647394398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000061647394a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000061647394bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007e72e6094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007e72e6126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_w04h_1j0/emscripten_temp_ims6cemx/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lc-debug -ldlmalloc-debug -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_w04h_1j0/tmp7vofa6edlibemscripten_js_symbols.so --export=stringf --export=floatf --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_async_ccall_promise_jspi (test_core.thinltoz) ... FAIL
#0 0x00005c835f692d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005c835f6907b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005c835f693576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007bcdfb442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007bcdfb4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007bcdfb4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007bcdfb4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007bcdfb442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007bcdfb4287f3 abort ./stdlib/abort.c:81:7
#9 0x00007bcdfb42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007bcdfb439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005c83621106a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005c8362107044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005c836210fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005c8362106465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005c836210602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005c8362106875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005c8362110fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005c83620d930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005c8362334e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005c8360d51910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005c83600d29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005c83600c42b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005c83600c3523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005c83600c3e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005c835fa1498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005c835fa1b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005c835fa1cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007bcdfb494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007bcdfb526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
test_asan_vector (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_use_after_return (test_core.thinltoz) ... skipped '-Oz breaks source maps'
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_johbml8m/emscripten_temp_gujmf3cv/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_johbml8m/tmpanirgujvlibemscripten_js_symbols.so -u__cxa_atexit --export=stringf --export=floatf --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
test_asan_use_after_free_cpp (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_use_after_free_c (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_strcpy (test_core.thinltoz) ... skipped '-Oz breaks source maps'
None
None
test_async_ccall_promise (test_core.thinltoz) ... FAIL
test_asan_static_buffer_overflow (test_core.thinltoz) ... skipped '-Oz breaks source maps'
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_ujjv6fdv/emscripten_temp_sfgtl3dn/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ujjv6fdv/tmpprzz89qxlibemscripten_js_symbols.so -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
test_asan_stack_buffer_overflow_js (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_stack_buffer_overflow (test_core.thinltoz) ... skipped '-Oz breaks source maps'
None
None
test_async_ccall_good (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_u9snh7mi/emscripten_temp_niq5yszf/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_u9snh7mi/tmp_wj_cgqslibemscripten_js_symbols.so -u__cxa_atexit --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=_emscripten_stack_restore --export=malloc --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_async_ccall_bad (test_core.thinltoz) ... FAIL
test_asan_memset_null (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_memset_freed (test_core.thinltoz) ... skipped '-Oz breaks source maps'
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc_optz-asan.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc_optz-asan.a" for subsequent builds)
test_asan_memcpy (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_memchr (test_core.thinltoz) ... skipped '-Oz breaks source maps'
#0 0x00006062a803dd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00006062a803b7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00006062a803e576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007227f6842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007227f68969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007227f68969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007227f68969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007227f6842476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007227f68287f3 abort ./stdlib/abort.c:81:7
#9 0x00007227f682871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007227f6839e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00006062aaabb6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00006062aaab2044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00006062aaabaa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00006062aaab1465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00006062aaab102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00006062aaab1875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00006062aaabbfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00006062aaa8430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00006062aacdfe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00006062a96fc910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00006062a8a7d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00006062a8a6f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00006062a8a6e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00006062a8a6ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00006062a83bf98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00006062a83c64ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00006062a83c7f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007227f6894ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007227f6926850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
system_libs:INFO: compiled 7 inputs in 0.47s
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_assert.wasm /b/s/w/ir/x/t/emtest_1hl0zm1n/emscripten_temp_sjjcmc1a/test_assert_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_1hl0zm1n/tmpcqpckkbblibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_assert (test_core.thinltoz) ... FAIL
test_asan_heap_buffer_overflow_cpp (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_heap_buffer_overflow_c (test_core.thinltoz) ... skipped '-Oz breaks source maps'
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libc-asan.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libc-asan.a" for subsequent builds)
test_asan_bitfield_unround_size (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_bitfield_unround_offset (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_bitfield_round (test_core.thinltoz) ... skipped '-Oz breaks source maps'
common:WARNING: no wasm engine was found to run the standalone part of this test
test_assert_standalone (test_core.thinltoz) ... ok (4.94s)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000055e11f107d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000055e11f1057b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000055e11f108576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000713bc4a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000713bc4a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000713bc4a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000713bc4a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000713bc4a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000713bc4a287f3 abort ./stdlib/abort.c:81:7
#9 0x0000713bc4a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000713bc4a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000055e121b856a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000055e121b7c044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000055e121b84a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000055e121b7b465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000055e121b7b02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000055e121b7b875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000055e121b85fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000055e121b4e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000055e121da9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000055e1207c6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000055e11fb479f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000055e11fb392b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000055e11fb38523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000055e11fb38e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000055e11f48998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000055e11f4904ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000055e11f491f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000713bc4a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000713bc4b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_array2b.wasm /b/s/w/ir/x/t/emtest_ji8aean0/emscripten_temp_un8ygco5/test_array2b_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ji8aean0/tmpb4bhuetrlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_array2b (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000557d90fb1d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000557d90faf7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000557d90fb2576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000798935c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000798935c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000798935c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000798935c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000798935c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000798935c287f3 abort ./stdlib/abort.c:81:7
#9 0x0000798935c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000798935c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000557d93a2f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000557d93a26044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000557d93a2ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000557d93a25465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000557d93a2502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000557d93a25875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000557d93a2ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000557d939f830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000557d93c53e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000557d92670910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000557d919f19f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000557d919e32b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000557d919e2523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000557d919e2e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000557d9133398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000557d9133a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000557d9133bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000798935c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000798935d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
#0 0x00005e63c2e6fd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e63c2e6d7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e63c2e70576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000796af7642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000796af76969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000796af76969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000796af76969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000796af7642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000796af76287f3 abort ./stdlib/abort.c:81:7
#9 0x0000796af762871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000796af7639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e63c58ed6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e63c58e4044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e63c58eca48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e63c58e3465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e63c58e302e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e63c58e3875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e63c58edfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e63c58b630b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e63c5b11e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e63c452e910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e63c38af9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e63c38a12b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e63c38a0523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e63c38a0e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e63c31f198e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e63c31f84ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e63c31f9f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000796af7694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000796af7726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_array2.wasm /b/s/w/ir/x/t/emtest_wkci42by/emscripten_temp_zasutwe5/test_array2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wkci42by/tmpixwpvxm1libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_array2 (test_core.thinltoz) ... FAIL
#0 0x00005fd155a37d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005fd155a357b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005fd155a38576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d58a1c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d58a1c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d58a1c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d58a1c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d58a1c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d58a1c287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d58a1c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d58a1c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005fd1584b56a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005fd1584ac044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005fd1584b4a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005fd1584ab465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005fd1584ab02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005fd1584ab875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005fd1584b5fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005fd15847e30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005fd1586d9e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005fd1570f6910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005fd1564779f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005fd1564692b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005fd156468523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005fd156468e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005fd155db998e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005fd155dc04ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005fd155dc1f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d58a1c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d58a1d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_avx2.wasm /b/s/w/ir/x/t/emtest_ifcr4jhk/emscripten_temp_3q9fars_/test_avx2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ifcr4jhk/tmphf_jptmqlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=1048576 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_avx2 (test_core.thinltoz) ... FAIL
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_avx2.wasm /b/s/w/ir/x/t/emtest_az0svdcz/emscripten_temp_2rnrme75/test_avx2_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_az0svdcz/tmp5w5ytpmrlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=1048576 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_avx2_nontrapping (test_core.thinltoz) ... FAIL
test_align64 (test_core.thinltoz) ... skipped 'is_wasm2js : tests 64-bit alignment of structs'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005e6ed60cad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005e6ed60c87b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005e6ed60cb576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ef096e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007ef096e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007ef096e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007ef096e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007ef096e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007ef096e287f3 abort ./stdlib/abort.c:81:7
#9 0x00007ef096e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007ef096e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005e6ed8b486a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005e6ed8b3f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005e6ed8b47a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005e6ed8b3e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005e6ed8b3e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005e6ed8b3e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005e6ed8b48fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005e6ed8b1130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005e6ed8d6ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005e6ed7789910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005e6ed6b0a9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005e6ed6afc2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005e6ed6afb523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005e6ed6afbe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005e6ed644c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005e6ed64534ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005e6ed6454f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007ef096e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007ef096f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_alloca_stack.wasm /b/s/w/ir/x/t/emtest_zjglfr_u/emscripten_temp_skmkrvgv/test_alloca_stack_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_zjglfr_u/tmprxt3424hlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_alloca_stack (test_core.thinltoz) ... FAIL
#0 0x00005f0418625d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005f04186237b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005f0418626576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000729590642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007295906969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007295906969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007295906969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000729590642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007295906287f3 abort ./stdlib/abort.c:81:7
#9 0x000072959062871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000729590639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005f041b0a36a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005f041b09a044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005f041b0a2a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005f041b099465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005f041b09902e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005f041b099875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005f041b0a3fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005f041b06c30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005f041b2c7e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005f0419ce4910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005f04190659f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005f04190572b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005f0419056523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005f0419056e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005f04189a798e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005f04189ae4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005f04189aff5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000729590694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000729590726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_alloca.wasm /b/s/w/ir/x/t/emtest_42yt694b/emscripten_temp_b2w_mj5a/test_alloca_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_42yt694b/tmp7862p4sblibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_alloca (test_core.thinltoz) ... FAIL
test_abort_on_exceptions_pthreads (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/20067'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005ba34a9c6d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005ba34a9c47b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005ba34a9c7576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000073d3e0c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000073d3e0c969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000073d3e0c969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000073d3e0c969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000073d3e0c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000073d3e0c287f3 abort ./stdlib/abort.c:81:7
#9 0x000073d3e0c2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000073d3e0c39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005ba34d4446a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005ba34d43b044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005ba34d443a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005ba34d43a465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005ba34d43a02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005ba34d43a875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005ba34d444fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005ba34d40d30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005ba34d668e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005ba34c085910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005ba34b4069f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005ba34b3f82b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005ba34b3f7523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005ba34b3f7e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005ba34ad4898e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005ba34ad4f4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005ba34ad50f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000073d3e0c94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000073d3e0d26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_abort_on_exceptions_main.wasm /b/s/w/ir/x/t/emtest_kkfqs8ya/emscripten_temp_j4t6lree/test_abort_on_exceptions_main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_kkfqs8ya/tmp6r6dmg4plibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_abort_on_exceptions_main (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000654cace64d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000654cace627b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000654cace65576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000766681e42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000766681e969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000766681e969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000766681e969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000766681e42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000766681e287f3 abort ./stdlib/abort.c:81:7
#9 0x0000766681e2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000766681e39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000654caf8e26a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000654caf8d9044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000654caf8e1a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000654caf8d8465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000654caf8d802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000654caf8d8875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000654caf8e2fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000654caf8ab30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000654cafb06e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000654cae523910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000654cad8a49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000654cad8962b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000654cad895523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000654cad895e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000654cad1e698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000654cad1ed4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000654cad1eef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000766681e94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000766681f26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_aborting_new.wasm /b/s/w/ir/x/t/emtest_msya87kt/emscripten_temp_th1ioubs/test_aborting_new_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_msya87kt/tmpz3cejm16libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_aborting_new_nogrow (test_core.thinltoz) ... FAIL
#0 0x000060c97c601d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000060c97c5ff7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000060c97c602576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000075effee42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000075effee969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000075effee969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000075effee969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000075effee42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000075effee287f3 abort ./stdlib/abort.c:81:7
#9 0x000075effee2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000075effee39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000060c97f07f6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000060c97f076044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000060c97f07ea48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000060c97f075465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000060c97f07502e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000060c97f075875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000060c97f07ffbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000060c97f04830b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000060c97f2a3e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000060c97dcc0910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000060c97d0419f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000060c97d0332b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000060c97d032523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000060c97d032e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000060c97c98398e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000060c97c98a4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000060c97c98bf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000075effee94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000075effef26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_aborting_new.wasm /b/s/w/ir/x/t/emtest_t_wj5sq4/emscripten_temp_dj3tzo2v/test_aborting_new_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_t_wj5sq4/tmpiqnm8ecalibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --max-memory=18874368 --initial-memory=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_aborting_new_grow (test_core.thinltoz) ... FAIL
test_abort_no_dtors_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000608e9f89ad28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000608e9f8987b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000608e9f89b576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007d1a7d442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007d1a7d4969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007d1a7d4969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007d1a7d4969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007d1a7d442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007d1a7d4287f3 abort ./stdlib/abort.c:81:7
#9 0x00007d1a7d42871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007d1a7d439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000608ea23186a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000608ea230f044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000608ea2317a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000608ea230e465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000608ea230e02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000608ea230e875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000608ea2318fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000608ea22e130b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000608ea253ce76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000608ea0f59910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000608ea02da9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000608ea02cc2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000608ea02cb523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000608ea02cbe44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000608e9fc1c98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000608e9fc234ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000608e9fc24f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007d1a7d494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007d1a7d526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_p8v8p3mw/emscripten_temp__44cilug/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_p8v8p3mw/tmp8pq51s99libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__wasm_call_ctors --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
None
None
test_abort_no_dtors_wasm_legacy (test_core.thinltoz) ... FAIL
#0 0x000064e29c458d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000064e29c4567b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000064e29c459576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b1433a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b1433a969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b1433a969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b1433a969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b1433a42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b1433a287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b1433a2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b1433a39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000064e29eed66a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000064e29eecd044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000064e29eed5a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000064e29eecc465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000064e29eecc02e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000064e29eecc875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000064e29eed6fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000064e29ee9f30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000064e29f0fae76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000064e29db17910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000064e29ce989f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000064e29ce8a2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000064e29ce89523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000064e29ce89e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000064e29c7da98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000064e29c7e14ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000064e29c7e2f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b1433a94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b1433b26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o src.wasm /b/s/w/ir/x/t/emtest_41afj1z7/emscripten_temp_uwa47jk7/src_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_41afj1z7/tmp0ysiukwnlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_abort_no_dtors_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005cf6bd5b4d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005cf6bd5b27b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005cf6bd5b5576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000074eafe242520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000074eafe2969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000074eafe2969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000074eafe2969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000074eafe242476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000074eafe2287f3 abort ./stdlib/abort.c:81:7
#9 0x000074eafe22871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000074eafe239e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005cf6c00326a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005cf6c0029044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005cf6c0031a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005cf6c0028465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005cf6c002802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005cf6c0028875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005cf6c0032fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005cf6bfffb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005cf6c0256e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005cf6bec73910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005cf6bdff49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005cf6bdfe62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005cf6bdfe5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005cf6bdfe5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005cf6bd93698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005cf6bd93d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005cf6bd93ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000074eafe294ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000074eafe326850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
system_libs:INFO: compiled 1044 inputs in 12.96s
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o test_abort_on_exceptions.wasm /b/s/w/ir/x/t/emtest_ge5g0py3/emscripten_temp_gj7u27kg/test_abort_on_exceptions_0.o -lembind-rtti -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_ge5g0py3/tmpqmqmie6tlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table --growable-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_abort_on_exceptions (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o liblib.wasm /b/s/w/ir/x/t/emtest_e0byeclv/emscripten_temp_zd98ibop/liblib_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_e0byeclv/tmpodf0_q6xlibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=__wasm_apply_data_relocs --export-if-defined=fflush --export-if-defined=__memory_base --export-if-defined=__stack_pointer --export-if-defined=emscripten_builtin_memalign --export-if-defined=iprintf --export-if-defined=mainCallback --export-if-defined=pthread_self --export-if-defined=side --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main' failed (received SIGABRT (-6))
None
None
test_Module_dynamicLibraries_pthreads_reversed (test_core.thinltoz) ... FAIL
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/libasan_rt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/libasan_rt.a" for subsequent builds)
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_wdd_klg8/emscripten_temp_bs3yvat0/main_0.o liblib.so -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic -L/b/s/w/ir/x/w/install/emscripten/src/lib /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crtbegin.o /b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto-pic/crt1_proxy_main.o -lGL-mt-getprocaddr -lal -lhtml5 -lc_optz-mt -lstubs -lc-mt -ldlmalloc-mt -lcompiler_rt-mt -lsockets-mt -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_wdd_klg8/tmpq9laxwmylibemscripten_js_symbols.so --import-memory --shared-memory --strip-debug --export=_emscripten_stack_alloc --export=_emscripten_thread_free_data --export=_emscripten_thread_crashed --export=_emscripten_dlsync_self --export=_emscripten_dlsync_self_async --export=_emscripten_proxy_dlsync --export=_emscripten_proxy_dlsync_async --export=__dl_seterr --export=__funcs_on_exit --export=__wasm_call_ctors --export=_emscripten_tls_init --export=setThrew --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=_emscripten_find_dylib --export=calloc --export=_emscripten_thread_init --export=emscripten_stack_set_limits --export=_emscripten_thread_exit --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=__wasm_apply_data_relocs --export-if-defined=fflush --export-if-defined=emscripten_builtin_memalign --export-if-defined=pthread_self --experimental-pic --unresolved-symbols=import-dynamic -pie --no-export-dynamic -z stack-size=65536 --no-growable-memory --initial-memory=16777216 --entry=_emscripten_proxy_main' failed (received SIGABRT (-6))
None
None
test_Module_dynamicLibraries_pthreads (test_core.thinltoz) ... FAIL
['-DDIRECT', '-sFORCE_FILESYSTEM', '-DUSE_FILES']
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x0000643bb3bd0d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000643bb3bce7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000643bb3bd1576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007bb523442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007bb5234969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007bb5234969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007bb5234969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007bb523442476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007bb5234287f3 abort ./stdlib/abort.c:81:7
#9 0x00007bb52342871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007bb523439e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000643bb664e6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000643bb6645044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000643bb664da48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000643bb6644465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000643bb664402e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000643bb6644875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000643bb664efbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000643bb661730b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000643bb6872e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000643bb528f910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000643bb46109f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000643bb46022b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000643bb4601523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000643bb4601e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000643bb3f5298e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000643bb3f594ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000643bb3f5af5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007bb523494ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007bb523526850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o FS_exports.wasm /b/s/w/ir/x/t/emtest_jjygvd2e/emscripten_temp_2intneea/FS_exports_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_jjygvd2e/tmp3vpkfehilibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_FS_exports_files (test_core.thinltoz) ... FAIL
['-DDIRECT', '-sFORCE_FILESYSTEM']
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
test_Module_dynamicLibraries_reversed (test_core.thinltoz) ... ok (6.29s)
#0 0x00005df25b2b2d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005df25b2b07b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005df25b2b3576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007788b2042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007788b20969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007788b20969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007788b20969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007788b2042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007788b20287f3 abort ./stdlib/abort.c:81:7
#9 0x00007788b202871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007788b2039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005df25dd306a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005df25dd27044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005df25dd2fa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005df25dd26465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005df25dd2602e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005df25dd26875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005df25dd30fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005df25dcf930b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005df25df54e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005df25c971910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005df25bcf29f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005df25bce42b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005df25bce3523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005df25bce3e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005df25b63498e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005df25b63b4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005df25b63cf5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007788b2094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007788b2126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o FS_exports.wasm /b/s/w/ir/x/t/emtest_8f285rpo/emscripten_temp_eumn272y/FS_exports_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8f285rpo/tmppc3wgx3llibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_FS_exports (test_core.thinltoz) ... FAIL
test_EXPORT_EXCEPTION_HANDLING_HELPERS_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
system_libs:INFO: compiled 37 inputs in 4.99s
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
cache:INFO: - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/thinlto/liblsan_common_rt.a... (this will be cached in "/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto/liblsan_common_rt.a" for subsequent builds)
#0 0x00005b5c7bea3d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b5c7bea17b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b5c7bea4576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000076607d642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000076607d6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x000076607d6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x000076607d6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x000076607d642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x000076607d6287f3 abort ./stdlib/abort.c:81:7
#9 0x000076607d62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x000076607d639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b5c7e9216a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b5c7e918044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b5c7e920a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b5c7e917465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b5c7e91702e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b5c7e917875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b5c7e921fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b5c7e8ea30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b5c7eb45e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b5c7d562910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b5c7c8e39f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b5c7c8d52b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b5c7c8d4523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b5c7c8d4e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b5c7c22598e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b5c7c22c4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b5c7c22df5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x000076607d694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x000076607d726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_lv6u5egs/emscripten_temp_dh2j5xbz/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt-legacysjlj -lc++-legacyexcept -lc++abi-legacyexcept -lunwind-legacyexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -wasm-use-legacy-eh -mllvm -disable-lsr -mllvm -wasm-enable-eh -mllvm -wasm-use-legacy-eh -mllvm -exception-model=wasm /b/s/w/ir/x/t/emtest_lv6u5egs/tmpv6jv5mzjlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__trap --export=__cpp_exception --export=__wasm_call_ctors --export=__get_exception_message --export=free --export=_emscripten_stack_restore --export=emscripten_stack_get_current --export=__thrown_object_from_unwind_exception --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_EXPORT_EXCEPTION_HANDLING_HELPERS_wasm_legacy (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00005b7f89d64d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x00005b7f89d627b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x00005b7f89d65576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b324ea42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b324ea969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007b324ea969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007b324ea969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007b324ea42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007b324ea287f3 abort ./stdlib/abort.c:81:7
#9 0x00007b324ea2871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b324ea39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005b7f8c7e26a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x00005b7f8c7d9044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x00005b7f8c7e1a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x00005b7f8c7d8465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x00005b7f8c7d802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x00005b7f8c7d8875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x00005b7f8c7e2fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x00005b7f8c7ab30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x00005b7f8ca06e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x00005b7f8b423910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x00005b7f8a7a49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x00005b7f8a7962b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x00005b7f8a795523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x00005b7f8a795e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x00005b7f8a0e698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x00005b7f8a0ed4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x00005b7f8a0eef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007b324ea94ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007b324eb26850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o main.wasm /b/s/w/ir/x/t/emtest_8tg1pmxs/emscripten_temp_uf5j2_w7/main_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++ -lc++abi -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_8tg1pmxs/tmpit24yqb4libemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__cxa_can_catch --export=__cxa_increment_exception_refcount --export=__cxa_decrement_exception_refcount --export=setThrew --export=__cxa_free_exception --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export=__get_exception_message --export=free --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
None
None
test_EXPORT_EXCEPTION_HANDLING_HELPERS_emscripten (test_core.thinltoz) ... FAIL
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
wasm-ld: /b/s/w/ir/cache/builder/emscripten-releases/llvm-project/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From *) [To = llvm::MDNode, From = llvm::Metadata]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x000065196d1edd28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x000065196d1eb7b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x000065196d1ee576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007557fc642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007557fc6969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007557fc6969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007557fc6969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007557fc642476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007557fc6287f3 abort ./stdlib/abort.c:81:7
#9 0x00007557fc62871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007557fc639e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000065196fc6b6a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x000065196fc62044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x000065196fc6aa48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x000065196fc61465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x000065196fc6102e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x000065196fc61875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x000065196fc6bfbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x000065196fc3430b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x000065196fe8fe76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x000065196e8ac910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x000065196dc2d9f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x000065196dc1f2b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x000065196dc1e523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x000065196dc1ee44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x000065196d56f98e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x000065196d5764ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x000065196d577f5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x00007557fc694ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x00007557fc726850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
system_libs:INFO: compiled 5 inputs in 1.70s
cache:INFO: - ok
emcc: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o EXPORTED_RUNTIME_METHODS.wasm /b/s/w/ir/x/t/emtest_g3y7lqck/emscripten_temp_f3pzu3f6/EXPORTED_RUNTIME_METHODS_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_g3y7lqck/tmp2uyzv5jvlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
#0 0x0000595d97784d28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8cd28)
#1 0x0000595d977827b5 llvm::sys::RunSignalHandlers() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1b8a7b5)
#2 0x0000595d97785576 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000783a7d042520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000783a7d0969fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x0000783a7d0969fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x0000783a7d0969fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x0000783a7d042476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x0000783a7d0287f3 abort ./stdlib/abort.c:81:7
#9 0x0000783a7d02871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x0000783a7d039e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x0000595d9a2026a4 (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460a6a4)
#12 0x0000595d9a1f9044 llvm::MetadataLoader::MetadataLoaderImpl::resolveForwardRefsAndPlaceholders((anonymous namespace)::(anonymous namespace)::PlaceholderQueue&) MetadataLoader.cpp:0:0
#13 0x0000595d9a201a48 llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) MetadataLoader.cpp:0:0
#14 0x0000595d9a1f8465 llvm::MetadataLoader::MetadataLoaderImpl::parseGlobalObjectAttachment(llvm::GlobalObject&, llvm::ArrayRef<unsigned long>) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600465)
#15 0x0000595d9a1f802e llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460002e)
#16 0x0000595d9a1f8875 llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x4600875)
#17 0x0000595d9a202fbc llvm::MetadataLoader::parseMetadata(bool) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x460afbc)
#18 0x0000595d9a1cb30b (anonymous namespace)::BitcodeReader::materializeMetadata() BitcodeReader.cpp:0:0
#19 0x0000595d9a426e76 llvm::Module::materializeMetadata() (/b/s/w/ir/x/w/install/bin/wasm-ld+0x482ee76)
#20 0x0000595d98e43910 llvm::FunctionImporter::importFunctions(llvm::Module&, llvm::FunctionImporter::ImportMapTy const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x324b910)
#21 0x0000595d981c49f7 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::__2::vector<unsigned char, std::__2::allocator<unsigned char>> const&) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x25cc9f7)
#22 0x0000595d981b62b2 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0
#23 0x0000595d981b5523 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::__2::function<llvm::Expected<std::__2::unique_ptr<llvm::CachedFileStream, std::__2::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0
#24 0x0000595d981b5e44 void std::__2::__function::__policy_func<void ()>::__call_func[abi:nn210000]<std::__2::__bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&), llvm::BitcodeModule&, std::__2::reference_wrapper<llvm::ModuleSummaryIndex>, std::__2::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::__2::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::__2::reference_wrapper<std::__2::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::__2::less<unsigned long>, std::__2::allocator<std::__2::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::__2::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::__2::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::__2::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>>>(std::__2::__function::__policy_storage const*) LTO.cpp:0:0
#25 0x0000595d97b0698e std::__2::__deferred_assoc_state<void, std::__2::__async_func<std::__2::function<void ()>>>::__execute() BalancedPartitioning.cpp:0:0
#26 0x0000595d97b0d4ed llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/b/s/w/ir/x/w/install/bin/wasm-ld+0x1f154ed)
#27 0x0000595d97b0ef5e void* llvm::thread::ThreadProxy<std::__2::tuple<llvm::StdThreadPool::grow(int)::$_0>>(void*) ThreadPool.cpp:0:0
#28 0x0000783a7d094ac3 start_thread ./nptl/pthread_create.c:442:8
#29 0x0000783a7d126850 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83:0
em++: error: '/b/s/w/ir/x/w/install/bin/wasm-ld -o 799.wasm /b/s/w/ir/x/t/emtest_cipntzue/emscripten_temp_1tu744ca/799_0.o -L/b/s/w/ir/x/w/install/emscripten/cache/sysroot/lib/wasm32-emscripten/thinlto -L/b/s/w/ir/x/w/install/emscripten/src/lib -lGL-getprocaddr -lal -lhtml5 -lc_optz -lstubs -lnoexit -lc -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr /b/s/w/ir/x/t/emtest_cipntzue/tmpzy3z2imqlibemscripten_js_symbols.so --strip-debug -u__cxa_atexit --export=_emscripten_stack_alloc --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --table-base=1 --global-base=1024' failed (received SIGABRT (-6))
test_Module_dynamicLibraries (test_core.thinltoz) ... ok (6.66s)
None
None
test_EXPORTED_RUNTIME_METHODS (test_core.thinltoz) ... FAIL
None
None
test_799 (test_core.thinltoz) ... FAIL
test_asan_no_error_c (test_core.thinltoz) ... ok (31.26s)
test_asan_api (test_core.thinltoz) ... ok (30.36s)
test_asan_js_stack_op (test_core.thinltoz) ... ok (30.95s)
test_asan_no_error_cpp (test_core.thinltoz) ... ok (31.38s)
test_asan_modularized_with_closure (test_core.thinltoz) ... ok (31.93s)
test_799 (test_core.thinltoz) ... FAIL
test_EXPORTED_RUNTIME_METHODS (test_core.thinltoz) ... FAIL
test_EXPORT_EXCEPTION_HANDLING_HELPERS_emscripten (test_core.thinltoz) ... FAIL
test_EXPORT_EXCEPTION_HANDLING_HELPERS_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_EXPORT_EXCEPTION_HANDLING_HELPERS_wasm_legacy (test_core.thinltoz) ... FAIL
test_FS_exports (test_core.thinltoz) ... FAIL
test_FS_exports_files (test_core.thinltoz) ... FAIL
test_Module_dynamicLibraries (test_core.thinltoz) ... ok
test_Module_dynamicLibraries_pthreads (test_core.thinltoz) ... FAIL
test_Module_dynamicLibraries_pthreads_reversed (test_core.thinltoz) ... FAIL
test_Module_dynamicLibraries_reversed (test_core.thinltoz) ... ok
test_abort_no_dtors_emscripten (test_core.thinltoz) ... FAIL
test_abort_no_dtors_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_abort_no_dtors_wasm_legacy (test_core.thinltoz) ... FAIL
test_abort_on_exceptions (test_core.thinltoz) ... FAIL
test_abort_on_exceptions_main (test_core.thinltoz) ... FAIL
test_abort_on_exceptions_pthreads (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/20067'
test_aborting_new_grow (test_core.thinltoz) ... FAIL
test_aborting_new_nogrow (test_core.thinltoz) ... FAIL
test_align64 (test_core.thinltoz) ... skipped 'is_wasm2js : tests 64-bit alignment of structs'
test_alloca (test_core.thinltoz) ... FAIL
test_alloca_stack (test_core.thinltoz) ... FAIL
test_array2 (test_core.thinltoz) ... FAIL
test_array2b (test_core.thinltoz) ... FAIL
test_asan_api (test_core.thinltoz) ... ok
test_asan_bitfield_round (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_bitfield_unround_offset (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_bitfield_unround_size (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_heap_buffer_overflow_c (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_heap_buffer_overflow_cpp (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_js_stack_op (test_core.thinltoz) ... ok
test_asan_memchr (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_memcpy (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_memset_freed (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_memset_null (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_modularized_with_closure (test_core.thinltoz) ... ok
test_asan_no_error_c (test_core.thinltoz) ... ok
test_asan_no_error_cpp (test_core.thinltoz) ... ok
test_asan_stack_buffer_overflow (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_stack_buffer_overflow_js (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_static_buffer_overflow (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_strcpy (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_use_after_free_c (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_use_after_free_cpp (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_use_after_return (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_asan_vector (test_core.thinltoz) ... skipped '-Oz breaks source maps'
test_assert (test_core.thinltoz) ... FAIL
test_assert_standalone (test_core.thinltoz) ... ok
test_async_ccall_bad (test_core.thinltoz) ... FAIL
test_async_ccall_good (test_core.thinltoz) ... FAIL
test_async_ccall_good_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_async_ccall_promise (test_core.thinltoz) ... FAIL
test_async_ccall_promise_exit_runtime (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_async_ccall_promise_jspi (test_core.thinltoz) ... FAIL
test_async_ccall_promise_jspi_exit_runtime (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_async_hello (test_core.thinltoz) ... FAIL
test_async_hello_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_async_hello_v8 (test_core.thinltoz) ... skipped 'test requires v8 and EMTEST_SKIP_V8 is set'
test_async_loop (test_core.thinltoz) ... FAIL
test_async_loop_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_async_main (test_core.thinltoz) ... FAIL
test_async_main_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_asyncify_assertions (test_core.thinltoz) ... FAIL
test_asyncify_during_exit (test_core.thinltoz) ... FAIL
test_asyncify_indirect_lists_add (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/21757'
test_asyncify_indirect_lists_add_no_prop (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/21757'
test_asyncify_indirect_lists_ignoreindirect (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/21757'
test_asyncify_indirect_lists_normal (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/21757'
test_asyncify_lists_normal (test_core.thinltoz) ... FAIL
test_asyncify_lists_onlylist_a (test_core.thinltoz) ... FAIL
test_asyncify_lists_onlylist_b (test_core.thinltoz) ... FAIL
test_asyncify_lists_onlylist_b_response (test_core.thinltoz) ... FAIL
test_asyncify_lists_onlylist_c (test_core.thinltoz) ... FAIL
test_asyncify_lists_onlylist_c_response (test_core.thinltoz) ... FAIL
test_asyncify_lists_onlylist_d (test_core.thinltoz) ... FAIL
test_asyncify_lists_removelist_a (test_core.thinltoz) ... FAIL
test_asyncify_lists_removelist_b (test_core.thinltoz) ... FAIL
test_asyncify_lists_removelist_c (test_core.thinltoz) ... FAIL
test_asyncify_longjmp (test_core.thinltoz) ... FAIL
test_asyncify_main_module (test_core.thinltoz) ... ok
test_asyncify_main_module_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_asyncify_side_module (test_core.thinltoz) ... ok
test_asyncify_side_module_reversed (test_core.thinltoz) ... ok
test_asyncify_unused (test_core.thinltoz) ... FAIL
test_asyncify_unused_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_atexit (test_core.thinltoz) ... FAIL
test_atexit_standalone (test_core.thinltoz) ... ok
test_atexit_threads (test_core.thinltoz) ... FAIL
test_atexit_threads_stub (test_core.thinltoz) ... FAIL
test_atoX (test_core.thinltoz) ... FAIL
test_atomic (test_core.thinltoz) ... FAIL
test_atomic_cxx (test_core.thinltoz) ... FAIL
test_autodebug_wasm (test_core.thinltoz) ... FAIL
test_autodebug_wasm_standalone (test_core.thinltoz) ... ok
test_avx (test_core.thinltoz) ... FAIL
test_avx2 (test_core.thinltoz) ... FAIL
test_avx2_nontrapping (test_core.thinltoz) ... FAIL
test_avx_nontrapping (test_core.thinltoz) ... FAIL
test_bad_typeid_emscripten (test_core.thinltoz) ... FAIL
test_bad_typeid_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_bad_typeid_wasm_legacy (test_core.thinltoz) ... FAIL
test_bigarray (test_core.thinltoz) ... FAIL
test_biggerswitch (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/22179'
test_bigswitch (test_core.thinltoz) ... FAIL
test_binaryen_2170_emscripten_atomic_cas_u8 (test_core.thinltoz) ... FAIL
test_bitfields (test_core.thinltoz) ... skipped 'is_wasm2js : tests 1-bit fields'
test_brk (test_core.thinltoz) ... FAIL
test_bsearch (test_core.thinltoz) ... FAIL
test_bswap64 (test_core.thinltoz) ... skipped 'is_wasm2js : tests byte conversions'
test_bswap64_standalone (test_core.thinltoz) ... skipped 'is_wasm2js : tests byte conversions'
test_bullet_autoconf (test_core.thinltoz) ... ERROR
test_bullet_cmake (test_core.thinltoz) ... FAIL
test_ccall (test_core.thinltoz) ... FAIL
test_ccall_cwrap_fast_path (test_core.thinltoz) ... FAIL
test_closebitcasts (test_core.thinltoz) ... skipped 'is_wasm2js : tests pointer casts'
test_constglobalstructs (test_core.thinltoz) ... FAIL
test_constglobalunion (test_core.thinltoz) ... FAIL
test_conststructs (test_core.thinltoz) ... FAIL
test_copyop (test_core.thinltoz) ... FAIL
test_core_types (test_core.thinltoz) ... FAIL
test_ctors_no_main (test_core.thinltoz) ... FAIL
test_ctors_no_main_standalone (test_core.thinltoz) ... ok
test_ctype (test_core.thinltoz) ... FAIL
test_cube2hash (test_core.thinltoz) ... FAIL
test_cube2hash_standalone (test_core.thinltoz) ... ok
test_cube2md5 (test_core.thinltoz) ... FAIL
test_cubescript (test_core.thinltoz) ... FAIL
test_cubescript_asyncify (test_core.thinltoz) ... FAIL
test_cubescript_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_cxx_self_assign (test_core.thinltoz) ... FAIL
test_demangle_stacks_noexcept (test_core.thinltoz) ... FAIL
test_demangle_stacks_normal (test_core.thinltoz) ... FAIL
test_demangle_stacks_symbol_map (test_core.thinltoz) ... FAIL
test_direct_string_constant_usage (test_core.thinltoz) ... FAIL
test_dlfcn_alignment_and_zeroing (test_core.thinltoz) ... ok
test_dlfcn_asyncify (test_core.thinltoz) ... ok
test_dlfcn_asyncify_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_dlfcn_basic (test_core.thinltoz) ... ok
test_dlfcn_basic_pthreads (test_core.thinltoz) ... FAIL
test_dlfcn_data_and_fptr (test_core.thinltoz) ... ok
test_dlfcn_em_asm (test_core.thinltoz) ... ok
test_dlfcn_feature_in_lib (test_core.thinltoz) ... ok
test_dlfcn_funcs (test_core.thinltoz) ... ok
test_dlfcn_handle_alloc (test_core.thinltoz) ... FAIL
test_dlfcn_i64 (test_core.thinltoz) ... ok
test_dlfcn_info (test_core.thinltoz) ... ok
test_dlfcn_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_dlfcn_longjmp (test_core.thinltoz) ... ok
test_dlfcn_missing (test_core.thinltoz) ... FAIL
test_dlfcn_preload (test_core.thinltoz) ... ok
test_dlfcn_qsort (test_core.thinltoz) ... ok
test_dlfcn_rtld_local (test_core.thinltoz) ... ok
test_dlfcn_self (test_core.thinltoz) ... FAIL
test_dlfcn_stacks (test_core.thinltoz) ... ok
test_dlfcn_unique_sig (test_core.thinltoz) ... ok
test_dlfcn_varargs (test_core.thinltoz) ... ok
test_dlmalloc (test_core.thinltoz) ... FAIL
test_dlmalloc_inline (test_core.thinltoz) ... FAIL
test_dlmalloc_large (test_core.thinltoz) ... FAIL
test_dlmalloc_partial (test_core.thinltoz) ... FAIL
test_dlmalloc_partial_2 (test_core.thinltoz) ... FAIL
test_double_i64_conversion (test_core.thinltoz) ... skipped 'is_wasm2js : tests 64-bit conversions'
test_double_varargs (test_core.thinltoz) ... skipped 'is_wasm2js : tests va_arg()'
test_dwarf (test_core.thinltoz) ... FAIL
test_dylink_argv_argc (test_core.thinltoz) ... ok
test_dylink_basics (test_core.thinltoz) ... ok
test_dylink_basics_no_modify (test_core.thinltoz) ... skipped 'no modify mode only works with non-optimizing builds'
test_dylink_basics_no_modify_reversed (test_core.thinltoz) ... skipped 'no modify mode only works with non-optimizing builds'
test_dylink_class (test_core.thinltoz) ... ok
test_dylink_class_reversed (test_core.thinltoz) ... ok
test_dylink_dot_a (test_core.thinltoz) ... ok
test_dylink_dot_a_reversed (test_core.thinltoz) ... ok
test_dylink_dso_needed (test_core.thinltoz) ... FAIL
test_dylink_dynamic_cast (test_core.thinltoz) ... ok
test_dylink_dynamic_cast_reversed (test_core.thinltoz) ... ok
test_dylink_exceptions_try_catch_2_emscripten (test_core.thinltoz) ... ok
test_dylink_exceptions_try_catch_2_reversed_emscripten (test_core.thinltoz) ... ok
test_dylink_exceptions_try_catch_2_reversed_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_dylink_exceptions_try_catch_2_reversed_wasm_legacy (test_core.thinltoz) ... ok
test_dylink_exceptions_try_catch_2_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_dylink_exceptions_try_catch_2_wasm_legacy (test_core.thinltoz) ... ok
test_dylink_exceptions_try_catch_6_emscripten (test_core.thinltoz) ... FAIL
test_dylink_exceptions_try_catch_6_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_dylink_exceptions_try_catch_6_wasm_legacy (test_core.thinltoz) ... FAIL
test_dylink_exceptions_try_catch_emscripten (test_core.thinltoz) ... ok
test_dylink_exceptions_try_catch_reversed_emscripten (test_core.thinltoz) ... ok
test_dylink_exceptions_try_catch_reversed_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_dylink_exceptions_try_catch_reversed_wasm_legacy (test_core.thinltoz) ... ok
test_dylink_exceptions_try_catch_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_dylink_exceptions_try_catch_wasm_legacy (test_core.thinltoz) ... ok
test_dylink_floats (test_core.thinltoz) ... ok
test_dylink_floats_reversed (test_core.thinltoz) ... ok
test_dylink_funcpointer (test_core.thinltoz) ... ok
test_dylink_funcpointer_reversed (test_core.thinltoz) ... ok
test_dylink_funcpointers_wrapper (test_core.thinltoz) ... ok
test_dylink_funcpointers_wrapper_reversed (test_core.thinltoz) ... ok
test_dylink_function_pointer_equality (test_core.thinltoz) ... ok
test_dylink_function_pointer_equality_reversed (test_core.thinltoz) ... ok
test_dylink_global_init (test_core.thinltoz) ... ok
test_dylink_global_init_reversed (test_core.thinltoz) ... ok
test_dylink_global_inits (test_core.thinltoz) ... ok
test_dylink_global_inits_reversed (test_core.thinltoz) ... ok
test_dylink_global_var (test_core.thinltoz) ... ok
test_dylink_global_var_export (test_core.thinltoz) ... FAIL
test_dylink_global_var_modded (test_core.thinltoz) ... ok
test_dylink_global_var_modded_reversed (test_core.thinltoz) ... ok
test_dylink_global_var_reversed (test_core.thinltoz) ... ok
test_dylink_hyper_dupe (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/12815'
test_dylink_hyper_dupe_reversed (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/12815'
test_dylink_i64 (test_core.thinltoz) ... ok
test_dylink_i64_b (test_core.thinltoz) ... ok
test_dylink_i64_b_reversed (test_core.thinltoz) ... ok
test_dylink_i64_c (test_core.thinltoz) ... ok
test_dylink_i64_c_bigint (test_core.thinltoz) ... ok
test_dylink_i64_c_bigint_reversed (test_core.thinltoz) ... ok
test_dylink_i64_c_reversed (test_core.thinltoz) ... ok
test_dylink_i64_invoke (test_core.thinltoz) ... ok
test_dylink_i64_invoke_bigint (test_core.thinltoz) ... ok
test_dylink_i64_invoke_bigint_rtld_local (test_core.thinltoz) ... ok
test_dylink_i64_invoke_rtld_local (test_core.thinltoz) ... ok
test_dylink_i64_reversed (test_core.thinltoz) ... ok
test_dylink_iostream (test_core.thinltoz) ... FAIL
test_dylink_iostream_reversed (test_core.thinltoz) ... FAIL
test_dylink_jslib (test_core.thinltoz) ... ok
test_dylink_jslib_reversed (test_core.thinltoz) ... ok
test_dylink_load_compiled_side_module (test_core.thinltoz) ... ok
test_dylink_locate_file (test_core.thinltoz) ... ok
test_dylink_locate_file_reversed (test_core.thinltoz) ... ok
test_dylink_many_postsets (test_core.thinltoz) ... ok
test_dylink_many_postsets_reversed (test_core.thinltoz) ... ok
test_dylink_memory_growth (test_core.thinltoz) ... ok
test_dylink_memory_growth_reversed (test_core.thinltoz) ... ok
test_dylink_no_export (test_core.thinltoz) ... ok
test_dylink_no_export_reversed (test_core.thinltoz) ... ok
test_dylink_postsets_chunking (test_core.thinltoz) ... ok
test_dylink_postsets_chunking_reversed (test_core.thinltoz) ... ok
test_dylink_printf (test_core.thinltoz) ... ok
test_dylink_printf_reversed (test_core.thinltoz) ... ok
test_dylink_raii_exceptions_emscripten (test_core.thinltoz) ... ok
test_dylink_raii_exceptions_reversed_emscripten (test_core.thinltoz) ... ok
test_dylink_raii_exceptions_reversed_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_dylink_raii_exceptions_reversed_wasm_legacy (test_core.thinltoz) ... ok
test_dylink_raii_exceptions_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_dylink_raii_exceptions_wasm_legacy (test_core.thinltoz) ... ok
test_dylink_rtti (test_core.thinltoz) ... ok
test_dylink_rtti_reversed (test_core.thinltoz) ... ok
test_dylink_safe_heap (test_core.thinltoz) ... ok
test_dylink_safe_heap_reversed (test_core.thinltoz) ... ok
test_dylink_spaghetti (test_core.thinltoz) ... ok
test_dylink_spaghetti_reversed (test_core.thinltoz) ... ok
test_dylink_static_funcpointer_float (test_core.thinltoz) ... ok
test_dylink_static_funcpointer_float_reversed (test_core.thinltoz) ... ok
test_dylink_static_funcpointers (test_core.thinltoz) ... ok
test_dylink_static_funcpointers_reversed (test_core.thinltoz) ... ok
test_dylink_stdlib (test_core.thinltoz) ... ok
test_dylink_stdlib_reversed (test_core.thinltoz) ... ok
test_dylink_syslibs_all (test_core.thinltoz) ... FAIL
test_dylink_syslibs_all_reversed (test_core.thinltoz) ... FAIL
test_dylink_syslibs_libcxx (test_core.thinltoz) ... FAIL
test_dylink_syslibs_libcxx_reversed (test_core.thinltoz) ... FAIL
test_dylink_syslibs_missing (test_core.thinltoz) ... FAIL
test_dylink_syslibs_missing_assertions (test_core.thinltoz) ... FAIL
test_dylink_syslibs_missing_assertions_reversed (test_core.thinltoz) ... skipped 'with_reversed is false'
test_dylink_syslibs_missing_reversed (test_core.thinltoz) ... skipped 'with_reversed is false'
test_dylink_tls (test_core.thinltoz) ... FAIL
test_dylink_tls_export (test_core.thinltoz) ... FAIL
test_dylink_weak (test_core.thinltoz) ... ok
test_dylink_weak_undef (test_core.thinltoz) ... ok
test_dylink_zlib (test_core.thinltoz) ... ok
test_dylink_zlib_reversed (test_core.thinltoz) ... ok
test_dyncall_pointers (test_core.thinltoz) ... FAIL
test_dyncall_pointers_legacy (test_core.thinltoz) ... FAIL
test_dyncall_specific (test_core.thinltoz) ... FAIL
test_dyncall_specific_minimal_runtime (test_core.thinltoz) ... FAIL
test_em_asm (test_core.thinltoz) ... FAIL
test_em_asm_2 (test_core.thinltoz) ... FAIL
test_em_asm_arguments_side_effects (test_core.thinltoz) ... FAIL
test_em_asm_c (test_core.thinltoz) ... FAIL
test_em_asm_direct (test_core.thinltoz) ... FAIL
test_em_asm_parameter_pack (test_core.thinltoz) ... FAIL
test_em_asm_side_module (test_core.thinltoz) ... ok
test_em_asm_types (test_core.thinltoz) ... FAIL
test_em_asm_types_c (test_core.thinltoz) ... FAIL
test_em_asm_unicode (test_core.thinltoz) ... FAIL
test_em_asm_unused_arguments (test_core.thinltoz) ... FAIL
test_em_async_js (test_core.thinltoz) ... FAIL
test_em_async_js_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_em_js (test_core.thinltoz) ... FAIL
test_em_js_address_taken (test_core.thinltoz) ... FAIL
test_em_js_c (test_core.thinltoz) ... FAIL
test_em_js_dylink (test_core.thinltoz) ... ok
test_em_js_dylink_c (test_core.thinltoz) ... ok
test_em_js_i64 (test_core.thinltoz) ... FAIL
test_em_js_pthreads (test_core.thinltoz) ... FAIL
test_em_js_pthreads_dylink (test_core.thinltoz) ... FAIL
test_embind_basics (test_core.thinltoz) ... FAIL
test_embind_custom_marshal (test_core.thinltoz) ... FAIL
test_embind_dylink_visibility_hidden (test_core.thinltoz) ... ok
test_embind_dynamic_initialization (test_core.thinltoz) ... FAIL
test_embind_float_constants (test_core.thinltoz) ... FAIL
test_embind_i64_binding (test_core.thinltoz) ... FAIL
test_embind_i64_val (test_core.thinltoz) ... FAIL
test_embind_i64_val_safe_heap (test_core.thinltoz) ... FAIL
test_embind_inheritance (test_core.thinltoz) ... FAIL
test_embind_lib_with_asyncify (test_core.thinltoz) ... FAIL
test_embind_lib_with_asyncify_no_dynamic_execution (test_core.thinltoz) ... FAIL
test_embind_memory_view (test_core.thinltoz) ... FAIL
test_embind_negative_constants (test_core.thinltoz) ... FAIL
test_embind_no_rtti (test_core.thinltoz) ... FAIL
test_embind_no_rtti_followed_by_rtti (test_core.thinltoz) ... FAIL
test_embind_polymorphic_class (test_core.thinltoz) ... FAIL
test_embind_polymorphic_class_no_rtti (test_core.thinltoz) ... FAIL
test_embind_sync_if_pthread_delayed (test_core.thinltoz) ... FAIL
test_embind_unbound_types (test_core.thinltoz) ... FAIL
test_embind_unsigned (test_core.thinltoz) ... FAIL
test_embind_unsigned_bigint (test_core.thinltoz) ... FAIL
test_embind_val (test_core.thinltoz) ... FAIL
test_embind_val_assignment (test_core.thinltoz) ... ok
test_embind_val_basics (test_core.thinltoz) ... FAIL
test_embind_val_basics_flag (test_core.thinltoz) ... FAIL
test_embind_val_coro (test_core.thinltoz) ... FAIL
test_embind_val_coro_propogate_cpp_exception (test_core.thinltoz) ... FAIL
test_embind_val_coro_propogate_js_error (test_core.thinltoz) ... FAIL
test_embind_val_cross_thread (test_core.thinltoz) ... FAIL
test_embind_val_cross_thread_deleted (test_core.thinltoz) ... FAIL
test_embind_val_read_pointer (test_core.thinltoz) ... FAIL
test_embind_wasm_workers (test_core.thinltoz) ... FAIL
test_emmalloc_memalign_corruption (test_core.thinltoz) ... FAIL
test_emmalloc_memory_statistics (test_core.thinltoz) ... skipped 'output is sensitive to optimization flags, so only test unoptimized builds'
test_emmalloc_memvalidate (test_core.thinltoz) ... FAIL
test_emmalloc_memvalidate_verbose (test_core.thinltoz) ... FAIL
test_emmalloc_normal (test_core.thinltoz) ... FAIL
test_emmalloc_trim (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/23343'
test_emmalloc_usable_size (test_core.thinltoz) ... FAIL
test_emscripten_api (test_core.thinltoz) ... FAIL
test_emscripten_async_call (test_core.thinltoz) ... FAIL
test_emscripten_async_load_script (test_core.thinltoz) ... FAIL
test_emscripten_atomics (test_core.thinltoz) ... FAIL
test_emscripten_atomics_stub (test_core.thinltoz) ... FAIL
test_emscripten_futexes (test_core.thinltoz) ... FAIL
test_emscripten_get_compiler_setting (test_core.thinltoz) ... FAIL
test_emscripten_get_now (test_core.thinltoz) ... FAIL
test_emscripten_has_asyncify (test_core.thinltoz) ... FAIL
test_emscripten_lazy_load_code (test_core.thinltoz) ... FAIL
test_emscripten_lazy_load_code_conditional (test_core.thinltoz) ... FAIL
test_emscripten_log (test_core.thinltoz) ... FAIL
test_emscripten_log_bigint (test_core.thinltoz) ... FAIL
test_emscripten_math (test_core.thinltoz) ... FAIL
test_emscripten_run_script_string_int (test_core.thinltoz) ... FAIL
test_emscripten_run_script_string_null (test_core.thinltoz) ... FAIL
test_emscripten_run_script_string_utf8 (test_core.thinltoz) ... FAIL
test_emscripten_scan_registers (test_core.thinltoz) ... FAIL
test_emscripten_stack (test_core.thinltoz) ... FAIL
test_emulate_function_pointer_casts (test_core.thinltoz) ... FAIL
test_env (test_core.thinltoz) ... FAIL
test_environ (test_core.thinltoz) ... FAIL
test_environment (test_core.thinltoz) ... FAIL
test_esm_integration (test_core.thinltoz) ... skipped 'test requires node canary and EMTEST_SKIP_NODE_CANARY is set'
test_esm_integration_main (test_core.thinltoz) ... skipped 'test requires node canary and EMTEST_SKIP_NODE_CANARY is set'
test_esm_integration_main_imported_memory (test_core.thinltoz) ... skipped 'test requires node canary and EMTEST_SKIP_NODE_CANARY is set'
test_eval_ctors (test_core.thinltoz) ... skipped 'need opts'
test_eval_ctors_no_main (test_core.thinltoz) ... FAIL
test_eval_ctors_no_main_standalone (test_core.thinltoz) ... ok
test_eval_ctors_standalone (test_core.thinltoz) ... skipped 'need opts'
test_exception_sjlj_options (test_core.thinltoz) ... ok
test_exceptions_2_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_2_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_2_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_3_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_3_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_3_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_alias_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_alias_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_alias_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_allowed (test_core.thinltoz) ... FAIL
test_exceptions_allowed_2 (test_core.thinltoz) ... FAIL
test_exceptions_allowed_misuse (test_core.thinltoz) ... ok
test_exceptions_allowed_uncaught (test_core.thinltoz) ... FAIL
test_exceptions_convert_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_convert_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_convert_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_custom_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_custom_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_custom_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_destroy_virtual_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_destroy_virtual_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_destroy_virtual_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_libcxx_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_libcxx_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_libcxx_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_longjmp1_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_longjmp1_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_longjmp1_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_longjmp2_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_longjmp2_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_longjmp2_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_longjmp3_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_longjmp3_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_longjmp3_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_longjmp4_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_longjmp4_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_longjmp4_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_minimal_runtime (test_core.thinltoz) ... FAIL
test_exceptions_multi_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_multi_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_multi_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_multiple_inherit_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_multiple_inherit_rethrow_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_multiple_inherit_rethrow_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_multiple_inherit_rethrow_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_multiple_inherit_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_multiple_inherit_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_off (test_core.thinltoz) ... FAIL
test_exceptions_primary_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_primary_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_primary_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_refcount_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_refcount_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_refcount_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_resume_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_resume_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_resume_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_rethrow_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_rethrow_missing_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_rethrow_missing_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_rethrow_missing_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_rethrow_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_rethrow_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_simplify_cfg_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_simplify_cfg_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_simplify_cfg_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_std_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_std_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_std_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_typed_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_typed_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_typed_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_uncaught_2_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_uncaught_2_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_uncaught_2_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_uncaught_count_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_uncaught_count_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_uncaught_count_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_uncaught_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_uncaught_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_uncaught_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_virtual_inheritance_emscripten (test_core.thinltoz) ... FAIL
test_exceptions_virtual_inheritance_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_virtual_inheritance_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exceptions_wasm_legacy (test_core.thinltoz) ... FAIL
test_exceptions_with_and_without_longjmp (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_exit_status (test_core.thinltoz) ... FAIL
test_export_start (test_core.thinltoz) ... ok
test_exported_response (test_core.thinltoz) ... FAIL
test_externref (test_core.thinltoz) ... skipped 'test requires v8 and EMTEST_SKIP_V8 is set'
test_externref_emjs (test_core.thinltoz) ... FAIL
test_externref_emjs_dynlink (test_core.thinltoz) ... ok
test_fakestat (test_core.thinltoz) ... FAIL
test_fannkuch (test_core.thinltoz) ... FAIL
test_fast_math (test_core.thinltoz) ... FAIL
test_fasta (test_core.thinltoz) ... FAIL
test_fasta_float (test_core.thinltoz) ... FAIL
test_fasta_nontrapping (test_core.thinltoz) ... FAIL
test_fcntl (test_core.thinltoz) ... FAIL
test_fcntl_misc (test_core.thinltoz) ... FAIL
test_fcntl_misc_bigint (test_core.thinltoz) ... FAIL
test_fcntl_open (test_core.thinltoz) ... FAIL
test_fcntl_open_nodefs (test_core.thinltoz) ... FAIL
test_fcntl_open_rawfs (test_core.thinltoz) ... FAIL
test_fcntl_wasmfs (test_core.thinltoz) ... FAIL
test_fcoverage_mapping (test_core.thinltoz) ... FAIL
test_fgetc_ungetc (test_core.thinltoz) ... FAIL
test_fgetc_ungetc_nodefs (test_core.thinltoz) ... FAIL
test_fgetc_ungetc_rawfs (test_core.thinltoz) ... FAIL
test_fgetc_unsigned (test_core.thinltoz) ... FAIL
test_fgets_eol (test_core.thinltoz) ... FAIL
test_fibers_asyncify (test_core.thinltoz) ... FAIL
test_fileno (test_core.thinltoz) ... FAIL
test_files (test_core.thinltoz) ... FAIL
test_flexarray_struct (test_core.thinltoz) ... FAIL
test_float32_precise (test_core.thinltoz) ... skipped 'is_wasm2js : tests float32 ops'
test_float_builtins (test_core.thinltoz) ... FAIL
test_float_literals (test_core.thinltoz) ... FAIL
test_floatvars (test_core.thinltoz) ... FAIL
test_fnmatch (test_core.thinltoz) ... FAIL
test_force_exit (test_core.thinltoz) ... FAIL
test_fpic_static (test_core.thinltoz) ... FAIL
test_freetype (test_core.thinltoz) ... ERROR
test_fs_64bit (test_core.thinltoz) ... FAIL
test_fs_append (test_core.thinltoz) ... FAIL
test_fs_append_rawfs (test_core.thinltoz) ... FAIL
test_fs_base (test_core.thinltoz) ... FAIL
test_fs_dict (test_core.thinltoz) ... FAIL
test_fs_dict_none (test_core.thinltoz) ... FAIL
test_fs_emptyPath (test_core.thinltoz) ... FAIL
test_fs_emptyPath_rawfs (test_core.thinltoz) ... FAIL
test_fs_enotdir (test_core.thinltoz) ... FAIL
test_fs_enotdir_nodefs (test_core.thinltoz) ... FAIL
test_fs_enotdir_rawfs (test_core.thinltoz) ... FAIL
test_fs_errorstack (test_core.thinltoz) ... FAIL
test_fs_errorstack_rawfs (test_core.thinltoz) ... FAIL
test_fs_js_api (test_core.thinltoz) ... FAIL
test_fs_js_api_nodefs (test_core.thinltoz) ... FAIL
test_fs_js_api_rawfs (test_core.thinltoz) ... FAIL
test_fs_js_api_wasmfs (test_core.thinltoz) ... FAIL
test_fs_js_api_wasmfs_nodefs (test_core.thinltoz) ... FAIL
test_fs_js_api_wasmfs_rawfs (test_core.thinltoz) ... FAIL
test_fs_llseek (test_core.thinltoz) ... FAIL
test_fs_llseek_rawfs (test_core.thinltoz) ... FAIL
test_fs_mkdir_dotdot (test_core.thinltoz) ... FAIL
test_fs_mkdir_dotdot_nodefs (test_core.thinltoz) ... FAIL
test_fs_mkdir_dotdot_rawfs (test_core.thinltoz) ... FAIL
test_fs_mmap (test_core.thinltoz) ... FAIL
test_fs_mmap_nodefs (test_core.thinltoz) ... FAIL
test_fs_mmap_rawfs (test_core.thinltoz) ... FAIL
test_fs_mmap_wasmfs (test_core.thinltoz) ... FAIL
test_fs_mmap_wasmfs_nodefs (test_core.thinltoz) ... FAIL
test_fs_mmap_wasmfs_rawfs (test_core.thinltoz) ... FAIL
test_fs_no_main (test_core.thinltoz) ... FAIL
test_fs_no_main_minimal_runtime (test_core.thinltoz) ... FAIL
test_fs_nodefs_cloexec (test_core.thinltoz) ... FAIL
test_fs_nodefs_cloexec_rawfs (test_core.thinltoz) ... FAIL
test_fs_nodefs_dup (test_core.thinltoz) ... FAIL
test_fs_nodefs_dup_rawfs (test_core.thinltoz) ... FAIL
test_fs_nodefs_home (test_core.thinltoz) ... FAIL
test_fs_nodefs_nofollow (test_core.thinltoz) ... FAIL
test_fs_nodefs_readdir (test_core.thinltoz) ... FAIL
test_fs_nodefs_rw (test_core.thinltoz) ... FAIL
test_fs_nodefs_rw_rawfs (test_core.thinltoz) ... FAIL
test_fs_nodefs_statvfs (test_core.thinltoz) ... FAIL
test_fs_noderawfs_nofollow (test_core.thinltoz) ... FAIL
test_fs_readdir_ino_matches_stat_ino (test_core.thinltoz) ... FAIL
test_fs_readdir_ino_matches_stat_ino_nodefs (test_core.thinltoz) ... FAIL
test_fs_readdir_ino_matches_stat_ino_rawfs (test_core.thinltoz) ... FAIL
test_fs_readv (test_core.thinltoz) ... FAIL
test_fs_readv_rawfs (test_core.thinltoz) ... FAIL
test_fs_rename_on_existing (test_core.thinltoz) ... FAIL
test_fs_rename_on_existing_nodefs (test_core.thinltoz) ... FAIL
test_fs_rename_on_existing_rawfs (test_core.thinltoz) ... FAIL
test_fs_rename_on_existing_wasmfs (test_core.thinltoz) ... FAIL
test_fs_rename_on_existing_wasmfs_nodefs (test_core.thinltoz) ... FAIL
test_fs_rename_on_existing_wasmfs_rawfs (test_core.thinltoz) ... FAIL
test_fs_stat_unnamed_file_descriptor (test_core.thinltoz) ... FAIL
test_fs_stat_unnamed_file_descriptor_nodefs (test_core.thinltoz) ... FAIL
test_fs_stat_unnamed_file_descriptor_rawfs (test_core.thinltoz) ... FAIL
test_fs_stat_unnamed_file_descriptor_wasmfs (test_core.thinltoz) ... FAIL
test_fs_stat_unnamed_file_descriptor_wasmfs_nodefs (test_core.thinltoz) ... FAIL
test_fs_stat_unnamed_file_descriptor_wasmfs_rawfs (test_core.thinltoz) ... FAIL
test_fs_symlink_resolution (test_core.thinltoz) ... FAIL
test_fs_symlink_resolution_nodefs (test_core.thinltoz) ... FAIL
test_fs_symlink_resolution_rawfs (test_core.thinltoz) ... FAIL
test_fs_symlink_resolution_wasmfs (test_core.thinltoz) ... FAIL
test_fs_symlink_resolution_wasmfs_nodefs (test_core.thinltoz) ... FAIL
test_fs_symlink_resolution_wasmfs_rawfs (test_core.thinltoz) ... FAIL
test_fs_trackingdelegate (test_core.thinltoz) ... FAIL
test_fs_write (test_core.thinltoz) ... FAIL
test_fs_writeFile (test_core.thinltoz) ... FAIL
test_fs_writeFile_nodefs (test_core.thinltoz) ... FAIL
test_fs_writeFile_rawfs (test_core.thinltoz) ... FAIL
test_fs_writeFile_wasmfs (test_core.thinltoz) ... FAIL
test_fs_writeFile_wasmfs_nodefs (test_core.thinltoz) ... FAIL
test_fs_writeFile_wasmfs_rawfs (test_core.thinltoz) ... FAIL
test_fs_write_rawfs (test_core.thinltoz) ... FAIL
test_fs_writev (test_core.thinltoz) ... FAIL
test_fs_writev_rawfs (test_core.thinltoz) ... FAIL
test_fscanf (test_core.thinltoz) ... FAIL
test_fscanf_2 (test_core.thinltoz) ... FAIL
test_fstatat (test_core.thinltoz) ... FAIL
test_funcptr (test_core.thinltoz) ... skipped 'is_wasm2js : tests function pointer calls'
test_funcptr_import_type (test_core.thinltoz) ... FAIL
test_funcptrfunc (test_core.thinltoz) ... skipped 'is_wasm2js : tests function pointer calls'
test_functionpointer_libfunc_varargs (test_core.thinltoz) ... FAIL
test_futimens (test_core.thinltoz) ... FAIL
test_futimens_nodefs (test_core.thinltoz) ... FAIL
test_futimens_rawfs (test_core.thinltoz) ... FAIL
test_fwrite_0 (test_core.thinltoz) ... FAIL
test_gcc_unmangler (test_core.thinltoz) ... FAIL
test_getValue_setValue (test_core.thinltoz) ... FAIL
test_getValue_setValue_bigint (test_core.thinltoz) ... FAIL
test_get_exported_function (test_core.thinltoz) ... FAIL
test_get_exported_function_minimal_runtime (test_core.thinltoz) ... FAIL
test_getcwd_with_non_ascii_name (test_core.thinltoz) ... FAIL
test_getdents64 (test_core.thinltoz) ... FAIL
test_getdents64_special_cases (test_core.thinltoz) ... FAIL
test_getloadavg (test_core.thinltoz) ... FAIL
test_getopt (test_core.thinltoz) ... FAIL
test_getopt_long (test_core.thinltoz) ... FAIL
test_gl_main_module (test_core.thinltoz) ... FAIL
test_globaldoubles (test_core.thinltoz) ... skipped 'is_wasm2js : tests globals in static data'
test_hello_argc (test_core.thinltoz) ... FAIL
test_hello_argc_pthreads (test_core.thinltoz) ... FAIL
test_hello_argc_standalone (test_core.thinltoz) ... ok
test_hello_world (test_core.thinltoz) ... FAIL
test_i16_emcc_intrinsic (test_core.thinltoz) ... skipped 'is_wasm2js : tests operations on 16-bit values'
test_i32_mul_precise (test_core.thinltoz) ... skipped 'is_wasm2js : tests 32-bit multiplication'
test_i64 (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
test_i64_2 (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
test_i64_3 (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
test_i64_4 (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
test_i64_7z (test_core.thinltoz) ... skipped 'is_wasm2js : test 64-bit math'
test_i64_b (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
test_i64_cmp (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
test_i64_cmp2 (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
test_i64_double (test_core.thinltoz) ... skipped 'is_wasm2js : test unions of i64 and double'
test_i64_i16 (test_core.thinltoz) ... skipped 'is_wasm2js : test 64-bit math with short values'
test_i64_invoke_bigint (test_core.thinltoz) ... FAIL
test_i64_llabs (test_core.thinltoz) ... FAIL
test_i64_precise (test_core.thinltoz) ... skipped 'is_wasm2js : test 64-bit math'
test_i64_precise_needed (test_core.thinltoz) ... skipped 'is_wasm2js : test 64-bit multiply'
test_i64_precise_standalone (test_core.thinltoz) ... skipped 'is_wasm2js : test 64-bit math'
test_i64_qdouble (test_core.thinltoz) ... skipped 'is_wasm2js : test 64-bit/double conversions'
test_i64_umul (test_core.thinltoz) ... skipped 'is_wasm2js : test 64-bit multiply'
test_i64_varargs (test_core.thinltoz) ... skipped 'is_wasm2js : tests va_arg() with i64 params'
test_i64_zextneg (test_core.thinltoz) ... FAIL
test_indirectbr (test_core.thinltoz) ... FAIL
test_indirectbr_many (test_core.thinltoz) ... FAIL
test_inlinejs3 (test_core.thinltoz) ... FAIL
test_inlinejs4 (test_core.thinltoz) ... FAIL
test_int53 (test_core.thinltoz) ... FAIL
test_int53_convertI32PairToI53Checked (test_core.thinltoz) ... FAIL
test_intvars (test_core.thinltoz) ... skipped 'is_wasm2js : test shifts etc. on 64-bit integers'
test_iostream_and_determinism (test_core.thinltoz) ... FAIL
test_iostream_ctors (test_core.thinltoz) ... FAIL
test_isnan (test_core.thinltoz) ... FAIL
test_istream (test_core.thinltoz) ... FAIL
test_jslib (test_core.thinltoz) ... FAIL
test_jslib_i64_params (test_core.thinltoz) ... FAIL
test_jslib_i64_params_bigint (test_core.thinltoz) ... FAIL
test_langinfo (test_core.thinltoz) ... FAIL
test_large_exported_response (test_core.thinltoz) ... FAIL
test_legacy_exported_runtime_numbers (test_core.thinltoz) ... FAIL
test_legacy_stack_deps (test_core.thinltoz) ... FAIL
test_libcxx (test_core.thinltoz) ... FAIL
test_libgen (test_core.thinltoz) ... FAIL
test_life (test_core.thinltoz) ... FAIL
test_linker_response_file (test_core.thinltoz) ... FAIL
test_literal_negative_zero (test_core.thinltoz) ... FAIL
test_llvm_fabs (test_core.thinltoz) ... FAIL
test_llvm_used (test_core.thinltoz) ... FAIL
test_llvmswitch (test_core.thinltoz) ... FAIL
test_localeconv (test_core.thinltoz) ... FAIL
test_longjmp2_emscripten (test_core.thinltoz) ... FAIL
test_longjmp2_main_module_emscripten (test_core.thinltoz) ... FAIL
test_longjmp2_main_module_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_longjmp2_main_module_wasm_legacy (test_core.thinltoz) ... FAIL
test_longjmp2_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_longjmp2_wasm_legacy (test_core.thinltoz) ... FAIL
test_longjmp3_emscripten (test_core.thinltoz) ... FAIL
test_longjmp3_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_longjmp3_wasm_legacy (test_core.thinltoz) ... FAIL
test_longjmp4_emscripten (test_core.thinltoz) ... FAIL
test_longjmp4_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_longjmp4_wasm_legacy (test_core.thinltoz) ... FAIL
test_longjmp_emscripten (test_core.thinltoz) ... FAIL
test_longjmp_exc_emscripten (test_core.thinltoz) ... FAIL
test_longjmp_exc_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_longjmp_exc_wasm_legacy (test_core.thinltoz) ... FAIL
test_longjmp_funcptr_emscripten (test_core.thinltoz) ... FAIL
test_longjmp_funcptr_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_longjmp_funcptr_wasm_legacy (test_core.thinltoz) ... FAIL
test_longjmp_i64_emscripten (test_core.thinltoz) ... FAIL
test_longjmp_i64_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_longjmp_i64_wasm_legacy (test_core.thinltoz) ... FAIL
test_longjmp_repeat_emscripten (test_core.thinltoz) ... FAIL
test_longjmp_repeat_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_longjmp_repeat_wasm_legacy (test_core.thinltoz) ... FAIL
test_longjmp_stacked_emscripten (test_core.thinltoz) ... FAIL
test_longjmp_stacked_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_longjmp_stacked_wasm_legacy (test_core.thinltoz) ... FAIL
test_longjmp_standalone (test_core.thinltoz) ... FAIL
test_longjmp_standalone_standalone (test_core.thinltoz) ... ok
test_longjmp_throw (test_core.thinltoz) ... FAIL
test_longjmp_unwind_emscripten (test_core.thinltoz) ... FAIL
test_longjmp_unwind_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_longjmp_unwind_wasm_legacy (test_core.thinltoz) ... FAIL
test_longjmp_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_longjmp_wasm_legacy (test_core.thinltoz) ... FAIL
test_longjmp_wasm_workers (test_core.thinltoz) ... FAIL
test_longjmp_with_and_without_exceptions (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_longjmp_zero_emscripten (test_core.thinltoz) ... FAIL
test_longjmp_zero_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_longjmp_zero_wasm_legacy (test_core.thinltoz) ... FAIL
test_main_module_js_symbol (test_core.thinltoz) ... ok
test_main_module_static_align (test_core.thinltoz) ... FAIL
test_main_reads_args (test_core.thinltoz) ... FAIL
test_main_thread_async_em_asm (test_core.thinltoz) ... FAIL
test_main_thread_async_em_asm_force_c (test_core.thinltoz) ... FAIL
test_main_thread_async_em_asm_relocatable (test_core.thinltoz) ... ok
test_main_thread_em_asm (test_core.thinltoz) ... FAIL
test_main_thread_em_asm_pthread (test_core.thinltoz) ... FAIL
test_main_thread_em_asm_signatures (test_core.thinltoz) ... FAIL
test_mainenv (test_core.thinltoz) ... FAIL
test_mallinfo (test_core.thinltoz) ... FAIL
test_math (test_core.thinltoz) ... FAIL
test_math_fmodf (test_core.thinltoz) ... skipped 'is_wasm2js : tests fmodf (which may use JS math)'
test_math_lgamma (test_core.thinltoz) ... skipped 'is_wasm2js : tests lgamma and signbit'
test_mathfuncptr (test_core.thinltoz) ... skipped 'is_wasm2js : tests function pointer calls'
test_memcpy2 (test_core.thinltoz) ... FAIL
test_memcpy3 (test_core.thinltoz) ... FAIL
test_memcpy_alignment (test_core.thinltoz) ... FAIL
test_memcpy_alignment_standalone (test_core.thinltoz) ... ok
test_memcpy_zero_bytes (test_core.thinltoz) ... FAIL
test_memcpy_zero_bytes_bulkmem (test_core.thinltoz) ... FAIL
test_memmove (test_core.thinltoz) ... FAIL
test_memmove2 (test_core.thinltoz) ... FAIL
test_memmove3 (test_core.thinltoz) ... FAIL
test_memorygrowth (test_core.thinltoz) ... FAIL
test_memorygrowth_2 (test_core.thinltoz) ... FAIL
test_memorygrowth_3 (test_core.thinltoz) ... FAIL
test_memorygrowth_3_force_fail_reallocBuffer (test_core.thinltoz) ... FAIL
test_memorygrowth_MAXIMUM_MEMORY (test_core.thinltoz) ... FAIL
test_memorygrowth_MAXIMUM_MEMORY_standalone (test_core.thinltoz) ... ok
test_memorygrowth_geometric_step (test_core.thinltoz) ... FAIL
test_memorygrowth_linear_step (test_core.thinltoz) ... FAIL
test_memprof_requirements (test_core.thinltoz) ... FAIL
test_memset (test_core.thinltoz) ... FAIL
test_memset_alignment (test_core.thinltoz) ... FAIL
test_minimal_runtime_global_initializer (test_core.thinltoz) ... FAIL
test_minimal_runtime_hello_printf_fs (test_core.thinltoz) ... FAIL
test_minimal_runtime_hello_printf_nofs (test_core.thinltoz) ... FAIL
test_minimal_runtime_hello_world_default (test_core.thinltoz) ... ok
test_minimal_runtime_hello_world_no_export (test_core.thinltoz) ... ok
test_minimal_runtime_hello_world_streaming (test_core.thinltoz) ... ok
test_minimal_runtime_hello_world_streaming_inst (test_core.thinltoz) ... ok
test_minimal_runtime_memorygrowth (test_core.thinltoz) ... FAIL
test_minimal_runtime_safe_heap (test_core.thinltoz) ... FAIL
test_minmax (test_core.thinltoz) ... FAIL
test_mmap_anon (test_core.thinltoz) ... FAIL
test_mmap_anon_pthreads (test_core.thinltoz) ... FAIL
test_mmap_anon_standalone (test_core.thinltoz) ... ok
test_mod_globalstruct (test_core.thinltoz) ... FAIL
test_modularize_closure_pre (test_core.thinltoz) ... FAIL
test_modularize_instance (test_core.thinltoz) ... FAIL
test_modularize_instance_embind (test_core.thinltoz) ... FAIL
test_modularize_instance_hello (test_core.thinltoz) ... FAIL
test_modularize_instance_pthreads (test_core.thinltoz) ... FAIL
test_module_stdin (test_core.thinltoz) ... FAIL
test_module_wasm_memory (test_core.thinltoz) ... FAIL
test_mount (test_core.thinltoz) ... FAIL
test_negative_zero (test_core.thinltoz) ... FAIL
test_neon_wasm_simd (test_core.thinltoz) ... FAIL
test_nested_struct_varargs (test_core.thinltoz) ... skipped 'is_wasm2js : tests va_arg()'
test_nestedstructs (test_core.thinltoz) ... FAIL
test_netinet_in (test_core.thinltoz) ... FAIL
test_newlocale (test_core.thinltoz) ... FAIL
test_nl_types (test_core.thinltoz) ... FAIL
test_no_declare_asm_module_exports (test_core.thinltoz) ... FAIL
test_no_declare_asm_module_exports_minimal_runtime (test_core.thinltoz) ... FAIL
test_nothrow_new_grow (test_core.thinltoz) ... FAIL
test_nothrow_new_nogrow (test_core.thinltoz) ... FAIL
test_openjpeg (test_core.thinltoz) ... ERROR
test_pack (test_core.thinltoz) ... FAIL
test_perrar (test_core.thinltoz) ... FAIL
test_phiundef (test_core.thinltoz) ... FAIL
test_poll (test_core.thinltoz) ... FAIL
test_poppler (test_core.thinltoz) ... ERROR
test_posixtime (test_core.thinltoz) ... FAIL
test_posixtime_standalone (test_core.thinltoz) ... ok
test_postrun_exception (test_core.thinltoz) ... FAIL
test_postrun_exit_runtime (test_core.thinltoz) ... FAIL
test_printf (test_core.thinltoz) ... FAIL
test_printf_2 (test_core.thinltoz) ... FAIL
test_printf_float (test_core.thinltoz) ... FAIL
test_printf_macros (test_core.thinltoz) ... FAIL
test_printf_more (test_core.thinltoz) ... FAIL
test_printf_octal (test_core.thinltoz) ... FAIL
test_printf_wasmfs (test_core.thinltoz) ... FAIL
test_proc_self_fd (test_core.thinltoz) ... FAIL
test_promise (test_core.thinltoz) ... FAIL
test_promise_await (test_core.thinltoz) ... FAIL
test_promise_await_error (test_core.thinltoz) ... FAIL
test_promise_await_jspi (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_JSPI is set)'
test_pthread_abort (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/15014'
test_pthread_abort_interrupt (test_core.thinltoz) ... FAIL
test_pthread_atexit (test_core.thinltoz) ... FAIL
test_pthread_attr_getstack (test_core.thinltoz) ... FAIL
test_pthread_attr_getstack_minimal_runtime (test_core.thinltoz) ... FAIL
test_pthread_busy_wait (test_core.thinltoz) ... FAIL
test_pthread_busy_wait_atexit (test_core.thinltoz) ... FAIL
test_pthread_busy_wait_pooled (test_core.thinltoz) ... FAIL
test_pthread_c11_threads (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/22617'
test_pthread_c11_threads_pooled (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/22617'
test_pthread_c11_threads_proxied (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/22617'
test_pthread_cancel (test_core.thinltoz) ... FAIL
test_pthread_cancel_async (test_core.thinltoz) ... FAIL
test_pthread_cleanup (test_core.thinltoz) ... FAIL
test_pthread_create (test_core.thinltoz) ... FAIL
test_pthread_create_embind_stack_check (test_core.thinltoz) ... FAIL
test_pthread_create_pool (test_core.thinltoz) ... FAIL
test_pthread_create_proxy (test_core.thinltoz) ... FAIL
test_pthread_cxx_threads (test_core.thinltoz) ... FAIL
test_pthread_cxx_threads_pooled (test_core.thinltoz) ... FAIL
test_pthread_dispatch_after_exit (test_core.thinltoz) ... FAIL
test_pthread_dlopen (test_core.thinltoz) ... FAIL
test_pthread_dlopen_many (test_core.thinltoz) ... FAIL
test_pthread_dlsym (test_core.thinltoz) ... FAIL
test_pthread_dylink (test_core.thinltoz) ... FAIL
test_pthread_dylink_basics (test_core.thinltoz) ... FAIL
test_pthread_dylink_basics_reversed (test_core.thinltoz) ... FAIL
test_pthread_dylink_entry_point (test_core.thinltoz) ... FAIL
test_pthread_dylink_entry_point_autoload (test_core.thinltoz) ... FAIL
test_pthread_dylink_exceptions (test_core.thinltoz) ... FAIL
test_pthread_dylink_longjmp (test_core.thinltoz) ... FAIL
test_pthread_dylink_main_module_1 (test_core.thinltoz) ... FAIL
test_pthread_dylink_tls (test_core.thinltoz) ... FAIL
test_pthread_emmalloc (test_core.thinltoz) ... FAIL
test_pthread_equal (test_core.thinltoz) ... FAIL
test_pthread_exceptions (test_core.thinltoz) ... FAIL
test_pthread_exit_main (test_core.thinltoz) ... FAIL
test_pthread_exit_main_stub (test_core.thinltoz) ... FAIL
test_pthread_exit_process (test_core.thinltoz) ... FAIL
test_pthread_join_and_asyncify (test_core.thinltoz) ... skipped 'test requires node canary and EMTEST_SKIP_NODE_CANARY is set'
test_pthread_keepalive (test_core.thinltoz) ... FAIL
test_pthread_nested_work_queue (test_core.thinltoz) ... FAIL
test_pthread_offset_converter (test_core.thinltoz) ... FAIL
test_pthread_offset_converter_modularize (test_core.thinltoz) ... skipped 'also_with_modularize is not compatible with WASM_ESM_INTEGRATION'
test_pthread_proxy_to_pthread (test_core.thinltoz) ... FAIL
test_pthread_proxying (test_core.thinltoz) ... FAIL
test_pthread_proxying_canceled_work (test_core.thinltoz) ... FAIL
test_pthread_proxying_cpp (test_core.thinltoz) ... FAIL
test_pthread_proxying_dropped_work (test_core.thinltoz) ... FAIL
test_pthread_proxying_modularize (test_core.thinltoz) ... skipped 'also_with_modularize is not compatible with WASM_ESM_INTEGRATION'
test_pthread_proxying_refcount (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/19795'
test_pthread_run_on_main_thread (test_core.thinltoz) ... FAIL
test_pthread_run_on_main_thread_minimal_runtime (test_core.thinltoz) ... FAIL
test_pthread_run_script (test_core.thinltoz) ... FAIL
test_pthread_setspecific_mainthread (test_core.thinltoz) ... FAIL
test_pthread_specific (test_core.thinltoz) ... FAIL
test_pthread_stdout_after_main (test_core.thinltoz) ... FAIL
test_pthread_thread_local_storage (test_core.thinltoz) ... FAIL
test_pthread_tls_dylink (test_core.thinltoz) ... FAIL
test_pthread_unhandledrejection (test_core.thinltoz) ... FAIL
test_pthread_wait32_notify (test_core.thinltoz) ... FAIL
test_pthread_wait64_notify (test_core.thinltoz) ... FAIL
test_pthread_wait_async (test_core.thinltoz) ... FAIL
test_pthread_weak_ref (test_core.thinltoz) ... FAIL
test_rand (test_core.thinltoz) ... FAIL
test_random (test_core.thinltoz) ... FAIL
test_random_device (test_core.thinltoz) ... FAIL
test_raytrace (test_core.thinltoz) ... skipped 'Relies on double value rounding, extremely sensitive'
test_readdir (test_core.thinltoz) ... FAIL
test_readdir_empty (test_core.thinltoz) ... FAIL
test_readdir_empty_bigint (test_core.thinltoz) ... FAIL
test_readdir_rawfs (test_core.thinltoz) ... FAIL
test_readdir_unlink (test_core.thinltoz) ... FAIL
test_reinterpreted_ptrs (test_core.thinltoz) ... FAIL
test_relaxed_simd_implies_simd128 (test_core.thinltoz) ... FAIL
test_relocatable_void_function (test_core.thinltoz) ... ok
test_remove (test_core.thinltoz) ... FAIL
test_rename (test_core.thinltoz) ... FAIL
test_rename_wasmfs (test_core.thinltoz) ... FAIL
test_response_file (test_core.thinltoz) ... FAIL
test_return_address (test_core.thinltoz) ... FAIL
test_rounding (test_core.thinltoz) ... FAIL
test_runtime_stacksave (test_core.thinltoz) ... FAIL
test_safe_stack (test_core.thinltoz) ... FAIL
test_safe_stack_alloca (test_core.thinltoz) ... FAIL
test_safe_stack_dylink (test_core.thinltoz) ... ok
test_safe_stack_dylink_reversed (test_core.thinltoz) ... ok
test_safe_stack_pthread (test_core.thinltoz) ... FAIL
test_sanitize_vptr (test_core.thinltoz) ... FAIL
test_sbrk (test_core.thinltoz) ... FAIL
test_sbrk_standalone (test_core.thinltoz) ... ok
test_segfault (test_core.thinltoz) ... FAIL
test_set_align (test_core.thinltoz) ... FAIL
test_setjmp_many_2_emscripten (test_core.thinltoz) ... FAIL
test_setjmp_many_2_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_setjmp_many_2_wasm_legacy (test_core.thinltoz) ... FAIL
test_setjmp_many_emscripten (test_core.thinltoz) ... FAIL
test_setjmp_many_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_setjmp_many_wasm_legacy (test_core.thinltoz) ... FAIL
test_setjmp_noleak_emscripten (test_core.thinltoz) ... FAIL
test_setjmp_noleak_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_setjmp_noleak_wasm_legacy (test_core.thinltoz) ... FAIL
test_setjmp_within_loop_emscripten (test_core.thinltoz) ... FAIL
test_setjmp_within_loop_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_setjmp_within_loop_wasm_legacy (test_core.thinltoz) ... FAIL
test_setlocale (test_core.thinltoz) ... FAIL
test_sha1 (test_core.thinltoz) ... FAIL
test_sigaction_default_sigabrt (test_core.thinltoz) ... FAIL
test_sigaction_default_sigint (test_core.thinltoz) ... FAIL
test_sigalrm (test_core.thinltoz) ... FAIL
test_siglongjmp_emscripten (test_core.thinltoz) ... FAIL
test_siglongjmp_wasm (test_core.thinltoz) ... skipped 'test requires node v24 or d8 (and EMTEST_SKIP_EH is set)'
test_siglongjmp_wasm_legacy (test_core.thinltoz) ... FAIL
test_signals (test_core.thinltoz) ... FAIL
test_sizeof (test_core.thinltoz) ... FAIL
test_source_map (test_core.thinltoz) ... FAIL
test_source_map_minimal_runtime (test_core.thinltoz) ... FAIL
test_sqlite (test_core.thinltoz) ... FAIL
test_sqlite_pthreads (test_core.thinltoz) ... FAIL
test_sqlite_pthreads_wasmfs (test_core.thinltoz) ... FAIL
test_sqlite_wasmfs (test_core.thinltoz) ... FAIL
test_sscanf (test_core.thinltoz) ... FAIL
test_sscanf_2 (test_core.thinltoz) ... FAIL
test_sscanf_3 (test_core.thinltoz) ... FAIL
test_sscanf_4 (test_core.thinltoz) ... FAIL
test_sscanf_5 (test_core.thinltoz) ... FAIL
test_sscanf_6 (test_core.thinltoz) ... FAIL
test_sscanf_caps (test_core.thinltoz) ... FAIL
test_sscanf_float (test_core.thinltoz) ... FAIL
test_sscanf_hex (test_core.thinltoz) ... FAIL
test_sscanf_n (test_core.thinltoz) ... FAIL
test_sscanf_other_whitespace (test_core.thinltoz) ... FAIL
test_sscanf_skip (test_core.thinltoz) ... FAIL
test_sscanf_whitespace (test_core.thinltoz) ... FAIL
test_sse1 (test_core.thinltoz) ... FAIL
test_sse1_nontrapping (test_core.thinltoz) ... FAIL
test_sse2 (test_core.thinltoz) ... FAIL
test_sse2_nontrapping (test_core.thinltoz) ... FAIL
test_sse3 (test_core.thinltoz) ... FAIL
test_sse4 (test_core.thinltoz) ... FAIL
test_sse4_1 (test_core.thinltoz) ... FAIL
test_sse4_2 (test_core.thinltoz) ... FAIL
test_sse_diagnostics (test_core.thinltoz) ... FAIL
test_ssr (test_core.thinltoz) ... FAIL
test_ssse3 (test_core.thinltoz) ... FAIL
test_stack (test_core.thinltoz) ... FAIL
test_stackAlloc (test_core.thinltoz) ... FAIL
test_stack_align (test_core.thinltoz) ... FAIL
test_stack_overflow (test_core.thinltoz) ... FAIL
test_stack_overflow_check (test_core.thinltoz) ... FAIL
test_stack_placement (test_core.thinltoz) ... FAIL
test_stack_placement_pic (test_core.thinltoz) ... FAIL
test_stat (test_core.thinltoz) ... FAIL
test_stat_chmod (test_core.thinltoz) ... FAIL
test_stat_chmod_nodefs (test_core.thinltoz) ... FAIL
test_stat_chmod_rawfs (test_core.thinltoz) ... FAIL
test_stat_chmod_wasmfs (test_core.thinltoz) ... FAIL
test_stat_chmod_wasmfs_nodefs (test_core.thinltoz) ... skipped 'test requires symlink creation which currently missing from wasmfs+noderawfs'
test_stat_chmod_wasmfs_rawfs (test_core.thinltoz) ... skipped 'test requires symlink creation which currently missing from wasmfs+noderawfs'
test_stat_mknod (test_core.thinltoz) ... FAIL
test_stat_mknod_wasmfs (test_core.thinltoz) ... FAIL
test_static_variable (test_core.thinltoz) ... FAIL
test_statics (test_core.thinltoz) ... FAIL
test_statvfs (test_core.thinltoz) ... FAIL
test_statx (test_core.thinltoz) ... FAIL
test_std_function_incomplete_return (test_core.thinltoz) ... FAIL
test_stdbool (test_core.thinltoz) ... FAIL
test_stddef (test_core.thinltoz) ... FAIL
test_stdio_locking (test_core.thinltoz) ... FAIL
test_stdlibs (test_core.thinltoz) ... FAIL
test_stdvec (test_core.thinltoz) ... FAIL
test_strcasecmp (test_core.thinltoz) ... FAIL
test_strstr (test_core.thinltoz) ... FAIL
test_strtod (test_core.thinltoz) ... FAIL
test_strtok (test_core.thinltoz) ... FAIL
test_strtol (test_core.thinltoz) ... FAIL
test_strtol_bin (test_core.thinltoz) ... FAIL
test_strtol_dec (test_core.thinltoz) ... FAIL
test_strtol_hex (test_core.thinltoz) ... FAIL
test_strtol_oct (test_core.thinltoz) ... FAIL
test_strtold (test_core.thinltoz) ... FAIL
test_strtoll_bin (test_core.thinltoz) ... FAIL
test_strtoll_dec (test_core.thinltoz) ... FAIL
test_strtoll_hex (test_core.thinltoz) ... FAIL
test_strtoll_oct (test_core.thinltoz) ... FAIL
test_struct_varargs (test_core.thinltoz) ... skipped 'is_wasm2js : tests va_arg()'
test_structbyval (test_core.thinltoz) ... FAIL
test_syscall_intercept (test_core.thinltoz) ... FAIL
test_systypes (test_core.thinltoz) ... FAIL
test_tcgetattr (test_core.thinltoz) ... FAIL
test_template_class_deduction (test_core.thinltoz) ... FAIL
test_tinyfuncstr (test_core.thinltoz) ... FAIL
test_tracing (test_core.thinltoz) ... FAIL
test_transtrcase (test_core.thinltoz) ... FAIL
test_trickystring (test_core.thinltoz) ... FAIL
test_trivial_struct_varargs (test_core.thinltoz) ... skipped 'is_wasm2js : tests va_arg()'
test_typeid (test_core.thinltoz) ... FAIL
test_ubsan_full_left_shift_fsanitize_integer (test_core.thinltoz) ... FAIL
test_ubsan_full_left_shift_fsanitize_shift (test_core.thinltoz) ... FAIL
test_ubsan_full_left_shift_fsanitize_undefined (test_core.thinltoz) ... FAIL
test_ubsan_full_no_return_fsanitize_return (test_core.thinltoz) ... FAIL
test_ubsan_full_no_return_fsanitize_undefined (test_core.thinltoz) ... FAIL
test_ubsan_full_null_ref_dylink (test_core.thinltoz) ... ok
test_ubsan_full_null_ref_fsanitize_null (test_core.thinltoz) ... ERROR
test_ubsan_full_null_ref_fsanitize_undefined (test_core.thinltoz) ... FAIL
test_ubsan_full_overflow_fsanitize_integer (test_core.thinltoz) ... FAIL
test_ubsan_full_overflow_fsanitize_overflow (test_core.thinltoz) ... FAIL
test_ubsan_full_overflow_fsanitize_undefined (test_core.thinltoz) ... FAIL
test_ubsan_full_stack_trace_g (test_core.thinltoz) ... FAIL
test_ubsan_full_stack_trace_g4 (test_core.thinltoz) ... FAIL
test_ubsan_minimal_errors_same_place (test_core.thinltoz) ... FAIL
test_ubsan_minimal_too_many_errors (test_core.thinltoz) ... FAIL
test_ubsan_typeinfo_eq (test_core.thinltoz) ... FAIL
test_uname (test_core.thinltoz) ... FAIL
test_unary_literal (test_core.thinltoz) ... FAIL
test_undefined_main (test_core.thinltoz) ... FAIL
test_undefined_main_explicit (test_core.thinltoz) ... FAIL
test_undefined_main_explicit_standalone (test_core.thinltoz) ... ok
test_undefined_main_standalone (test_core.thinltoz) ... ok
test_undefined_main_wasm_output (test_core.thinltoz) ... ok
test_unicode_js_library (test_core.thinltoz) ... FAIL
test_unistd_access (test_core.thinltoz) ... FAIL
test_unistd_access_nodefs (test_core.thinltoz) ... FAIL
test_unistd_access_rawfs (test_core.thinltoz) ... FAIL
test_unistd_access_wasmfs (test_core.thinltoz) ... FAIL
test_unistd_access_wasmfs_nodefs (test_core.thinltoz) ... FAIL
test_unistd_access_wasmfs_rawfs (test_core.thinltoz) ... FAIL
test_unistd_close (test_core.thinltoz) ... FAIL
test_unistd_close_rawfs (test_core.thinltoz) ... FAIL
test_unistd_curdir (test_core.thinltoz) ... FAIL
test_unistd_dup (test_core.thinltoz) ... FAIL
test_unistd_dup_rawfs (test_core.thinltoz) ... FAIL
test_unistd_fsync_stdout (test_core.thinltoz) ... FAIL
test_unistd_io (test_core.thinltoz) ... FAIL
test_unistd_io_bigint (test_core.thinltoz) ... FAIL
test_unistd_io_nodefs (test_core.thinltoz) ... FAIL
test_unistd_io_nodefs_bigint (test_core.thinltoz) ... FAIL
test_unistd_links (test_core.thinltoz) ... FAIL
test_unistd_links_nodefs (test_core.thinltoz) ... FAIL
test_unistd_misc (test_core.thinltoz) ... FAIL
test_unistd_misc_nodefs (test_core.thinltoz) ... FAIL
test_unistd_pipe (test_core.thinltoz) ... FAIL
test_unistd_pipe_rawfs (test_core.thinltoz) ... FAIL
test_unistd_symlink_on_nodefs (test_core.thinltoz) ... FAIL
test_unistd_sysconf (test_core.thinltoz) ... FAIL
test_unistd_sysconf_phys_pages (test_core.thinltoz) ... FAIL
test_unistd_sysconf_standalone (test_core.thinltoz) ... ok
test_unistd_truncate (test_core.thinltoz) ... FAIL
test_unistd_truncate_nodefs (test_core.thinltoz) ... FAIL
test_unistd_truncate_rawfs (test_core.thinltoz) ... FAIL
test_unistd_truncate_wasmfs (test_core.thinltoz) ... FAIL
test_unistd_truncate_wasmfs_nodefs (test_core.thinltoz) ... FAIL
test_unistd_truncate_wasmfs_rawfs (test_core.thinltoz) ... FAIL
test_unistd_unlink (test_core.thinltoz) ... FAIL
test_unistd_unlink_nodefs (test_core.thinltoz) ... FAIL
test_unistd_unlink_rawfs (test_core.thinltoz) ... FAIL
test_unistd_unlink_wasmfs (test_core.thinltoz) ... FAIL
test_unistd_unlink_wasmfs_nodefs (test_core.thinltoz) ... skipped '
https://github.com/emscripten-core/emscripten/issues/18112'
test_unistd_unlink_wasmfs_rawfs (test_core.thinltoz) ... FAIL
test_unistd_write_broken_link (test_core.thinltoz) ... FAIL
test_unistd_write_broken_link_rawfs (test_core.thinltoz) ... FAIL
test_unsigned (test_core.thinltoz) ... skipped 'is_wasm2js : tests signed vs unsigned values'
test_utf (test_core.thinltoz) ... FAIL
test_utf16 (test_core.thinltoz) ... FAIL
test_utf16_bench (test_core.thinltoz) ... FAIL
test_utf16_textdecoder (test_core.thinltoz) ... FAIL
test_utf32 (test_core.thinltoz) ... FAIL
test_utf32_short_wchar (test_core.thinltoz) ... skipped '-fshort-wchar is not compatible with LTO (libraries would need rebuilting)'
test_utf32_short_wchar_textdecoder (test_core.thinltoz) ... skipped '-fshort-wchar is not compatible with LTO (libraries would need rebuilting)'
test_utf32_textdecoder (test_core.thinltoz) ... FAIL
test_utf8 (test_core.thinltoz) ... FAIL
test_utf8_bench (test_core.thinltoz) ... FAIL
test_utf8_bench_bigint (test_core.thinltoz) ... FAIL
test_utf8_bench_bigint_textdecoder (test_core.thinltoz) ... FAIL
test_utf8_bench_textdecoder (test_core.thinltoz) ... FAIL
test_utf8_invalid (test_core.thinltoz) ... FAIL
test_utf8_invalid_minimal_runtime (test_core.thinltoz) ... FAIL
test_utf8_invalid_minimal_runtime_textdecoder (test_core.thinltoz) ... FAIL
test_utf8_invalid_textdecoder (test_core.thinltoz) ... FAIL
test_utf8_textdecoder (test_core.thinltoz) ... FAIL
test_utf_textdecoder (test_core.thinltoz) ... FAIL
test_utime (test_core.thinltoz) ... FAIL
test_vararg_copy (test_core.thinltoz) ... skipped 'is_wasm2js : tests va_arg()'
test_varargs (test_core.thinltoz) ... FAIL
test_varargs_byval (test_core.thinltoz) ... skipped 'clang cannot compile this code with that target yet'
test_varargs_multi (test_core.thinltoz) ... FAIL
test_vprintf (test_core.thinltoz) ... FAIL
test_vsnprintf (test_core.thinltoz) ... FAIL
test_vswprintf_utf8 (test_core.thinltoz) ... FAIL
test_wasm2js (test_core.thinltoz) ... FAIL
test_wasm2js_fallback (test_core.thinltoz) ... ok
test_wasm2js_fallback_minimal_runtime (test_core.thinltoz) ... ok
test_wasm_intrinsics_simd (test_core.thinltoz) ... FAIL
test_wasm_synchronous_compilation (test_core.thinltoz) ... FAIL
test_wasm_worker_hello (test_core.thinltoz) ... FAIL
test_wasm_worker_hello_minimal_runtime (test_core.thinltoz) ... FAIL
test_wasm_worker_hello_modularize (test_core.thinltoz) ... skipped 'also_with_modularize is not compatible with WASM_ESM_INTEGRATION'
test_wasm_worker_hello_modularize_minimal_runtime (test_core.thinltoz) ... skipped 'also_with_modularize is not compatible with WASM_ESM_INTEGRATION'
test_wasm_worker_malloc (test_core.thinltoz) ... FAIL
test_wasm_worker_wait_async (test_core.thinltoz) ... FAIL
test_webidl (test_core.thinltoz) ... FAIL
test_webidl_all (test_core.thinltoz) ... FAIL
test_webidl_all_growth (test_core.thinltoz) ... FAIL
test_webidl_default (test_core.thinltoz) ... FAIL
test_webidl_fast (test_core.thinltoz) ... FAIL
test_whets (test_core.thinltoz) ... FAIL
test_wprintf (test_core.thinltoz) ... FAIL
test_wrap_malloc (test_core.thinltoz) ... FAIL
test_wrap_malloc_emmalloc (test_core.thinltoz) ... FAIL
test_write_stdout_fileno (test_core.thinltoz) ... FAIL
test_zero_multiplication (test_core.thinltoz) ... skipped 'is_wasm2js : tests multiplication by zero'
test_zero_struct_varargs (test_core.thinltoz) ... skipped 'is_wasm2js : tests va_arg()'
test_zerodiv (test_core.thinltoz) ... skipped 'is_wasm2js : tests division by zero'
test_zlib_cmake (test_core.thinltoz) ... ERROR
test_zlib_configure (test_core.thinltoz) ... FAIL
======================================================================
ERROR: test_bullet_autoconf (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 148, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 334, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6841, in test_bullet
libraries=self.get_bullet_library(use_cmake),
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 479, in get_bullet_library
return self.get_library('third_party/bullet', generated_libs,
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1757, in get_library
return build_library(name, build_dir, generated_libs, configure,
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 2523, in build_library
shared.run_process(configure, env=env, stdout=stdout, stderr=stderr,
File "/b/s/w/ir/x/w/install/emscripten/tools/shared.py", line 112, in run_process
ret = subprocess.run(cmd, check=check, input=input, *args, **kw)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/b/s/w/ir/x/w/install/emscripten/emconfigure', 'sh', './configure', '--disable-shared', '--host=i686-pc-linux-gnu', '--disable-demos', '--disable-dependency-tracking']' returned non-zero exit status 1.
======================================================================
ERROR: test_freetype (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 148, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6736, in test_freetype
ftlib = self.get_freetype_library()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 2023, in get_freetype_library
return self.get_library(os.path.join('third_party', 'freetype'),
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1757, in get_library
return build_library(name, build_dir, generated_libs, configure,
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 2523, in build_library
shared.run_process(configure, env=env, stdout=stdout, stderr=stderr,
File "/b/s/w/ir/x/w/install/emscripten/tools/shared.py", line 112, in run_process
ret = subprocess.run(cmd, check=check, input=input, *args, **kw)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/b/s/w/ir/x/w/install/emscripten/emconfigure', 'sh', './configure', '--disable-shared', '--without-zlib']' returned non-zero exit status 1.
======================================================================
ERROR: test_openjpeg (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 148, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6911, in test_openjpeg
lib = self.get_library('third_party/openjpeg',
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1757, in get_library
return build_library(name, build_dir, generated_libs, configure,
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 2552, in build_library
shared.run_process(make + make_args, stdout=stdout, stderr=stderr, env=env,
File "/b/s/w/ir/x/w/install/emscripten/tools/shared.py", line 112, in run_process
ret = subprocess.run(cmd, check=check, input=input, *args, **kw)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['make']' returned non-zero exit status 2.
======================================================================
ERROR: test_poppler (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 334, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 231, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 148, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6854, in test_poppler
poppler = self.get_poppler_library()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 2028, in get_poppler_library
freetype = self.get_freetype_library()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 2023, in get_freetype_library
return self.get_library(os.path.join('third_party', 'freetype'),
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1757, in get_library
return build_library(name, build_dir, generated_libs, configure,
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 2523, in build_library
shared.run_process(configure, env=env, stdout=stdout, stderr=stderr,
File "/b/s/w/ir/x/w/install/emscripten/tools/shared.py", line 112, in run_process
ret = subprocess.run(cmd, check=check, input=input, *args, **kw)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/b/s/w/ir/x/w/install/emscripten/emconfigure', 'sh', './configure', '--disable-shared', '--without-zlib']' returned non-zero exit status 1.
======================================================================
ERROR: test_ubsan_full_null_ref_fsanitize_null (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 672, in run
self._callSetUp()
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 630, in _callSetUp
self.setUp()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 9853, in setUp
super(TT, self).setUp()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1215, in setUp
node_version = shared.get_node_version(nodejs)
File "/b/s/w/ir/x/w/install/emscripten/tools/shared.py", line 329, in get_node_version
return _get_node_version_pair(nodejs)[1]
File "/b/s/w/ir/x/w/install/emscripten/tools/shared.py", line 321, in _get_node_version_pair
actual = run_process(nodejs + ['--version'], stdout=PIPE).stdout.strip()
File "/b/s/w/ir/x/w/install/emscripten/tools/shared.py", line 108, in run_process
sys.stdout.flush()
BlockingIOError: [Errno 11] write could not complete without blocking
======================================================================
ERROR: test_zlib_cmake (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 148, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6802, in test_zlib
zlib = self.get_zlib_library(use_cmake)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 2077, in get_zlib_library
rtn = self.get_library(os.path.join('third_party', 'zlib'), os.path.join('libz.a'),
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1757, in get_library
return build_library(name, build_dir, generated_libs, configure,
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 2552, in build_library
shared.run_process(make + make_args, stdout=stdout, stderr=stderr, env=env,
File "/b/s/w/ir/x/w/install/emscripten/tools/shared.py", line 112, in run_process
ret = subprocess.run(cmd, check=check, input=input, *args, **kw)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--']' returned non-zero exit status 2.
======================================================================
FAIL: test_799 (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6214, in test_799
self.do_runf('799.cpp', '''Set PORT family: 0, port: 3979
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/799.cpp -o 799.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_EXPORTED_RUNTIME_METHODS (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7051, in test_EXPORTED_RUNTIME_METHODS
self.do_core_test('EXPORTED_RUNTIME_METHODS.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/EXPORTED_RUNTIME_METHODS.c -o EXPORTED_RUNTIME_METHODS.js -sNO_DEFAULT_TO_CXX '-sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE=$dynCall,$ASSERTIONS' -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_EXPORT_EXCEPTION_HANDLING_HELPERS_emscripten (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 727, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1561, in test_EXPORT_EXCEPTION_HANDLING_HELPERS
self.do_runf('main.cpp', expected)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ main.cpp -o main.js -sNO_DEFAULT_TO_CXX -sDISABLE_EXCEPTION_CATCHING=0 -sSUPPORT_LONGJMP=emscripten -sDEFAULT_TO_CXX -sASSERTIONS=0 -sEXPORT_EXCEPTION_HANDLING_HELPERS -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -D__USING_EMSCRIPTEN_EXCEPTION__`
======================================================================
FAIL: test_EXPORT_EXCEPTION_HANDLING_HELPERS_wasm_legacy (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 718, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1561, in test_EXPORT_EXCEPTION_HANDLING_HELPERS
self.do_runf('main.cpp', expected)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ main.cpp -o main.js -sNO_DEFAULT_TO_CXX -sSUPPORT_LONGJMP=wasm -sWASM_LEGACY_EXCEPTIONS -sASSERTIONS=0 -sEXPORT_EXCEPTION_HANDLING_HELPERS -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -fwasm-exceptions`
======================================================================
FAIL: test_FS_exports (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7143, in test_FS_exports
test(args=['-DDIRECT', '-sFORCE_FILESYSTEM'])
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7136, in test
self.do_runf('core/FS_exports.cpp',
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/FS_exports.cpp -o FS_exports.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -DDIRECT -sFORCE_FILESYSTEM`
======================================================================
FAIL: test_FS_exports_files (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7143, in test_FS_exports
test(args=['-DDIRECT', '-sFORCE_FILESYSTEM'])
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7136, in test
self.do_runf('core/FS_exports.cpp',
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/FS_exports.cpp -o FS_exports.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -DDIRECT -sFORCE_FILESYSTEM -DUSE_FILES`
======================================================================
FAIL: test_Module_dynamicLibraries_pthreads (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 178, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 9457, in test_Module_dynamicLibraries
self.dylink_test(
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4046, in dylink_test
return self.dylink_testf(main, side, expected, main_module=main_module, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4101, in dylink_testf
self.do_runf(main, expected, force_c=force_c, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc main.c -o main.js -sNO_DEFAULT_TO_CXX -sNO_AUTOLOAD_DYLIBS -sMAIN_MODULE=2 -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -sPROXY_TO_PTHREAD -sEXIT_RUNTIME -pthread -Wno-experimental --pre-js pre.js '-sINCOMING_MODULE_JS_API=[dynamicLibraries]' --js-library lib.js -Wno-pthreads-mem-growth -pthread liblib.so`
======================================================================
FAIL: test_Module_dynamicLibraries_pthreads_reversed (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 178, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 9457, in test_Module_dynamicLibraries
self.dylink_test(
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4046, in dylink_test
return self.dylink_testf(main, side, expected, main_module=main_module, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4101, in dylink_testf
self.do_runf(main, expected, force_c=force_c, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc liblib.c -o liblib.js -sNO_DEFAULT_TO_CXX -sNO_AUTOLOAD_DYLIBS -sMAIN_MODULE=2 -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -sPROXY_TO_PTHREAD -sEXIT_RUNTIME -pthread -Wno-experimental --pre-js pre.js '-sINCOMING_MODULE_JS_API=[dynamicLibraries]' --js-library lib.js -Wno-pthreads-mem-growth -pthread --no-entry liblib.so`
======================================================================
FAIL: test_abort_no_dtors_emscripten (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 727, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1590, in test_abort_no_dtors
out = self.do_run(r'''
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ src.cpp -o src.js -sNO_DEFAULT_TO_CXX -sDISABLE_EXCEPTION_CATCHING=0 -sSUPPORT_LONGJMP=emscripten -sDEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_abort_no_dtors_wasm_legacy (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 718, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1590, in test_abort_no_dtors
out = self.do_run(r'''
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ src.cpp -o src.js -sNO_DEFAULT_TO_CXX -sSUPPORT_LONGJMP=wasm -sWASM_LEGACY_EXCEPTIONS -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -fwasm-exceptions`
======================================================================
FAIL: test_abort_on_exceptions (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 9550, in test_abort_on_exceptions
self.do_core_test('test_abort_on_exceptions.cpp', interleaved_output=False)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_abort_on_exceptions.cpp -o test_abort_on_exceptions.js -sNO_DEFAULT_TO_CXX -sABORT_ON_WASM_EXCEPTIONS -sALLOW_TABLE_GROWTH -sEXPORTED_RUNTIME_METHODS=ccall,cwrap '-sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE=$addFunction,$addOnPostRun' -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind --post-js /b/s/w/ir/x/w/install/emscripten/test/core/test_abort_on_exceptions_post.js`
======================================================================
FAIL: test_abort_on_exceptions_main (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 9557, in test_abort_on_exceptions_main
output = self.do_runf('core/test_abort_on_exceptions_main.c', assert_returncode=NON_ZERO)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_abort_on_exceptions_main.c -o test_abort_on_exceptions_main.js -sNO_DEFAULT_TO_CXX -sABORT_ON_WASM_EXCEPTIONS -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz --minify=0`
======================================================================
FAIL: test_aborting_new_grow (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 231, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 216, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2225, in test_aborting_new
self.do_core_test('test_aborting_new.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_aborting_new.cpp -o test_aborting_new.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -sALLOW_MEMORY_GROWTH -sMAXIMUM_MEMORY=18MB`
======================================================================
FAIL: test_aborting_new_nogrow (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 231, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 216, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2225, in test_aborting_new
self.do_core_test('test_aborting_new.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_aborting_new.cpp -o test_aborting_new.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_alloca (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1797, in test_alloca
self.do_runf('core/test_alloca.c')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_alloca.c -o test_alloca.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_alloca_stack (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1809, in test_alloca_stack
self.do_core_test('test_alloca_stack.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_alloca_stack.c -o test_alloca_stack.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_array2 (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1815, in test_array2
self.do_core_test('test_array2.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_array2.c -o test_array2.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_array2b (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1818, in test_array2b
self.do_core_test('test_array2b.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_array2b.c -o test_array2b.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_assert (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 653, in metafunc
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 968, in test_assert
self.do_core_test('test_assert.c', assert_returncode=NON_ZERO)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_assert.c -o test_assert.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_async_ccall_bad (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8207, in test_async_ccall_bad
self.do_runf('main.c', 'The call to main is running asynchronously.')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc main.c -o main.js -sNO_DEFAULT_TO_CXX '-sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE=$ccall' -sASYNCIFY -sASSERTIONS -sINVOKE_RUN=0 -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz --pre-js pre.js '-sINCOMING_MODULE_JS_API=[onRuntimeInitialized]'`
======================================================================
FAIL: test_async_ccall_good (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 243, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8232, in test_async_ccall_good
self.do_runf('main.c', 'HelloWorld')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc main.c -o main.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -sASSERTIONS -sINVOKE_RUN=0 '-sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE=$ccall' -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz --pre-js pre.js '-sINCOMING_MODULE_JS_API=[onRuntimeInitialized]'`
======================================================================
FAIL: test_async_ccall_promise (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 243, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8277, in test_async_ccall_promise
self.do_runf('main.c', 'stringf: first\nsecond\n6.4')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc main.c -o main.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -sASSERTIONS -sINVOKE_RUN=0 -sEXIT_RUNTIME=0 -sEXPORTED_FUNCTIONS=_stringf,_floatf '-sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE=$maybeExit,$ccall' -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz --pre-js pre.js '-sINCOMING_MODULE_JS_API=[onRuntimeInitialized]'`
======================================================================
FAIL: test_async_ccall_promise_jspi (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 243, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8277, in test_async_ccall_promise
self.do_runf('main.c', 'stringf: first\nsecond\n6.4')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc main.c -o main.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -sASSERTIONS -sINVOKE_RUN=0 -sEXIT_RUNTIME -sEXPORTED_FUNCTIONS=_stringf,_floatf '-sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE=$maybeExit,$ccall' -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz --pre-js pre.js '-sINCOMING_MODULE_JS_API=[onRuntimeInitialized]'`
======================================================================
FAIL: test_async_hello (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 243, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8156, in test_async_hello
self.do_runf('main.c', 'HelloWorld!99')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc main.c -o main.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -sEXIT_RUNTIME -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_async_loop (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 243, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8171, in test_async_loop
self.do_runf('main.c', 'hello 0\nhello 1\nhello 2\nhello 3\nhello 4\n')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc main.c -o main.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_async_main (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 243, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8132, in test_async_main
self.do_runf('main.c', 'argc=2 argv=hello', args=['hello'])
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc main.c -o main.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_asyncify_assertions (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8397, in test_asyncify_assertions
self.do_core_test('test_asyncify_assertions.c', assert_returncode=NON_ZERO)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_asyncify_assertions.c -o test_asyncify_assertions.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -sASYNCIFY_IMPORTS=suspend -sASSERTIONS -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_asyncify_during_exit (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8406, in test_asyncify_during_exit
self.do_core_test('test_asyncify_during_exit.cpp', assert_returncode=NON_ZERO)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_asyncify_during_exit.cpp -o test_asyncify_during_exit.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -sASSERTIONS -sEXIT_RUNTIME -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_asyncify_lists_normal (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8312, in test_asyncify_lists
self.do_core_test('test_asyncify_lists.cpp', assert_identical=True)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_asyncify_lists.cpp -o test_asyncify_lists.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_asyncify_lists_onlylist_a (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8312, in test_asyncify_lists
self.do_core_test('test_asyncify_lists.cpp', assert_identical=True)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_asyncify_lists.cpp -o test_asyncify_lists.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz '-sASYNCIFY_ONLY=["main","__original_main","foo(int, double)","baz()","c_baz","Structy::funcy()","bar()"]'`
======================================================================
FAIL: test_asyncify_lists_onlylist_b (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8312, in test_asyncify_lists
self.do_core_test('test_asyncify_lists.cpp', assert_identical=True)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_asyncify_lists.cpp -o test_asyncify_lists.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz '-sASYNCIFY_ONLY=["main","__original_main","foo(int, double)","baz()","c_baz","Structy::funcy()"]'`
======================================================================
FAIL: test_asyncify_lists_onlylist_b_response (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8312, in test_asyncify_lists
self.do_core_test('test_asyncify_lists.cpp', assert_identical=True)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_asyncify_lists.cpp -o test_asyncify_lists.js -sNO_DEFAULT_TO_CXX -sASYNCIFY_ONLY=@response.file -sASYNCIFY -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_asyncify_lists_onlylist_c (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8314, in test_asyncify_lists
self.do_runf('core/test_asyncify_lists.cpp', ('RuntimeError', 'Thrown at'), assert_returncode=NON_ZERO)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_asyncify_lists.cpp -o test_asyncify_lists.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz '-sASYNCIFY_ONLY=["main","__original_main","foo(int, double)","baz()","c_baz"]'`
======================================================================
FAIL: test_asyncify_lists_onlylist_c_response (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8314, in test_asyncify_lists
self.do_runf('core/test_asyncify_lists.cpp', ('RuntimeError', 'Thrown at'), assert_returncode=NON_ZERO)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_asyncify_lists.cpp -o test_asyncify_lists.js -sNO_DEFAULT_TO_CXX -sASYNCIFY_ONLY=@response.file -sASYNCIFY -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_asyncify_lists_onlylist_d (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8314, in test_asyncify_lists
self.do_runf('core/test_asyncify_lists.cpp', ('RuntimeError', 'Thrown at'), assert_returncode=NON_ZERO)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_asyncify_lists.cpp -o test_asyncify_lists.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz '-sASYNCIFY_ONLY=["foo(int, double)","baz()","c_baz","Structy::funcy()"]'`
======================================================================
FAIL: test_asyncify_lists_removelist_a (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8314, in test_asyncify_lists
self.do_runf('core/test_asyncify_lists.cpp', ('RuntimeError', 'Thrown at'), assert_returncode=NON_ZERO)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_asyncify_lists.cpp -o test_asyncify_lists.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz '-sASYNCIFY_REMOVE=["foo(int, double)"]'`
======================================================================
FAIL: test_asyncify_lists_removelist_b (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8312, in test_asyncify_lists
self.do_core_test('test_asyncify_lists.cpp', assert_identical=True)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_asyncify_lists.cpp -o test_asyncify_lists.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz '-sASYNCIFY_REMOVE=["bar()"]'`
======================================================================
FAIL: test_asyncify_lists_removelist_c (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8314, in test_asyncify_lists
self.do_runf('core/test_asyncify_lists.cpp', ('RuntimeError', 'Thrown at'), assert_returncode=NON_ZERO)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_asyncify_lists.cpp -o test_asyncify_lists.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz '-sASYNCIFY_REMOVE=["baz()"]'`
======================================================================
FAIL: test_asyncify_longjmp (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8118, in test_asyncify_longjmp
self.do_core_test('test_asyncify_longjmp.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_asyncify_longjmp.c -o test_asyncify_longjmp.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -sSTRICT -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_asyncify_unused (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 243, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8288, in test_asyncify_unused
self.do_core_test('test_hello_world.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_hello_world.c -o test_hello_world.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_atexit (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 653, in metafunc
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2542, in test_atexit
self.do_core_test('test_atexit.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_atexit.c -o test_atexit.js -sNO_DEFAULT_TO_CXX -sEXIT_RUNTIME -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_atexit_threads (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 366, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2557, in test_atexit_threads
self.do_core_test('test_atexit_threads.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_atexit_threads.cpp -o test_atexit_threads.js -sNO_DEFAULT_TO_CXX -sEXIT_RUNTIME -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-pthreads-mem-growth -pthread`
======================================================================
FAIL: test_atexit_threads_stub (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2552, in test_atexit_threads_stub
self.do_core_test('test_atexit_threads.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_atexit_threads.cpp -o test_atexit_threads.js -sNO_DEFAULT_TO_CXX -sEXIT_RUNTIME -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_atoX (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 5333, in test_atoX
self.do_core_test('test_atoX.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_atoX.c -o test_atoX.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_atomic (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6226, in test_atomic
self.do_core_test('test_atomic.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_atomic.c -o test_atomic.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_atomic_cxx (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6231, in test_atomic_cxx
self.do_core_test('test_atomic_cxx.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_atomic_cxx.cpp -o test_atomic_cxx.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -DIS_64BIT_LOCK_FREE=1`
======================================================================
FAIL: test_autodebug_wasm (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 653, in metafunc
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 404, in modified
return f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6977, in test_autodebug_wasm
output = self.do_runf('core/test_autodebug.c', 'success')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_autodebug.c -o test_autodebug.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -mreference-types`
======================================================================
FAIL: test_avx (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 102, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 250, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 165, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 148, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 334, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6687, in test_avx
self.do_runf(src, native_result)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/sse/test_avx.cpp -o test_avx.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -msimd128 -fno-lax-vector-conversions -I/b/s/w/ir/x/w/install/emscripten/test/sse -mavx -fno-inline-functions -Wno-argument-outside-range -sSTACK_SIZE=1MB`
======================================================================
FAIL: test_avx2 (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 102, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 250, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 165, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 148, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 334, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6707, in test_avx2
self.do_runf(src, native_result)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/sse/test_avx2.cpp -o test_avx2.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -msimd128 -fno-lax-vector-conversions -I/b/s/w/ir/x/w/install/emscripten/test/sse -mavx2 -Wno-argument-outside-range -sSTACK_SIZE=1MB`
======================================================================
FAIL: test_avx2_nontrapping (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 102, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 250, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 165, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 148, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 334, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6707, in test_avx2
self.do_runf(src, native_result)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/sse/test_avx2.cpp -o test_avx2.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -msimd128 -fno-lax-vector-conversions -I/b/s/w/ir/x/w/install/emscripten/test/sse -mavx2 -Wno-argument-outside-range -sSTACK_SIZE=1MB -mnontrapping-fptoint`
======================================================================
FAIL: test_avx_nontrapping (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 102, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 250, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 165, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 148, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 334, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6687, in test_avx
self.do_runf(src, native_result)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/sse/test_avx.cpp -o test_avx.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -msimd128 -fno-lax-vector-conversions -I/b/s/w/ir/x/w/install/emscripten/test/sse -mavx -fno-inline-functions -Wno-argument-outside-range -sSTACK_SIZE=1MB -mnontrapping-fptoint`
======================================================================
FAIL: test_bad_typeid_emscripten (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 727, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1565, in test_bad_typeid
self.do_run(r'''
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ src.cpp -o src.js -sNO_DEFAULT_TO_CXX -sDISABLE_EXCEPTION_CATCHING=0 -sSUPPORT_LONGJMP=emscripten -sDEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_bad_typeid_wasm_legacy (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 718, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1565, in test_bad_typeid
self.do_run(r'''
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ src.cpp -o src.js -sNO_DEFAULT_TO_CXX -sSUPPORT_LONGJMP=wasm -sWASM_LEGACY_EXCEPTIONS -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -fwasm-exceptions`
======================================================================
FAIL: test_bigarray (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1827, in test_bigarray
self.do_core_test('test_bigarray.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_bigarray.c -o test_bigarray.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_bigswitch (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 136, in decorated
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2294, in test_bigswitch
self.do_runf('core/test_bigswitch.c', '''34962: GL_ARRAY_BUFFER (0x8892)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_bigswitch.c -o test_bigswitch.js -sNO_DEFAULT_TO_CXX -sUSE_SDL -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_binaryen_2170_emscripten_atomic_cas_u8 (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 366, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8668, in test_binaryen_2170_emscripten_atomic_cas_u8
self.do_run_in_out_file_test('binaryen_2170_emscripten_atomic_cas_u8.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/binaryen_2170_emscripten_atomic_cas_u8.cpp -o binaryen_2170_emscripten_atomic_cas_u8.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-pthreads-mem-growth -pthread -pthread`
======================================================================
FAIL: test_brk (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8678, in test_brk
self.do_runf('test_sbrk_brk.c', 'OK.')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/test_sbrk_brk.c -o test_sbrk_brk.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -DTEST_BRK=1`
======================================================================
FAIL: test_bsearch (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2799, in test_bsearch
self.do_core_test('test_bsearch.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_bsearch.c -o test_bsearch.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_bullet_cmake (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 148, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 334, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6836, in test_bullet
self.do_runf('third_party/bullet/Demos/HelloWorld/HelloWorld.cpp',
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/third_party/bullet/Demos/HelloWorld/HelloWorld.cpp -o HelloWorld.js -sNO_DEFAULT_TO_CXX -sASSERTIONS=2 -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-c++11-narrowing -Wno-deprecated-register -Wno-writable-strings -Wno-shift-negative-value -Wno-format -Wno-bitfield-constant-conversion -Wno-int-to-void-pointer-cast -Wno-nontrivial-memaccess -Wno-unused-command-line-argument /b/s/w/ir/x/t/emtest_cklwo4g1/emscripten_test_thinltoz_85z31ehr/building/third_party/bullet/src/BulletDynamics/libBulletDynamics.a /b/s/w/ir/x/t/emtest_cklwo4g1/emscripten_test_thinltoz_85z31ehr/building/third_party/bullet/src/BulletCollision/libBulletCollision.a /b/s/w/ir/x/t/emtest_cklwo4g1/emscripten_test_thinltoz_85z31ehr/building/third_party/bullet/src/LinearMath/libLinearMath.a -I/b/s/w/ir/x/w/install/emscripten/test/third_party/bullet/src`
======================================================================
FAIL: test_ccall (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7028, in test_ccall
self.do_core_test('test_ccall.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_ccall.cpp -o test_ccall.js -sNO_DEFAULT_TO_CXX -sEXPORTED_RUNTIME_METHODS=ccall,cwrap,STACK_SIZE -sWASM_ASYNC_COMPILATION=0 -sEXPORTED_FUNCTIONS=_get_int,_get_float,_get_bool,_get_string,_print_int,_print_float,_print_bool,_print_string,_multi,_pointer,_call_ccall_again,_malloc -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-return-stack-address --post-js post.js`
======================================================================
FAIL: test_ccall_cwrap_fast_path (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7046, in test_ccall_cwrap_fast_path
self.do_runf('core/test_ccall.cpp', 'true')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_ccall.cpp -o test_ccall.js -sNO_DEFAULT_TO_CXX -sEXPORTED_RUNTIME_METHODS=ccall,cwrap -sWASM_ASYNC_COMPILATION=0 -sASSERTIONS=0 -sEXPORTED_FUNCTIONS=_print_bool -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-return-stack-address --post-js post.js`
======================================================================
FAIL: test_constglobalstructs (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1821, in test_constglobalstructs
self.do_core_test('test_constglobalstructs.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_constglobalstructs.c -o test_constglobalstructs.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_constglobalunion (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6342, in test_constglobalunion
self.do_run(r'''
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ src.cpp -o src.js -sNO_DEFAULT_TO_CXX -sEXPORT_ALL -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_conststructs (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1824, in test_conststructs
self.do_core_test('test_conststructs.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_conststructs.c -o test_conststructs.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_copyop (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2755, in test_copyop
self.do_core_test('test_copyop.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_copyop.cpp -o test_copyop.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_core_types (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 667, in test_core_types
self.do_runf('core/test_core_types.c')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_core_types.c -o test_core_types.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_ctors_no_main (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 653, in metafunc
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 216, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1723, in test_ctors_no_main
self.do_core_test('test_ctors_no_main.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_ctors_no_main.cpp -o test_ctors_no_main.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz --no-entry`
======================================================================
FAIL: test_ctype (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6220, in test_ctype
self.do_core_test('test_ctype.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_ctype.c -o test_ctype.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_cube2hash (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 653, in metafunc
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 677, in test_cube2hash
self.do_run('// empty file', 'Usage: hashstring <seed>',
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ src.cpp -o src.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz /b/s/w/ir/x/t/emtest_oeniawhh/emscripten_test_thinltoz_lc8yl3kh/building/third_party/cube2hash/libcube2hash.a -I/b/s/w/ir/x/w/install/emscripten/test/third_party/cube2hash`
======================================================================
FAIL: test_cube2md5 (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 671, in test_cube2md5
self.do_core_test('test_cube2md5.c', cflags=['--embed-file', 'test_cube2md5.txt'])
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_cube2md5.c -o test_cube2md5.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz --embed-file test_cube2md5.txt`
======================================================================
FAIL: test_cubescript (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 264, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6541, in test_cubescript
self.do_runf('third_party/cubescript/command.cpp', '*\nTemp is 33\n9\n5\nhello, everyone\n*')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/third_party/cubescript/command.cpp -o command.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -std=c++03 -Wno-dynamic-class-memaccess -I /b/s/w/ir/x/w/install/emscripten/test/third_party/cubescript`
======================================================================
FAIL: test_cubescript_asyncify (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 264, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6541, in test_cubescript
self.do_runf('third_party/cubescript/command.cpp', '*\nTemp is 33\n9\n5\nhello, everyone\n*')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/third_party/cubescript/command.cpp -o command.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -std=c++03 -Wno-dynamic-class-memaccess -I /b/s/w/ir/x/w/install/emscripten/test/third_party/cubescript`
======================================================================
FAIL: test_cxx_self_assign (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8557, in test_cxx_self_assign
self.do_run(r'''
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ src.cpp -o src.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_demangle_stacks_noexcept (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 136, in decorated
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7287, in test_demangle_stacks
self.do_core_test('test_demangle_stacks.cpp', assert_returncode=NON_ZERO)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_demangle_stacks.cpp -o test_demangle_stacks.js -sNO_DEFAULT_TO_CXX -sASSERTIONS -sBINARYEN_EXTRA_PASSES=--one-caller-inline-max-function-size=1 -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -fno-exceptions --profiling-funcs`
======================================================================
FAIL: test_demangle_stacks_normal (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 136, in decorated
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7287, in test_demangle_stacks
self.do_core_test('test_demangle_stacks.cpp', assert_returncode=NON_ZERO)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_demangle_stacks.cpp -o test_demangle_stacks.js -sNO_DEFAULT_TO_CXX -sASSERTIONS -sBINARYEN_EXTRA_PASSES=--one-caller-inline-max-function-size=1 -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz --profiling-funcs`
======================================================================
FAIL: test_demangle_stacks_symbol_map (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7306, in test_demangle_stacks_symbol_map
self.do_runf('core/test_demangle_stacks.cpp', 'Aborted', assert_returncode=NON_ZERO)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_demangle_stacks.cpp -o test_demangle_stacks.js -sNO_DEFAULT_TO_CXX -sBINARYEN_EXTRA_PASSES=--one-caller-inline-max-function-size=1 '-sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE=$jsStackTrace' -sENVIRONMENT=node,shell -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz --emit-symbol-map`
======================================================================
FAIL: test_direct_string_constant_usage (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 5769, in test_direct_string_constant_usage
self.do_core_test('test_direct_string_constant_usage.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_direct_string_constant_usage.cpp -o test_direct_string_constant_usage.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_dlfcn_basic_pthreads (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 153, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 3014, in test_dlfcn_basic
self.do_run(src, 'Constructing main object.\nConstructing lib object.\n')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ src.cpp -o src.js -sNO_DEFAULT_TO_CXX -sNO_AUTOLOAD_DYLIBS -sMAIN_MODULE=2 -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-pthreads-mem-growth -pthread -pthread -sEXIT_RUNTIME -sPROXY_TO_PTHREAD -Wno-experimental liblib.so`
======================================================================
FAIL: test_dlfcn_handle_alloc (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 153, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 3821, in test_dlfcn_handle_alloc
self.do_runf('main.c', 'a: loaded\nb: loaded\n')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc main.c -o main.js -sNO_DEFAULT_TO_CXX -sMAIN_MODULE -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_dlfcn_missing (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 153, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2970, in test_dlfcn_missing
self.do_run(src, expected)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ src.cpp -o src.js -sNO_DEFAULT_TO_CXX -sMAIN_MODULE -sASSERTIONS -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_dlfcn_self (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 153, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 3378, in test_dlfcn_self
self.do_core_test('test_dlfcn_self.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_dlfcn_self.c -o test_dlfcn_self.js -sNO_DEFAULT_TO_CXX -sMAIN_MODULE -sEXPORT_ALL -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_dlmalloc (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 364, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6434, in test_dlmalloc
self.do_runf('dlmalloc_test.c', '*1,0*', args=['200', '1'])
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/dlmalloc_test.c -o dlmalloc_test.js -sNO_DEFAULT_TO_CXX -sINITIAL_MEMORY=128mb -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_dlmalloc_inline (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6423, in test_dlmalloc_inline
self.do_run(src, '*1,0*', args=['200', '1'], force_c=True)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc src.c -o src.js -sNO_DEFAULT_TO_CXX -sINITIAL_MEMORY=128mb -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_dlmalloc_large (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 231, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 216, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6461, in test_dlmalloc_large
self.do_runf('dlmalloc_test_large.c', '0 0 0 1')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/dlmalloc_test_large.c -o dlmalloc_test_large.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -sABORTING_MALLOC=0 -sALLOW_MEMORY_GROWTH=1 -sMAXIMUM_MEMORY=128MB`
======================================================================
FAIL: test_dlmalloc_partial (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6476, in test_dlmalloc_partial
self.do_run(src, 'new!\n*1,0*')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ src.cpp -o src.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_dlmalloc_partial_2 (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 6484, in test_dlmalloc_partial_2
self.do_core_test('test_dlmalloc_partial_2.c', assert_returncode=NON_ZERO)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_dlmalloc_partial_2.c -o test_dlmalloc_partial_2.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_dwarf (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 136, in decorated
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7892, in test_dwarf
self.emcc('test_dwarf.c')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1784, in emcc
self.run_process(cmd, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc test_dwarf.c -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -g`
======================================================================
FAIL: test_dylink_dso_needed (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 153, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 5082, in test_dylink_dso_needed
self._test_dylink_dso_needed(do_run)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1886, in _test_dylink_dso_needed
do_run(r'''
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 5081, in do_run
self.do_runf('main.c', expected_output, cflags=cflags)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc main.c -o main.js -sNO_DEFAULT_TO_CXX -sINITIAL_MEMORY=32mb -sMAIN_MODULE -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -L. libb.wasm libc.wasm`
======================================================================
FAIL: test_dylink_exceptions_try_catch_6_emscripten (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 727, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 153, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4971, in test_dylink_exceptions_try_catch_6
self.do_runf("main.cpp", "side: caught int 3\n")
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ main.cpp -o main.js -sNO_DEFAULT_TO_CXX -sDISABLE_EXCEPTION_CATCHING=0 -sSUPPORT_LONGJMP=emscripten -sDEFAULT_TO_CXX -sMAIN_MODULE -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_dylink_exceptions_try_catch_6_wasm_legacy (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 718, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 153, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4971, in test_dylink_exceptions_try_catch_6
self.do_runf("main.cpp", "side: caught int 3\n")
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ main.cpp -o main.js -sNO_DEFAULT_TO_CXX -sSUPPORT_LONGJMP=wasm -sWASM_LEGACY_EXCEPTIONS -sMAIN_MODULE -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -fwasm-exceptions`
======================================================================
FAIL: test_dylink_global_var_export (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 153, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4566, in test_dylink_global_var_export
self.do_run(r'''
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc src.c -o src.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -sMAIN_MODULE`
======================================================================
FAIL: test_dylink_iostream (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 178, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 404, in modified
return f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4776, in test_dylink_iostream
self.dylink_test(header=r'''
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4046, in dylink_test
return self.dylink_testf(main, side, expected, main_module=main_module, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4101, in dylink_testf
self.do_runf(main, expected, force_c=force_c, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ main.cpp -o main.js -sNO_DEFAULT_TO_CXX -sMAIN_MODULE=2 -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz liblib.so`
======================================================================
FAIL: test_dylink_iostream_reversed (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 178, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 404, in modified
return f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4776, in test_dylink_iostream
self.dylink_test(header=r'''
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4046, in dylink_test
return self.dylink_testf(main, side, expected, main_module=main_module, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4101, in dylink_testf
self.do_runf(main, expected, force_c=force_c, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ liblib.cpp -o liblib.js -sNO_DEFAULT_TO_CXX -sMAIN_MODULE=2 -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz --no-entry liblib.so`
======================================================================
FAIL: test_dylink_syslibs_all (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 178, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4762, in test_dylink_syslibs
self.dylink_test(main=r'''
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4046, in dylink_test
return self.dylink_testf(main, side, expected, main_module=main_module, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4101, in dylink_testf
self.do_runf(main, expected, force_c=force_c, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ main.cpp -o main.js -sNO_DEFAULT_TO_CXX -sWARN_ON_UNDEFINED_SYMBOLS=0 -sASSERTIONS -sMAIN_MODULE -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-deprecated liblib.so`
======================================================================
FAIL: test_dylink_syslibs_all_reversed (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 178, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4762, in test_dylink_syslibs
self.dylink_test(main=r'''
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4046, in dylink_test
return self.dylink_testf(main, side, expected, main_module=main_module, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4101, in dylink_testf
self.do_runf(main, expected, force_c=force_c, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ liblib.cpp -o liblib.js -sNO_DEFAULT_TO_CXX -sWARN_ON_UNDEFINED_SYMBOLS=0 -sASSERTIONS -sMAIN_MODULE -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-deprecated --no-entry liblib.so`
======================================================================
FAIL: test_dylink_syslibs_libcxx (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 178, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4762, in test_dylink_syslibs
self.dylink_test(main=r'''
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4046, in dylink_test
return self.dylink_testf(main, side, expected, main_module=main_module, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4101, in dylink_testf
self.do_runf(main, expected, force_c=force_c, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ main.cpp -o main.js -sNO_DEFAULT_TO_CXX -sWARN_ON_UNDEFINED_SYMBOLS=0 -sASSERTIONS -sMAIN_MODULE -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-deprecated liblib.so`
======================================================================
FAIL: test_dylink_syslibs_libcxx_reversed (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 178, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4762, in test_dylink_syslibs
self.dylink_test(main=r'''
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4046, in dylink_test
return self.dylink_testf(main, side, expected, main_module=main_module, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4101, in dylink_testf
self.do_runf(main, expected, force_c=force_c, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ liblib.cpp -o liblib.js -sNO_DEFAULT_TO_CXX -sWARN_ON_UNDEFINED_SYMBOLS=0 -sASSERTIONS -sMAIN_MODULE -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-deprecated --no-entry liblib.so`
======================================================================
FAIL: test_dylink_syslibs_missing (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 178, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4762, in test_dylink_syslibs
self.dylink_test(main=r'''
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4046, in dylink_test
return self.dylink_testf(main, side, expected, main_module=main_module, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4101, in dylink_testf
self.do_runf(main, expected, force_c=force_c, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ main.cpp -o main.js -sNO_DEFAULT_TO_CXX -sWARN_ON_UNDEFINED_SYMBOLS=0 -sASSERTIONS=0 -sMAIN_MODULE -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-deprecated liblib.so`
======================================================================
FAIL: test_dylink_syslibs_missing_assertions (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 178, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4762, in test_dylink_syslibs
self.dylink_test(main=r'''
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4046, in dylink_test
return self.dylink_testf(main, side, expected, main_module=main_module, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4101, in dylink_testf
self.do_runf(main, expected, force_c=force_c, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ main.cpp -o main.js -sNO_DEFAULT_TO_CXX -sWARN_ON_UNDEFINED_SYMBOLS=0 -sASSERTIONS -sMAIN_MODULE -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-deprecated liblib.so`
======================================================================
FAIL: test_dylink_tls (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 366, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 153, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 5252, in test_dylink_tls
self.dylink_testf(test_file('core/test_dylink_tls.c'))
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4101, in dylink_testf
self.do_runf(main, expected, force_c=force_c, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_dylink_tls.c -o test_dylink_tls.js -sNO_DEFAULT_TO_CXX -sMAIN_MODULE=2 -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-pthreads-mem-growth -pthread -Wno-experimental liblib.so`
======================================================================
FAIL: test_dylink_tls_export (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 366, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 153, in decorated
return func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 5258, in test_dylink_tls_export
self.dylink_testf(test_file('core/test_dylink_tls_export.c'))
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 4101, in dylink_testf
self.do_runf(main, expected, force_c=force_c, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_dylink_tls_export.c -o test_dylink_tls_export.js -sNO_DEFAULT_TO_CXX -sMAIN_MODULE=2 -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-pthreads-mem-growth -pthread -Wno-experimental liblib.so`
======================================================================
FAIL: test_dyncall_pointers (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7084, in test_dyncall_pointers
self.do_core_test('test_dyncall_pointers.c', cflags=args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_dyncall_pointers.c -o test_dyncall_pointers.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_dyncall_pointers_legacy (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7084, in test_dyncall_pointers
self.do_core_test('test_dyncall_pointers.c', cflags=args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_dyncall_pointers.c -o test_dyncall_pointers.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -sDYNCALLS`
======================================================================
FAIL: test_dyncall_specific (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 548, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7077, in test_dyncall_specific
self.do_core_test('test_dyncall_specific.c', cflags=['-D' + which] + extra_args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_dyncall_specific.c -o test_dyncall_specific.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -sDYNCALLS -DWASM_BIGINT -DDIRECT`
======================================================================
FAIL: test_dyncall_specific_minimal_runtime (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 548, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7077, in test_dyncall_specific
self.do_core_test('test_dyncall_specific.c', cflags=['-D' + which] + extra_args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_dyncall_specific.c -o test_dyncall_specific.js -sNO_DEFAULT_TO_CXX -sMINIMAL_RUNTIME -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz --pre-js /b/s/w/ir/x/w/install/emscripten/test/minimal_runtime_exit_handling.js -sDYNCALLS -DWASM_BIGINT -DDIRECT`
======================================================================
FAIL: test_em_asm (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1964, in test_em_asm
self.do_core_test('test_em_asm.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_em_asm.cpp -o test_em_asm.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_em_asm_2 (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1973, in test_em_asm_2
self.do_core_test('test_em_asm_2.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_em_asm_2.cpp -o test_em_asm_2.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_em_asm_arguments_side_effects (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2034, in test_em_asm_arguments_side_effects
self.do_core_test('test_em_asm_arguments_side_effects.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_em_asm_arguments_side_effects.cpp -o test_em_asm_arguments_side_effects.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_em_asm_c (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1968, in test_em_asm_c
self.do_core_test('test_em_asm.cpp', force_c=True)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc -xc /b/s/w/ir/x/w/install/emscripten/test/core/test_em_asm.cpp -o test_em_asm.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -std=gnu89`
======================================================================
FAIL: test_em_asm_direct (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2038, in test_em_asm_direct
self.do_core_test('test_em_asm_direct.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_em_asm_direct.c -o test_em_asm_direct.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_em_asm_parameter_pack (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2031, in test_em_asm_parameter_pack
self.do_core_test('test_em_asm_parameter_pack.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_em_asm_parameter_pack.cpp -o test_em_asm_parameter_pack.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_em_asm_types (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2018, in test_em_asm_types
self.do_core_test('test_em_asm_types.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_em_asm_types.cpp -o test_em_asm_types.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_em_asm_types_c (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2021, in test_em_asm_types_c
self.do_core_test('test_em_asm_types.cpp', force_c=True)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc -xc /b/s/w/ir/x/w/install/emscripten/test/core/test_em_asm_types.cpp -o test_em_asm_types.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_em_asm_unicode (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2014, in test_em_asm_unicode
self.do_core_test('test_em_asm_unicode.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_em_asm_unicode.cpp -o test_em_asm_unicode.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_em_asm_unused_arguments (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2024, in test_em_asm_unused_arguments
self.do_core_test('test_em_asm_unused_arguments.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_em_asm_unused_arguments.cpp -o test_em_asm_unused_arguments.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_em_async_js (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 243, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 9621, in test_em_async_js
self.do_core_test('test_em_async_js.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_em_async_js.c -o test_em_async_js.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -sEXPORTED_RUNTIME_METHODS=ccall -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_em_js (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2061, in test_em_js
self.do_core_test('test_em_js.cpp', force_c=force_c)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_em_js.cpp -o test_em_js.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -sEXPORTED_FUNCTIONS=_main,_malloc`
======================================================================
FAIL: test_em_js_address_taken (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2076, in test_em_js_address_taken
self.do_core_test('test_em_js_address_taken.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_em_js_address_taken.c -o test_em_js_address_taken.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_em_js_c (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2061, in test_em_js
self.do_core_test('test_em_js.cpp', force_c=force_c)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc -xc /b/s/w/ir/x/w/install/emscripten/test/core/test_em_js.cpp -o test_em_js.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -sEXPORTED_FUNCTIONS=_main,_malloc`
======================================================================
FAIL: test_em_js_i64 (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 136, in decorated
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2073, in test_em_js_i64
self.do_core_test('test_em_js_i64.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_em_js_i64.c -o test_em_js_i64.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_em_js_pthreads (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2061, in test_em_js
self.do_core_test('test_em_js.cpp', force_c=force_c)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_em_js.cpp -o test_em_js.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -sEXPORTED_FUNCTIONS=_main,_malloc -pthread -sPROXY_TO_PTHREAD -sEXIT_RUNTIME -Wno-pthreads-mem-growth -pthread`
======================================================================
FAIL: test_em_js_pthreads_dylink (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 2061, in test_em_js
self.do_core_test('test_em_js.cpp', force_c=force_c)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_em_js.cpp -o test_em_js.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -sEXPORTED_FUNCTIONS=_main,_malloc -pthread -sPROXY_TO_PTHREAD -sEXIT_RUNTIME -sMAIN_MODULE=2 -Wno-experimental -Wno-pthreads-mem-growth -pthread`
======================================================================
FAIL: test_embind_basics (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 366, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7444, in test_embind_basics
self.do_runf('test.cpp', 'lerp 166')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ test.cpp -o test.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-pthreads-mem-growth -pthread -lembind --post-js post.js -pthread -sPROXY_TO_PTHREAD -sEXIT_RUNTIME`
======================================================================
FAIL: test_embind_custom_marshal (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7511, in test_embind_custom_marshal
self.do_run_in_out_file_test('embind/test_custom_marshal.cpp', assert_identical=True)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_custom_marshal.cpp -o test_custom_marshal.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind --pre-js /b/s/w/ir/x/w/install/emscripten/test/embind/test_custom_marshal.js`
======================================================================
FAIL: test_embind_dynamic_initialization (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7620, in test_embind_dynamic_initialization
self.do_run_in_out_file_test('embind/test_dynamic_initialization.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_dynamic_initialization.cpp -o test_dynamic_initialization.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind`
======================================================================
FAIL: test_embind_float_constants (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7514, in test_embind_float_constants
self.do_run_in_out_file_test('embind/test_float_constants.cpp', cflags=['-lembind'])
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_float_constants.cpp -o test_float_constants.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind`
======================================================================
FAIL: test_embind_i64_binding (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 136, in decorated
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7641, in test_embind_i64_binding
self.do_run_in_out_file_test('embind/test_i64_binding.cpp', assert_identical=True)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_i64_binding.cpp -o test_i64_binding.js -sNO_DEFAULT_TO_CXX -sWASM_BIGINT -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind --js-library /b/s/w/ir/x/w/install/emscripten/test/embind/test_i64_binding.js`
======================================================================
FAIL: test_embind_i64_val (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 136, in decorated
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7634, in test_embind_i64_val
self.do_run_in_out_file_test('embind/test_i64_val.cpp', assert_identical=True)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_i64_val.cpp -o test_i64_val.js -sNO_DEFAULT_TO_CXX -sWASM_BIGINT -sSAFE_HEAP=0 -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind`
======================================================================
FAIL: test_embind_i64_val_safe_heap (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 136, in decorated
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7634, in test_embind_i64_val
self.do_run_in_out_file_test('embind/test_i64_val.cpp', assert_identical=True)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_i64_val.cpp -o test_i64_val.js -sNO_DEFAULT_TO_CXX -sWASM_BIGINT -sSAFE_HEAP -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind`
======================================================================
FAIL: test_embind_inheritance (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7507, in test_embind_inheritance
self.do_core_test('test_embind_inheritance.cpp', cflags=['-lembind'])
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_embind_inheritance.cpp -o test_embind_inheritance.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind`
======================================================================
FAIL: test_embind_lib_with_asyncify (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 9611, in test_embind_lib_with_asyncify
self.do_core_test('embind_lib_with_asyncify.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/embind_lib_with_asyncify.cpp -o embind_lib_with_asyncify.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind -sASYNCIFY -sASYNCIFY_IMPORTS=sleep_and_return '-sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE=$ASSERTIONS' --post-js /b/s/w/ir/x/w/install/emscripten/test/core/embind_lib_with_asyncify.test.js --no-entry '-sINCOMING_MODULE_JS_API=[onRuntimeInitialized]'`
======================================================================
FAIL: test_embind_lib_with_asyncify_no_dynamic_execution (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 9611, in test_embind_lib_with_asyncify
self.do_core_test('embind_lib_with_asyncify.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/embind_lib_with_asyncify.cpp -o embind_lib_with_asyncify.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind -sASYNCIFY -sASYNCIFY_IMPORTS=sleep_and_return '-sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE=$ASSERTIONS' --post-js /b/s/w/ir/x/w/install/emscripten/test/core/embind_lib_with_asyncify.test.js --no-entry '-sINCOMING_MODULE_JS_API=[onRuntimeInitialized]' -sDYNAMIC_EXECUTION=0`
======================================================================
FAIL: test_embind_memory_view (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7504, in test_embind_memory_view
self.do_runf('test.cpp', '107')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ test.cpp -o test.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind --post-js post.js`
======================================================================
FAIL: test_embind_negative_constants (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7517, in test_embind_negative_constants
self.do_run_in_out_file_test('embind/test_negative_constants.cpp', cflags=['-lembind'])
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_negative_constants.cpp -o test_negative_constants.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind`
======================================================================
FAIL: test_embind_no_rtti (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7669, in test_embind_no_rtti
self.do_runf('main.cpp', '418\ndotest returned: 42\n')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ main.cpp -o main.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind -fno-rtti -DEMSCRIPTEN_HAS_UNBOUND_TYPE_NAMES=0`
======================================================================
FAIL: test_embind_no_rtti_followed_by_rtti (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7704, in test_embind_no_rtti_followed_by_rtti
self.do_run(src, '418\ndotest returned: 42\n')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ src.cpp -o src.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind -fno-rtti -frtti`
======================================================================
FAIL: test_embind_polymorphic_class (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7676, in test_embind_polymorphic_class
self.do_core_test('test_embind_polymorphic_class_no_rtti.cpp', cflags=args + ['-lembind'])
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_embind_polymorphic_class_no_rtti.cpp -o test_embind_polymorphic_class_no_rtti.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind`
======================================================================
FAIL: test_embind_polymorphic_class_no_rtti (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7676, in test_embind_polymorphic_class
self.do_core_test('test_embind_polymorphic_class_no_rtti.cpp', cflags=args + ['-lembind'])
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_embind_polymorphic_class_no_rtti.cpp -o test_embind_polymorphic_class_no_rtti.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -fno-rtti -DEMSCRIPTEN_HAS_UNBOUND_TYPE_NAMES=0 -lembind`
======================================================================
FAIL: test_embind_sync_if_pthread_delayed (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 366, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7777, in test_embind_sync_if_pthread_delayed
self.do_core_test('pthread/test_embind_sync_if_pthread_delayed.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/pthread/test_embind_sync_if_pthread_delayed.cpp -o test_embind_sync_if_pthread_delayed.js -sNO_DEFAULT_TO_CXX -sWASM_ASYNC_COMPILATION=0 -sPTHREAD_POOL_DELAY_LOAD -sPTHREAD_POOL_SIZE -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-pthreads-mem-growth -pthread -lembind --post-js=/b/s/w/ir/x/w/install/emscripten/test/core/pthread/test_embind_sync_if_pthread_delayed.post.js`
======================================================================
FAIL: test_embind_unbound_types (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7472, in test_embind_unbound_types
self.do_runf('test.cpp', 'UnboundTypeError: Cannot call compute due to unbound types: Pi')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ test.cpp -o test.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind --post-js post.js`
======================================================================
FAIL: test_embind_unsigned (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 570, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7522, in test_embind_unsigned
self.do_run_in_out_file_test('embind/test_unsigned.cpp', cflags=['-lembind'])
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_unsigned.cpp -o test_unsigned.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind`
======================================================================
FAIL: test_embind_unsigned_bigint (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 570, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7522, in test_embind_unsigned
self.do_run_in_out_file_test('embind/test_unsigned.cpp', cflags=['-lembind'])
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_unsigned.cpp -o test_unsigned.js -sNO_DEFAULT_TO_CXX -sWASM_BIGINT -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind`
======================================================================
FAIL: test_embind_val (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7525, in test_embind_val
self.do_run_in_out_file_test('embind/test_val.cpp', cflags=['-lembind'])
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_val.cpp -o test_val.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind`
======================================================================
FAIL: test_embind_val_basics (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7411, in test_embind_val_basics
self.do_run_in_out_file_test('embind/test_embind_val_basics.cpp', cflags=args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_embind_val_basics.cpp -o test_embind_val_basics.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind -sDYNAMIC_EXECUTION=0`
======================================================================
FAIL: test_embind_val_basics_flag (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7411, in test_embind_val_basics
self.do_run_in_out_file_test('embind/test_embind_val_basics.cpp', cflags=args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_embind_val_basics.cpp -o test_embind_val_basics.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz --bind`
======================================================================
FAIL: test_embind_val_coro (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7594, in test_embind_val_coro
self.do_runf('embind/test_val_coro.cpp', '34\n')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_val_coro.cpp -o test_val_coro.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -std=c++20 --bind --pre-js=pre.js '-sINCOMING_MODULE_JS_API=[onRuntimeInitialized]' --no-entry`
======================================================================
FAIL: test_embind_val_coro_propogate_cpp_exception (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7605, in test_embind_val_coro_propogate_cpp_exception
self.do_runf('embind/test_val_coro.cpp', 'rejected with: std::runtime_error: bang from throwingCoro!\n')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_val_coro.cpp -o test_val_coro.js -sNO_DEFAULT_TO_CXX -sEXCEPTION_STACK_TRACES -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -std=c++20 --bind --pre-js=pre.js -fexceptions '-sINCOMING_MODULE_JS_API=[onRuntimeInitialized]' --no-entry`
======================================================================
FAIL: test_embind_val_coro_propogate_js_error (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7616, in test_embind_val_coro_propogate_js_error
self.do_runf('embind/test_val_coro.cpp', 'rejected with: bang from JS promise!\n')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_val_coro.cpp -o test_val_coro.js -sNO_DEFAULT_TO_CXX -sEXCEPTION_STACK_TRACES -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -std=c++20 --bind --pre-js=pre.js -fexceptions`
======================================================================
FAIL: test_embind_val_cross_thread (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 366, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7559, in test_embind_val_cross_thread
self.do_runf('test_embind_val_cross_thread.cpp', 'val accessed from wrong thread', assert_returncode=NON_ZERO)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ test_embind_val_cross_thread.cpp -o test_embind_val_cross_thread.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-pthreads-mem-growth -pthread --bind`
======================================================================
FAIL: test_embind_val_cross_thread_deleted (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 366, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7587, in test_embind_val_cross_thread_deleted
self.do_runf('test_embind_val_cross_thread.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ test_embind_val_cross_thread.cpp -o test_embind_val_cross_thread.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-pthreads-mem-growth -pthread --bind`
======================================================================
FAIL: test_embind_val_read_pointer (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7528, in test_embind_val_read_pointer
self.do_runf('embind/test_val_read_pointer.cpp', cflags=['-lembind'])
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_val_read_pointer.cpp -o test_val_read_pointer.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind`
======================================================================
FAIL: test_embind_wasm_workers (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 349, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7709, in test_embind_wasm_workers
self.do_run_in_out_file_test('embind/test_embind_wasm_workers.cpp', cflags=['-lembind', '-sWASM_WORKERS'])
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/embind/test_embind_wasm_workers.cpp -o test_embind_wasm_workers.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -lembind -sWASM_WORKERS`
======================================================================
FAIL: test_emmalloc_memalign_corruption (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 964, in test_emmalloc_memalign_corruption
self.do_core_test('test_emmalloc_memalign_corruption.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_emmalloc_memalign_corruption.c -o test_emmalloc_memalign_corruption.js -sNO_DEFAULT_TO_CXX -sMALLOC=emmalloc -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_emmalloc_memvalidate (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 924, in test_emmalloc
self.do_core_test('test_emmalloc.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_emmalloc.c -o test_emmalloc.js -sNO_DEFAULT_TO_CXX -sMALLOC=none -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -fno-builtin /b/s/w/ir/x/w/install/emscripten/system/lib/libc/sbrk.c /b/s/w/ir/x/w/install/emscripten/system/lib/emmalloc.c -DEMMALLOC_MEMVALIDATE`
======================================================================
FAIL: test_emmalloc_memvalidate_verbose (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 924, in test_emmalloc
self.do_core_test('test_emmalloc.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_emmalloc.c -o test_emmalloc.js -sNO_DEFAULT_TO_CXX -sMALLOC=none -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -fno-builtin /b/s/w/ir/x/w/install/emscripten/system/lib/libc/sbrk.c /b/s/w/ir/x/w/install/emscripten/system/lib/emmalloc.c -DEMMALLOC_MEMVALIDATE -DEMMALLOC_VERBOSE -DRANDOM_ITERS=130`
======================================================================
FAIL: test_emmalloc_normal (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 924, in test_emmalloc
self.do_core_test('test_emmalloc.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_emmalloc.c -o test_emmalloc.js -sNO_DEFAULT_TO_CXX -sMALLOC=none -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -fno-builtin /b/s/w/ir/x/w/install/emscripten/system/lib/libc/sbrk.c /b/s/w/ir/x/w/install/emscripten/system/lib/emmalloc.c`
======================================================================
FAIL: test_emmalloc_usable_size (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 319, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 930, in test_emmalloc_usable_size
self.do_core_test('test_malloc_usable_size.c', regex=True)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_malloc_usable_size.c -o test_malloc_usable_size.js -sNO_DEFAULT_TO_CXX -sMALLOC=emmalloc -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_emscripten_api (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1848, in test_emscripten_api
self.do_core_test('test_emscripten_api.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_emscripten_api.c -o test_emscripten_api.js -sNO_DEFAULT_TO_CXX -sEXPORTED_FUNCTIONS=_main,_save_me_aimee -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_emscripten_async_call (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 9592, in test_emscripten_async_call
self.do_core_test('test_emscripten_async_call.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_emscripten_async_call.c -o test_emscripten_async_call.js -sNO_DEFAULT_TO_CXX -sEXIT_RUNTIME -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_emscripten_async_load_script (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 9686, in test_emscripten_async_load_script
self.do_runf('test_emscripten_async_load_script.c', cflags=['-sFORCE_FILESYSTEM'])
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/test_emscripten_async_load_script.c -o test_emscripten_async_load_script.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -sFORCE_FILESYSTEM`
======================================================================
FAIL: test_emscripten_atomics (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 366, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 9288, in test_emscripten_atomics
self.do_core_test('pthread/emscripten_atomics.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/pthread/emscripten_atomics.c -o emscripten_atomics.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-pthreads-mem-growth -pthread -pthread`
======================================================================
FAIL: test_emscripten_atomics_stub (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 9283, in test_emscripten_atomics_stub
self.do_core_test('pthread/emscripten_atomics.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/pthread/emscripten_atomics.c -o emscripten_atomics.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_emscripten_futexes (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 366, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 9294, in test_emscripten_futexes
self.do_core_test('pthread/emscripten_futexes.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/pthread/emscripten_futexes.c -o emscripten_futexes.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-pthreads-mem-growth -pthread -pthread -Wno-nonnull`
======================================================================
FAIL: test_emscripten_get_compiler_setting (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1912, in test_emscripten_get_compiler_setting
self.do_runf(src, 'You must build with -sRETAIN_COMPILER_SETTINGS', assert_returncode=NON_ZERO)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/emscripten_get_compiler_setting.c -o emscripten_get_compiler_setting.js -sNO_DEFAULT_TO_CXX -sASSERTIONS -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_emscripten_get_now (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1905, in test_emscripten_get_now
self.do_runf('test_emscripten_get_now.c', 'Timer resolution is good')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1946, in do_runf
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/test_emscripten_get_now.c -o test_emscripten_get_now.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_emscripten_has_asyncify (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1929, in test_emscripten_has_asyncify
self.do_run(src, '0')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ src.cpp -o src.js -sNO_DEFAULT_TO_CXX -sASYNCIFY=0 -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_emscripten_lazy_load_code (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 136, in decorated
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8446, in test_emscripten_lazy_load_code
self.do_core_test('emscripten_lazy_load_code.c', args=['0'])
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/emscripten_lazy_load_code.c -o emscripten_lazy_load_code.js -sNO_DEFAULT_TO_CXX -sASYNCIFY_LAZY_LOAD_CODE -sASYNCIFY_IGNORE_INDIRECT -sMALLOC=emmalloc -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-deprecated --profiling-funcs`
======================================================================
FAIL: test_emscripten_lazy_load_code_conditional (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 136, in decorated
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8446, in test_emscripten_lazy_load_code
self.do_core_test('emscripten_lazy_load_code.c', args=['0'])
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/emscripten_lazy_load_code.c -o emscripten_lazy_load_code.js -sNO_DEFAULT_TO_CXX -sASYNCIFY_LAZY_LOAD_CODE -sASYNCIFY_IGNORE_INDIRECT -sMALLOC=emmalloc -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -Wno-deprecated --profiling-funcs -DCONDITIONAL`
======================================================================
FAIL: test_emscripten_log (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 136, in decorated
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 570, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8048, in test_emscripten_log
self.do_run_in_out_file_test('test_emscripten_log.cpp', interleaved_output=False)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/test_emscripten_log.cpp -o test_emscripten_log.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -g -DRUN_FROM_JS_SHELL -Wno-deprecated-pragma`
======================================================================
FAIL: test_emscripten_log_bigint (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 917, in resulting_test
return func(self, *args)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 136, in decorated
func(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 65, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 570, in metafunc
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8048, in test_emscripten_log
self.do_run_in_out_file_test('test_emscripten_log.cpp', interleaved_output=False)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/test_emscripten_log.cpp -o test_emscripten_log.js -sNO_DEFAULT_TO_CXX -sWASM_BIGINT -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz -g -DRUN_FROM_JS_SHELL -Wno-deprecated-pragma`
======================================================================
FAIL: test_emscripten_math (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 9534, in test_emscripten_math
self.do_core_test('test_emscripten_math.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_emscripten_math.c -o test_emscripten_math.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_emscripten_run_script_string_int (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1869, in test_emscripten_run_script_string_int
self.do_run(src, '''got string: 2''')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ src.cpp -o src.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_emscripten_run_script_string_null (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1901, in test_emscripten_run_script_string_null
self.do_run(src, 'got null')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ src.cpp -o src.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_emscripten_run_script_string_utf8 (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 1884, in test_emscripten_run_script_string_utf8
self.do_run(src, '''length of returned string: 18. Position of substring 'Hello': 12''')
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1943, in do_run
return self._build_and_run(filename, expected_output, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ src.cpp -o src.js -sNO_DEFAULT_TO_CXX -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_emscripten_scan_registers (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 81, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 8390, in test_emscripten_scan_registers
self.do_core_test('test_emscripten_scan_registers.cpp')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/em++ /b/s/w/ir/x/w/install/emscripten/test/core/test_emscripten_scan_registers.cpp -o test_emscripten_scan_registers.js -sNO_DEFAULT_TO_CXX -sASYNCIFY -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_emscripten_stack (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 304, in decorated
f(self, *args, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 9540, in test_emscripten_stack
self.do_core_test('test_stack_get_free.c')
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-zero return code(1): `/b/s/w/ir/x/w/install/emscripten/emcc /b/s/w/ir/x/w/install/emscripten/test/core/test_stack_get_free.c -o test_stack_get_free.js -sNO_DEFAULT_TO_CXX -sSTACK_SIZE=4194304 -Wclosure -Werror -Wno-limited-postlink-optimizations -flto=thin -Oz`
======================================================================
FAIL: test_emulate_function_pointer_casts (test_core.thinltoz)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 7273, in test_emulate_function_pointer_casts
self.do_core_test('test_emulate_function_pointer_casts.cpp', cflags=['-Wno-deprecated'])
File "/b/s/w/ir/x/w/install/emscripten/test/test_core.py", line 455, in do_core_test
self.do_run_in_out_file_test(Path('core', testname), **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1957, in do_run_in_out_file_test
output = self._build_and_run(srcfile, expected, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1975, in _build_and_run
js_file = self.build(filename, **kwargs)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1435, in build
self.run_process(cmd, stderr=self.stderr_redirect if not DEBUG else None)
File "/b/s/w/ir/x/w/install/emscripten/test/common.py", line 1777, in run_process
self.fail(f'subprocess exited with non-zero return code({e.returncode}): `{shlex.join(cmd)}`')
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: subprocess exited with non-z
DONE: combining results on main thread
Traceback (most recent call last):
File "/b/s/w/ir/x/w/install/emscripten/test/runner.py", line 507, in <module>
sys.exit(main())
File "/b/s/w/ir/x/w/install/emscripten/test/runner.py", line 496, in main
num_failures = run_tests(options, suites)
File "/b/s/w/ir/x/w/install/emscripten/test/runner.py", line 356, in run_tests
res = testRunner.run(suite)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/runner.py", line 183, in run
result.printErrors()
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/runner.py", line 110, in printErrors
self.printErrorList('FAIL', self.failures)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/runner.py", line 117, in printErrorList
self.stream.writeln("%s" % err)
File "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/unittest/runner.py", line 25, in writeln
self.write(arg)
BlockingIOError: [Errno 11] write could not complete without blocking
@@@STEP_FAILURE@@@
@@@BUILD_STEP Summary@@@
Failed steps: 1.
Execute emscripten testsuite (emwasm)
Warned steps: 0.
@@@STEP_FAILURE@@@
Completed in 860.9289014339447s