Bug 1930527

Summary: Build static libraries with bundled sources [rhel-7]
Product: Red Hat Enterprise Linux 7 Reporter: Andrew John Hughes <ahughes>
Component: java-11-openjdkAssignee: Andrew John Hughes <ahughes>
Status: CLOSED ERRATA QA Contact: OpenJDK QA <java-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.9CC: jandrlik, jreznik, jvanek
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: java-11-openjdk-11.0.11.0.2-0.1.ea.el7_9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-20 22:40:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew John Hughes 2021-02-19 05:11:24 UTC
This bug was initially created as a copy of Bug #1930513

I am copying this bug because: 

Same change needs to be made to RHEL 7.

We link against a number of system libraries (libpng, jpeg, giflib, lcms, harfbuzz) instead of using bundled copies of them in the OpenJDK tree.

This causes problems for the static JDK libraries used by Quarkus/Mandrel, as the static libraries are not self-contained as they would be when using the bundled libraries from the OpenJDK sources.

We've developed a solution for this in Fedora:

https://src.fedoraproject.org/rpms/java-11-openjdk/pull-request/111

where the main OpenJDK build still uses the system libraries and the static libraries use a separate OpenJDK build with the bundled libraries.

We should port this over to RHEL to go out with the next quarterly update in April.

Comment 10 errata-xmlrpc 2021-04-20 22:40:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: java-11-openjdk security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1297