Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502314 - sys-devel/binutils should patch or drop ld.gold on prefix
Summary: sys-devel/binutils should patch or drop ld.gold on prefix
Status: RESOLVED FIXED
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: 2014-02-24 04:40 UTC by William Throwe
Modified: 2020-12-14 20:49 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Throwe 2014-02-24 04:40:48 UTC
ld.bfd is patched in prefix to add RUNPATH entries to binaries it creates so that prefixed libraries can be found.  ld.gold is not patched in this manner, so binaries created with it fail at runtime.  This is fine, except that some build systems (firefox and llvm are the ones I've run into so far) check for ld.gold and use it if it exists.

This may be considered a bug in the build systems of those packages, but since this can be fixed trivially by passing --disable-gold to binutils's configure script under prefix and thus not installing the effectively non-functional binary, I figured I'd report it against binutils first.
Comment 1 Fabian Groffen gentoo-dev 2020-12-14 20:49:14 UTC
gold is masked on Prefix