Closed annulen closed 5 months ago
I cannot reproduce it on 33.1.1
despite having both ld.gold
installed and using a amd64/23.0/split-usr/hardened
profile.
Without the patch I'm getting following error in build.log:
DEBUG: /var/tmp/portage/www-client/palemoon-33.1.1/work/palemoon-33.1.1/o/build/unix/gold/ld: pack-relative-relocs: unknown -z option
Turns out i don't have ld.gold installed, just a stale symlink. Will apply the patch shortly, thanks.
After switching to profile
amd64/23.0
I've discovered that palemoon failed to rebuild. It turned out that Palemoon usesld.gold
for linking by default if it's found in the system (which is true in my case), and new23.0
profile now has-Wl,-z,pack-relative-relocs
inLDFLAGS
, which is not supported byld.gold
. It seems to me that disabling gold would be the right thing to do, as it can only lead to slightly larger linking times which is not crucial here.