gentoo-patchset
gentoo-patchset copied to clipboard
Package “sys-libs/db” failing to build correctly with lld linker
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"