Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 914531

Summary: sys-devel/lld-17: crashes when building sys-devel/llvm-16.0.6
Product: Gentoo Linux Reporter: Mia Neufeld <mia>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: UNCONFIRMED ---    
Severity: normal CC: mia, nvinson234, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/llvm/llvm-project/issues/68536
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 912821    
Attachments: Mia Neufeld emerge --info
Mia Neufeld build.log
Sean build.log
Sean emerge --info
llvm_build-api_x86_32.x86.tar.xz

Description Mia Neufeld 2023-09-22 09:38:33 UTC
Another user and I have encountered a segfault when building llvm 16 from a :17 toolchain.

I shall attach both of our logs and emerge --info as I get them.
Comment 1 Mia Neufeld 2023-09-22 09:38:56 UTC
Created attachment 871098 [details]
Mia Neufeld emerge --info
Comment 2 Mia Neufeld 2023-09-22 09:40:57 UTC
Created attachment 871099 [details]
Mia Neufeld build.log
Comment 3 Mia Neufeld 2023-09-22 09:41:33 UTC
Created attachment 871100 [details]
Sean build.log

Sadly only a tail -n 200 is available but it covers the segmentation fault
Comment 4 Mia Neufeld 2023-09-22 09:42:53 UTC
Created attachment 871101 [details]
Sean emerge --info
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-26 00:33:20 UTC
If you run the command after 'FAILED' manually, does it fail again (segfault)?
Comment 6 Mia Neufeld 2023-09-29 15:22:01 UTC
Hello, sorry for the late reply.

It doesn't segfault when I manually execute the command in the workdir. It just executes successfully.
Comment 7 nvinson234 2023-10-08 01:49:02 UTC
Created attachment 872283 [details]
llvm_build-api_x86_32.x86.tar.xz

Seeing the same issue when building llvm-16.0.6 with 17.0.2. Attached link to tarball created using ld.lld --reproduce.