RFR: JDK-8217723 Switch ld from bfd to gold on gcc toolchain
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Fri Jan 25 16:45:56 UTC 2019
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.
/Magnus
More information about the build-dev
mailing list