Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922187 - dev-libs/libtomcrypt-1.18.2-r4: failed to compile, duplicate LC_RPATH
Summary: dev-libs/libtomcrypt-1.18.2-r4: failed to compile, duplicate LC_RPATH
Status: CONFIRMED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-15 21:18 UTC by Ryan Tsien
Modified: 2024-02-18 19:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=dev-libs/libtomcrypt-1.18.2-r4::gentoo_prefix' (emerge-info,5.46 KB, text/plain)
2024-01-15 21:18 UTC, Ryan Tsien
Details
var/tmp/portage/dev-libs/libtomcrypt-1.18.2-r4/temp/build.log (build.log,649.15 KB, application/octet-stream)
2024-01-15 21:19 UTC, Ryan Tsien
Details
var/tmp/portage/dev-libs/libtomcrypt-1.18.2-r4/temp/environment (environment,58.55 KB, text/plain)
2024-01-15 21:19 UTC, Ryan Tsien
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Tsien 2024-01-15 21:18:03 UTC
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
Comment 1 Ryan Tsien 2024-01-15 21:18:49 UTC
Created attachment 882361 [details]
emerge --info '=dev-libs/libtomcrypt-1.18.2-r4::gentoo_prefix'
Comment 2 Ryan Tsien 2024-01-15 21:19:19 UTC
Created attachment 882362 [details]
var/tmp/portage/dev-libs/libtomcrypt-1.18.2-r4/temp/build.log
Comment 3 Ryan Tsien 2024-01-15 21:19:41 UTC
Created attachment 882363 [details]
var/tmp/portage/dev-libs/libtomcrypt-1.18.2-r4/temp/environment
Comment 4 Fabian Groffen gentoo-dev 2024-02-18 19:47:17 UTC
I think binutils-config should suppress these duplicates to pacify newer linkers