Created attachment 210541 [details]
ld.gold now works fine on powerpc64.
Created attachment 210542 [details]
Don't add -Wno-c++11-narrowing on powerpc64 elfv1.
Created attachment 210543 [details]
gold has issues with elfv1. Use it only on elfv2.
Created attachment 210544 [details]
Enable gold also on powerpc, seems to work. Base GCC can't build it so make it clang-only.
A commit references this bug:
Date: Wed Jan 22 20:27:00 UTC 2020
New revision: 523841
devel/binutils: enable gold on powerpc64 and powerpc
ld.gold now works fine on powerpc64, but only when compiled with clang.
Approved by: bapt (maintainer timeout)
CC'ing jhibbits for testing powerpcspe.
Committed Wed Jan 22 20:27:00 UTC 2020 as r523841.