gold linker issues / devkit ?
erik.joelsson at oracle.com
erik.joelsson at oracle.com
Wed Aug 24 14:01:05 UTC 2022
On 8/24/22 3:29 AM, Baesken, Matthias wrote:
>
> After switching the OpenJDK build to a Fedora devkit (from
> non-devkit Ubuntu based build) , we were running into issues
> described here :
>
> https://github.com/SAP/SapMachine/issues/1227
>
> and here :
>
> https://github.com/eclipse-platform/eclipse.platform.swt/issues/321
>
> When using the gold linker settings from devkit , the dependency on
> the obsolete SUNWprivate_1.1 reference caused trouble .
>
> Are there any plans to make this :
>
> See
> https://github.com/openjdk/jdk/blob/master/make/devkit/Tools.gmk#L433
> <https://github.com/openjdk/jdk/blob/master/make/devkit/Tools.gmk#L433>
> --enable-gold=default \
>
> Configurable ?
>
If you want to submit a patch for this, I wouldn't object.
>
> What was the reason to use the gold linker in the devkits , maybe
> better performance ? Are there some build time numbers on this ?
>
The switch to gold was indeed done for build performance. I don't have
any numbers around, but it was pretty considerable for Hotspot
incremental builds. There should be examples in the mail archives for
this list.
We have not seen any problems related to this switch at Oracle and we
have been running with it for many years now.
/Erik
> Best regards, Matthias
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20220824/8d1cdb01/attachment.htm>
More information about the build-dev
mailing list