Created attachment 830693 [details] build log #0 llvm::PrettyStackTraceEntry::PrettyStackTraceEntry (this=0xffffc768) at /var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/lib/Support/PrettyStackTrace.cpp:220 #1 0x568de37c in llvm::PrettyStackTraceProgram::PrettyStackTraceProgram (argv=<optimized out>, argc=12, this=0xffffc768) at /var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/include/llvm/Support/PrettyStackTrace.h:96 #2 llvm::optional_detail::OptionalStorage<llvm::PrettyStackTraceProgram, false>::emplace<int&, char const**&> ( this=<optimized out>) at /var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/include/llvm/ADT/Optional.h:124 #3 llvm::Optional<llvm::PrettyStackTraceProgram>::emplace<int&, char const**&> (this=<optimized out>) at /var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/include/llvm/ADT/Optional.h:288 #4 llvm::InitLLVM::InitLLVM (this=0xffffc724, Argc=@0xffffc7b0: 12, Argv=@0xffffc71c: 0xffffc854, InstallPipeSignalExitHandler=true) at /var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/lib/Support/InitLLVM.cpp:36 #5 0x5689a028 in llvm::InitLLVM::InitLLVM (InstallPipeSignalExitHandler=true, Argv=@0xffffc71c: 0xffffc854, Argc=@0xffffc7b0: 12, this=0xffffc724) at /var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/include/llvm/Support/InitLLVM.h:41 #6 main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/utils/TableGen/TableGen.cpp:288 (gdb) bt full #0 llvm::PrettyStackTraceEntry::PrettyStackTraceEntry (this=0xffffc768) at /var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/lib/Support/PrettyStackTrace.cpp:220 No locals. #1 0x568de37c in llvm::PrettyStackTraceProgram::PrettyStackTraceProgram (argv=<optimized out>, argc=12, this=0xffffc768) at /var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/include/llvm/Support/PrettyStackTrace.h:96 No locals. #2 llvm::optional_detail::OptionalStorage<llvm::PrettyStackTraceProgram, false>::emplace<int&, char const**&> ( this=<optimized out>) at /var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/include/llvm/ADT/Optional.h:124 No locals. #3 llvm::Optional<llvm::PrettyStackTraceProgram>::emplace<int&, char const**&> (this=<optimized out>) at /var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/include/llvm/ADT/Optional.h:288 No locals. #4 llvm::InitLLVM::InitLLVM (this=0xffffc724, Argc=@0xffffc7b0: 12, Argv=@0xffffc71c: 0xffffc854, InstallPipeSignalExitHandler=true) at /var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/lib/Support/InitLLVM.cpp:36 No locals. #5 0x5689a028 in llvm::InitLLVM::InitLLVM (InstallPipeSignalExitHandler=true, Argv=@0xffffc71c: 0xffffc854, Argc=@0xffffc7b0: 12, this=0xffffc724) at /var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/include/llvm/Support/InitLLVM.h:41 No locals. #6 main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/sys-devel/llvm-15.0.3/work/llvm/utils/TableGen/TableGen.cpp:288 X = { Alloc = {<llvm::AllocatorBase<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096, 4096, 128> >> = {<No data fields>}, <llvm::detail::AllocatorHolder<llvm::MallocAllocator>> = {<llvm::MallocAllocator> = {<llvm::AllocatorBase<llvm::MallocAllocator>> = {<No data fields>}, <No data fields>}, <No data fields>}, CurPtr = 0x0, End = 0x0, Slabs = {<llvm::SmallVectorImpl<void*>> = {<llvm::SmallVectorTemplateBase<void*, true>> = {<llvm::SmallVectorTemplateCommon<void*, void>> = {<llvm::SmallVectorBase<unsigned int>> = {BeginX = 0xffffc738, Size = 0, Capacity = 4}, <No data fields>}, static TakesParamByValue = true}, <No data fields>}, <llvm::SmallVectorStorage<void*, 4>> = { InlineElts = "\n\000\000\000d\233XV\037\000\000\000L\307\377\377"}, <No data fields>}, CustomSizedSlabs = {<llvm::SmallVectorImpl<std::pair<void*, unsigned int> >> = {<llvm::SmallVectorTemplateBase<std::pair<void*, unsigned int>, true>> = {<llvm::SmallVectorTemplateCommon<std::pair<void*, unsigned int>, void>> = {<llvm::SmallVectorBase<unsigned int>> = {BeginX = 0xffffc754, Size = 0, Capacity = 0}, <No data fields>}, static TakesParamByValue = true}, <No data fields>}, <llvm::SmallVectorStorage<std::pair<void*, unsigned int>, 0>> = {<No data fields>}, <No data fields>}, BytesAllocated = 0, RedZoneSize = 1}, Args = {<llvm::SmallVectorImpl<char const*>> = {<llvm::SmallVectorTemplateBase<char const*, true>> = {<llvm::SmallVectorTemplateCommon<char const*, void>> = {<llvm::SmallVectorBase<unsigned int>> = { BeginX = 0xffffc768, Size = 0, Capacity = 0}, <No data fields>}, static TakesParamByValue = true}, <No data fields>}, <llvm::SmallVectorStorage<char const*, 0>> = {<No data fields>}, <No data fields>}, StackPrinter = {Storage = {{empty = 0 '\000', val = {<llvm::PrettyStackTraceEntry> = {_vptr.PrettyStackTraceEntry = 0x5698ee00, NextEntry = 0xe}, ArgC = 1452859012, ArgV = 0xe}}, hasVal = false}}}
Created attachment 830695 [details] emerge --info
Confirmed this is caused by LDFLAGS="${LDFLAGS} -fuse-ld=lld"