RFR: JDK-8217723 Switch ld from bfd to gold on gcc toolchain

Andrew Haley aph at redhat.com
Fri Jan 25 17:14:21 UTC 2019


On 1/25/19 4:45 PM, Magnus Ihse Bursie wrote:
> On 2019-01-25 16:42, Andrew Haley wrote:
>> On 1/24/19 2:04 PM, Magnus Ihse Bursie wrote:
>>> But I'm leaning more towards just enabling gold on x86_64 -- for other
>>> platforms, we might as well keep the good ol' bfd linker. Does that
>>> sound like a good solution to you?
>> I'd love it to be an option for AArch64.
>>
> I hear you.
> 
> My current thinking is that I'm going to introduce a configure argument, 
> something like --with-toolchain-linker=gold, and if it is enabled, I'll 
> verify that gold is indeed present, and if it supports --threads. It 
> will be available on all gcc platforms.
> 
> This will take some more time to write than my initial one-liner, so 
> I'll take this back to the drawing board for awhile.

Thank you.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the build-dev mailing list