Integrated: 8262501: jdk17 libjvm link failure with --as-needed and clock_gettime in librt

David Holmes dholmes at openjdk.java.net
Thu Apr 15 13:02:36 UTC 2021


On Wed, 14 Apr 2021 23:32:32 GMT, David Holmes <dholmes at openjdk.org> wrote:

> The fix for JDK-8246112 put the -lrt link flag in the wrong place, causing it to appear too early in the linker command-line. This changes puts it in the right place.
> 
> Contributed by: Matthias Klose  (~doko)
> 
> Testing: 
>    - local testing by Matthias
>    - tiers 1-3
>    - GHA builds

This pull request has now been integrated.

Changeset: 81877f7d
Author:    David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/81877f7d
Stats:     17 lines in 2 files changed: 9 ins; 7 del; 1 mod

8262501: jdk17 libjvm link failure with --as-needed and clock_gettime in librt

Co-authored-by: Matthias Klose <doko at openjdk.org>
Reviewed-by: erikj

-------------

PR: https://git.openjdk.java.net/jdk/pull/3503



More information about the build-dev mailing list