Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902559 - sys-devel/lld-15.0.7: SIGABRT compiling chromium[lto] on ppc64le
Summary: sys-devel/lld-15.0.7: SIGABRT compiling chromium[lto] on ppc64le
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-21 20:33 UTC by Georgy Yakovlev
Modified: 2023-06-27 00:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info.txt,8.08 KB, text/plain)
2023-03-21 20:34 UTC, Georgy Yakovlev
Details
build.log.xz (cr-llvm-lto-log.txt.xz,150.03 KB, application/octet-stream)
2023-03-22 18:46 UTC, Georgy Yakovlev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georgy Yakovlev archtester gentoo-dev 2023-03-21 20:33:37 UTC
Not sure if it's related to my system being ieee-long-double or not.

I previously was able to compile chromium with llvm-15.0.6 on same system.


Core was generated by `/usr/lib/llvm/15/bin/ld.lld -pie -export-dynamic --eh-frame-hdr -m elf64lppc -e'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007ffce5e33dbc in ?? () from /usr/lib64/libc.so.6
[Current thread is 1 (Thread 0x7ffbf9fbf0e0 (LWP 7756))]
(gdb) bt
#0  0x00007ffce5e33dbc in ?? () from /usr/lib64/libc.so.6
#1  0x00007ffce5dd2a3c in raise () from /usr/lib64/libc.so.6
#2  0x00007ffce5db44d4 in abort () from /usr/lib64/libc.so.6
#3  0x00007ffce704592c in llvm::report_fatal_error(llvm::Twine const&, bool) () from /usr/lib/llvm/15/bin/../lib64/libLLVM-15.so
#4  0x00007ffce7009eec in llvm::localCache(llvm::Twine, llvm::Twine, llvm::Twine, std::function<void (unsigned int, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >)>)::{lambda(unsigned int, llvm::StringRef)#1}::operator()(unsigned int, llvm::StringRef) const::CacheStream::~CacheStream() () from /usr/lib/llvm/15/bin/../lib64/libLLVM-15.so
#5  0x00007ffce700a0e0 in llvm::localCache(llvm::Twine, llvm::Twine, llvm::Twine, std::function<void (unsigned int, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >)>)::{lambda(unsigned int, llvm::StringRef)#1}::operator()(unsigned int, llvm::StringRef) const::CacheStream::~CacheStream() () from /usr/lib/llvm/15/bin/../lib64/libLLVM-15.so
#6  0x00007ffce8ebaa0c in codegen(llvm::lto::Config const&, llvm::TargetMachine*, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)>, unsigned int, llvm::Module&, llvm::ModuleSummaryIndex const&) () from /usr/lib/llvm/15/bin/../lib64/libLLVM-15.so
#7  0x00007ffce8ebb718 in llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::StringMap<std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long> >, llvm::MallocAllocator> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*> > const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>, std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > > >*, std::vector<unsigned char, std::allocator<unsigned char> > const&)::{lambda(llvm::Module&, llvm::TargetMachine*, std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile> >)#1}::operator()(llvm::Module&, llvm::TargetMachine*, std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile> >) const () from /usr/lib/llvm/15/bin/../lib64/libLLVM-15.so
#8  0x00007ffce8ebc338 in llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::StringMap<std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long> >, llvm::MallocAllocator> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*> > const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>, std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > > >*, std::vector<unsigned char, std::allocator<unsigned char> > const&) ()
   from /usr/lib/llvm/15/bin/../lib64/libLLVM-15.so
#9  0x00007ffce8e9cd60 in (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)>, std::function<llvm::Expected<std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)> > (unsigned int, llvm::StringRef)>, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::StringMap<std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long> >, llvm::MallocAllocator> const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void> > const&, std::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, llvm::GlobalValue::LinkageTypes> > > const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*> > const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>, std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > > >&)::{lambda(std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)>)#1}::operator()(std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)>) const () from /usr/lib/llvm/15/bin/../lib64/libLLVM-15.so
#10 0x00007ffce8eacf04 in std::_Function_handler<void (), std::_Bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::StringMap<std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long> >, llvm::MallocAllocator> const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void> > const&, std::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, llvm::GlobalValue::LinkageTypes> > > const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>, std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > > >&)::{lambda(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::StringMap<std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long> >, llvm::MallocAllocator> const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void> > const&, std::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, llvm::GlobalValue::LinkageTypes> > > const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*> > const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>, std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > > >&)#1} (llvm::BitcodeModule, std::reference_wrapper<llvm::ModuleSummaryIndex>, std::reference_wrapper<llvm::StringMap<std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long> >, llvm::MallocAllocator> const>, std::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void> > const>, std::reference_wrapper<std::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, llvm::GlobalValue::LinkageTypes> > > const>, std::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*> > const>, std::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>, std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > > > >)> >::_M_invoke(std::_Any_data const&) () from /usr/lib/llvm/15/bin/../lib64/libLLVM-15.so
#11 0x00007ffce77798e0 in std::_Function_handler<void (), llvm::ThreadPool::createTaskAndFuture(std::function<void ()>)::{lambda()#1}>::_M_invoke(std::_Any_data const&) () from /usr/lib/llvm/15/bin/../lib64/libLLVM-15.so
#12 0x00007ffce70d507c in llvm::ThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) () from /usr/lib/llvm/15/bin/../lib64/libLLVM-15.so
#13 0x00007ffce70d586c in void* llvm::thread::ThreadProxy<std::tuple<llvm::ThreadPool::grow(int)::{lambda()#1}> >(void*) () from /usr/lib/llvm/15/bin/../lib64/libLLVM-15.so
#14 0x00007ffce5e3125c in ?? () from /usr/lib64/libc.so.6
#15 0x00007ffce5eddfe0 in clone () from /usr/lib64/libc.so.6
Comment 1 Georgy Yakovlev archtester gentoo-dev 2023-03-21 20:34:16 UTC
Created attachment 858577 [details]
emerge --info
Comment 2 Georgy Yakovlev archtester gentoo-dev 2023-03-21 22:05:24 UTC
16.0.0 - same segfault.

I also updated glibc since then,
qlop -mHv | grep -E "chromium|lld|glibc"
...
2023-01-17T15:09:35 >>> www-client/chromium-109.0.5414.74-r1
2023-01-21T12:10:57 >>> sys-libs/glibc-2.36-r7
2023-01-24T15:27:22 >>> sys-devel/lld-15.0.7

what else should I look for, ideas?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-21 22:07:02 UTC
Can you include the build.log from the failure too please?
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-03-22 06:21:54 UTC
I suppose llvm::report_fatal_error() should have printed some error message to the console.
Comment 5 Georgy Yakovlev archtester gentoo-dev 2023-03-22 17:16:02 UTC
I will upload a log soon, but I could not see anything specific, maybe missed.
Comment 6 Georgy Yakovlev archtester gentoo-dev 2023-03-22 18:46:34 UTC
Created attachment 858639 [details]
build.log.xz

PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
LLVM ERROR: Failed to rename temporary file thinlto-cache/Thin-4d614b.tmp.o to thinlto-cache/llvmcache-BB2EC0D8572FC0472306E3C9F73E74475EB8728F: No such file or directory

LLVM ERROR: Failed to rename temporary file thinlto-cache/Thin-97c472.tmp.o to thinlto-cache/llvmcache-DBF1791E56B828698A9078A71AA2BFC1A4094043: No such file or directory

powerpc64le-unknown-linux-gnu-clang++: error: unable to execute command: Aborted (core dumped)
powerpc64le-unknown-linux-gnu-clang++: error: linker command failed due to signal (use -v to see invocation)
ninja: build stopped: subcommand failed.
Comment 7 Georgy Yakovlev archtester gentoo-dev 2023-03-22 18:51:09 UTC
/var/tmp/portage/www-client/chromium-111.0.5563.64/work/chromium-111.0.5563.64/out/Release/thinlto-cache
ls -1
llvmcache-0B999B518B86DE63B7D2067F0C6515FDED36A48F
llvmcache-1428AEC9567040718B1E103F5CA8E4F599B4D383
llvmcache-22DC678709502831E76B1573A51B4D587C2D1E9B
llvmcache-2A535EB174FA2276AAC65A0A0932165B2D5DC9AD
llvmcache-321ED6AF9982B4D99DD075B67FDB6A59F8713A48
llvmcache-4C0E1FFDD219F801C04A15959D5D4CDB1068486B
llvmcache-4FA8A1C914971F6F2952226E650EAF8E2BC501EC
llvmcache-56E7445DC5B5BAD79CF8BA6B831344550885932D
llvmcache-571DFDDAEFE4188D4C156288EA56C2BA26D7D5F1
llvmcache-64F43C6FBE005FED00DF3BE90DD1B5FB918C6696
llvmcache-6EBA20D84AA7B026FBBF9212BB834487FF4FA20E
llvmcache-754C80CDC86CB0EBE2F2BD55E8005A4A1C4D35D6
llvmcache-7B27CEF320462D5C106E5667FB5624F9ACF0BFB9
llvmcache-8C031C67403302C452B93D79D5256BF1DB7BBD32
llvmcache-90072A845062B1988E235CB87317D2C9F1D36101
llvmcache-A2DAE74373B2ADECD24D5777294A130A40CC9AAE
llvmcache-C197A031FC9DDFD659443893BC67AA955408FFB9
llvmcache-C758AA1CBCABC1E463677AB332B622410B5D59CB
llvmcache-CBA24ABAA64435CD6F34A844814D5DA04F3266AC
llvmcache-D45788353A4784193E1335218E3CBC0C62C0414A
llvmcache-DF336F8CF7E5D6703A340851FDED5DEE7981102C
llvmcache-F9E1B9E245E3153C5EBA932A45DCB72D52C4335A
Thin-018cf1.tmp.o
Thin-04409e.tmp.o
Thin-09112e.tmp.o
Thin-09c6b1.tmp.o
Thin-11b417.tmp.o
Thin-15afa1.tmp.o
Thin-2154d3.tmp.o
Thin-22c375.tmp.o
Thin-27c808.tmp.o
Thin-2e0060.tmp.o
Thin-3c7a09.tmp.o
Thin-44eaaa.tmp.o
Thin-4ce6d6.tmp.o
Thin-521925.tmp.o
Thin-556bd3.tmp.o
Thin-5c1956.tmp.o
Thin-6efc62.tmp.o
Thin-6fdba5.tmp.o
Thin-778497.tmp.o
Thin-81ec44.tmp.o
Thin-871276.tmp.o
Thin-8b4232.tmp.o
Thin-a126f1.tmp.o
Thin-a9a272.tmp.o
Thin-aaa401.tmp.o
Thin-ab938d.tmp.o
Thin-b05d92.tmp.o
Thin-b36b7c.tmp.o
Thin-c22858.tmp.o
Thin-c87a3d.tmp.o
Thin-cac340.tmp.o
Thin-cb0ffd.tmp.o
Thin-cc02d2.tmp.o
Thin-d4f616.tmp.o
Thin-dbb954.tmp.o
Thin-df1c40.tmp.o
Thin-e0157e.tmp.o
Thin-e25f8d.tmp.o
Thin-eca840.tmp.o
Comment 8 Georgy Yakovlev archtester gentoo-dev 2023-03-22 18:53:00 UTC
message is probably a red herring tho.
seems it can't rename/move files due to SIGABRT happened before, thus files are missing.
Comment 9 Georgy Yakovlev archtester gentoo-dev 2023-03-22 23:03:17 UTC
seems that turning off LTO gets me past this err. searching for similar errors leads to bunch of similar problems. means we have a legit lld lto bug.

I wish it was easier to restore 15.0.4 stack and retry, will try but idk when.
Comment 10 Georgy Yakovlev archtester gentoo-dev 2023-06-27 00:13:44 UTC
firefox also started failing


9:05.35 LLVM ERROR: failed to perform tail call elimination on a call site marked musttail
 9:05.35 PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
 9:05.35 Stack dump:                                            
 9:05.35 0.     Running pass 'Function Pass Manager' on module '/var/tmp/portage/www-client/firefox-114.0/work/firefox_build/toolkit/library/build/../../../gfx/skia/SkOpts.o'.
 9:05.35 1.     Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@_ZN8portableL15init_lane_masksEPNS_6ParamsEP21SkRasterPipelineStageffff'
 9:05.53  #0 0x00007ffc9bc8eebc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0xe8eebc)
 9:05.54  #1 0x00007ffc9bc8bf0c llvm::sys::RunSignalHandlers() (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0xe8bf0c)
 9:05.54  #2 0x00007ffc9bc8c13c (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0xe8c13c)
 9:05.54  #3 0x00007ffca4070424 (linux-vdso64.so.1+0x424)
 9:05.54  #4 0x00007ffc9a8e3dbc (/usr/lib64/libc.so.6+0xa3dbc)
 9:05.54  #5 0x00007ffc9a882a3c raise (/usr/lib64/libc.so.6+0x42a3c)
 9:05.54  #6 0x00007ffc9a8643fc abort (/usr/lib64/libc.so.6+0x243fc)
 9:05.54  #7 0x00007ffc9bb82c8c llvm::report_fatal_error(llvm::Twine const&, bool) (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0xd82c8c)
 9:05.54  #8 0x00007ffc9bb82d58 llvm::report_fatal_error(char const*, bool) (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0xd82d58)
 9:05.54  #9 0x00007ffc9ebcb008 (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x3dcb008)
 9:05.54 #10 0x00007ffc9c771e10 llvm::TargetLowering::LowerCallTo(llvm::TargetLowering::CallLoweringInfo&) const (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x1971e10)
 9:05.54 #11 0x00007ffc9c77dbe8 llvm::SelectionDAGBuilder::lowerInvokable(llvm::TargetLowering::CallLoweringInfo&, llvm::BasicBlock const*) (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x197dbe8)
 9:05.54 #12 0x00007ffc9c7934a0 llvm::SelectionDAGBuilder::LowerCallTo(llvm::CallBase const&, llvm::SDValue, bool, bool, llvm::BasicBlock const*) (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x19934a0)
 9:05.54 #13 0x00007ffc9c7beb90 llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x19beb90)
 9:05.54 #14 0x00007ffc9c83af2c llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, false, false, void>, false, true>, llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, fa
lse, false, void>, false, true>, bool&) (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x1a3af2c)
 9:05.54 #15 0x00007ffc9c83c924 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x1a3c924)
 9:05.54 #16 0x00007ffc9c83ed0c llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x1a3ed0c)
 9:05.54 #17 0x00007ffc9eb66d20 (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x3d66d20)
 9:05.54 #18 0x00007ffc9c1b987c llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x13b987c)
 9:05.54 #19 0x00007ffc9be4fb30 llvm::FPPassManager::runOnFunction(llvm::Function&) (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x104fb30)
 9:05.54 #20 0x00007ffc9be4fed4 llvm::FPPassManager::runOnModule(llvm::Module&) (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x104fed4)
 9:05.54 #21 0x00007ffc9be507e4 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x10507e4)
 9:05.54 #22 0x00007ffc9db204b4 (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x2d204b4)
 9:05.54 #23 0x00007ffc9db21b78 (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x2d21b78)
 9:05.54 #24 0x00007ffc9db227e4 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Mod
ule&, llvm::ModuleSummaryIndex const&, llvm::StringMap<std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long>>, llvm::MallocAllocator> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueS
ummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::Str
ingRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>, std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule>>>>*, std::vector<unsigned char, std::allocator<unsigned c
har>> const&) (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x2d227e4)
 9:05.54 #25 0x00007ffc9db01990 (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x2d01990)
 9:05.54 #26 0x00007ffc9db12dc4 (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x2d12dc4)
 9:05.54 #27 0x00007ffc9c3190f0 (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0x15190f0)
 9:05.54 #28 0x00007ffc9bc1213c llvm::ThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0xe1213c)
 9:05.54 #29 0x00007ffc9bc12930 (/usr/lib/llvm/16/bin/../lib64/libLLVM-16.so+0xe12930)
 9:05.54 #30 0x00007ffc9a8e125c (/usr/lib64/libc.so.6+0xa125c)
 9:05.84 clang-16: error: unable to execute command: Aborted (core dumped)
 9:05.84 clang-16: error: linker command failed due to signal (use -v to see invocation)
 9:05.84 gmake[4]: *** [/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/config/rules.mk:535: libxul.so] Error 1
 9:05.84 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-114.0/work/firefox_build/toolkit/library/build'
 9:05.84 gmake[3]: *** [/var/tmp/portage/www-client/firefox-114.0/work/firefox-114.0/config/recurse.mk:72: toolkit/library/build/target] Error 2
 9:05.84 gmake[3]: *** Waiting for unfinished jobs....

gcc works.
Comment 11 Georgy Yakovlev archtester gentoo-dev 2023-06-27 00:15:16 UTC
since it's firefox it's not much much much quicker to reproduce.

if you want me to collect anything specific for upstream - let me know.