Hi! $ objdump -T /usr/lib/binutils/x86_64-gentoo-linux-musl/2.34/libbfd-2.34.0.gentoo-sys-devel-binutils-st.so | grep libintl 0000000000000000 D *UND* 0000000000000000 libintl_dgettext And there is no libintl_dgettext on musl, so this renders libbfd unusable and leads to build failures like: /usr/lib/gcc/x86_64-gentoo-linux-musl/10.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /usr/lib/gcc/x86_64-gentoo-linux-musl/10.2.0/../../../../lib/libbfd.so: undefined reference to `libintl_dgettext' (I'm trying to build dev-util/oprofile on musl and can't due to this problem.)
Created attachment 657464 [details] emerge --info
Confirmed. # LDFLAGS=-Wl,--no-undefined emerge -v1 sys-libs/binutils-libs yields build failure for me as well.
As a workaround you can use USE=-nls
(In reply to Sergei Trofimovich from comment #3) > As a workaround you can use USE=-nls should this be a package.use.mask for musl profiles?