gentoo-patchset icon indicating copy to clipboard operation
gentoo-patchset copied to clipboard

Package “sys-libs/db” failing to build correctly with lld linker

Open fraxgut opened this issue 1 year ago • 0 comments

The sys-libs/db package fails to build correctly with the lldlinker. To fix this issue, we need to remove or comment out "append-ldflags -Wl,--default-symver" from the ebuild, as well as removing "tc-force-bfd" and "binutils" as a dependency in the ebuild. However, even if db builds with lld under these conditions, it still makes many references to binutils in the result. This can lead to errors in runtime, so manual patching is required.

Issue crossposted to "clang-musl-overlay"

fraxgut avatar Jun 06 '23 04:06 fraxgut