env: macOS sonoma 14.2.1, arm64 > emerge -pqv '=dev-libs/libtomcrypt-1.18.2-r4::gentoo_prefix' > [ebuild R ] dev-libs/libtomcrypt-1.18.2-r4 USE="gmp libtommath* -tomsfastmath" > ld: warning: duplicate -rpath '/gp/usr/lib/gcc/arm64-apple-darwin23/13' ignored > ld: warning: duplicate -rpath '/gp/usr/lib' ignored > ld: warning: ignoring duplicate libraries: '-lgcc' > ld: duplicate LC_RPATH '/gp/usr/lib/gcc/arm64-apple-darwin23/13' in '/gp/usr/lib/libtommath.1.2.1.dylib' > collect2: error: ld returned 1 exit status > make: *** [makefile.shared:60: libtomcrypt.la] Error 1 While the compilation was successful with USE="-libtommath" Reproducible: Always
Created attachment 882361 [details] emerge --info '=dev-libs/libtomcrypt-1.18.2-r4::gentoo_prefix'
Created attachment 882362 [details] var/tmp/portage/dev-libs/libtomcrypt-1.18.2-r4/temp/build.log
Created attachment 882363 [details] var/tmp/portage/dev-libs/libtomcrypt-1.18.2-r4/temp/environment
I think binutils-config should suppress these duplicates to pacify newer linkers