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

Bug 716422

Summary: [TRACKER] Lack of backtrace support in musl
Product: Gentoo Linux Reporter: Michael 'veremitz' Everitt <gentoo>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: herrtimson
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 712664, 712748, 712756, 713172, 713288, 713426, 714224, 715576, 715716, 715844, 715864, 716014, 716346, 716418, 571036, 713176, 713414, 713684, 715934, 715986, 716172, 716790, 762484    
Bug Blocks:    

Description Michael 'veremitz' Everitt 2020-04-06 08:41:42 UTC
A number of packages in the Gentoo repository will not compile under musl-libc because of the lack of backtrace support. Errors such as "fatal error: execinfo.h: No such file or directory" are a good indicator of this.

One potential ultimate goal/answer to this problem is to port affected code to libunwind (http://www.nongnu.org/libunwind/index.html).

In the meantime, however, we will likely simply patch affected code with an #ifdef __GLIBC__ until upstream has made appropriate changes.