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

Bug 864847

Summary: sys-devel/llvm-14.0.6-r2: fails to compile with musl
Product: Gentoo Linux Reporter: Felix Janda <felix.janda>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: RESOLVED DUPLICATE    
Severity: normal CC: herrtimson, musl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz
emerge --info

Description Felix Janda 2022-08-11 02:35:44 UTC
The first error is:

llvm/lib/Support/Unix/Signals.inc:565:13: error: 'backtrace' was not declared in this scope; did you mean 'StackTrace'?

Reproducible: Always
Comment 1 Felix Janda 2022-08-11 02:37:08 UTC
Created attachment 799231 [details]
build.log.xz
Comment 2 Felix Janda 2022-08-11 02:37:30 UTC
Created attachment 799233 [details]
emerge --info
Comment 3 Jory A. Pratt gentoo-dev 2022-08-13 22:57:32 UTC
(In reply to Felix Janda from comment #0)
> The first error is:
> 
> llvm/lib/Support/Unix/Signals.inc:565:13: error: 'backtrace' was not
> declared in this scope; did you mean 'StackTrace'?
> 
> Reproducible: Always

The question becomes why is configure finding a backtrace header on your system. I have not been able to duplicate on x86_64, arm64, and arm. Compile is successful as configure should not be defining backtrace support exist for musl users.
Comment 4 Felix Janda 2022-08-14 02:03:49 UTC
This is from sys-libs/libbacktrace
Comment 5 Felix Janda 2022-12-30 21:40:14 UTC

*** This bug has been marked as a duplicate of bug 838979 ***