Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P4
-
Resolution: Fixed
-
Affects Version/s: openjdk8u242
-
Fix Version/s: openjdk8u342
-
Component/s: infrastructure
-
Labels:
-
Introduced In Build:b01
-
Introduced In Version:
-
Resolved In Build:b01
-
CPU:generic
-
OS:generic
Description
Major versions of GCC often cause problems with OpenJDK. Fedora's eager adoption of them means we often encounter these early. JDK-8282231 is just the latest example from the introduction of GCC 12.
However, the GHA workflow in OpenJDK doesn't just depend on a major version of GCC - which is actually contained in the Ubuntu package name of gcc-9 itself - but the full revision number, even down to local packaging changes.
I believe this is overkill and leads to valuable time being wasted on issues likeJDK-8283778 where the GCC version itself didn't change at all, just the Ubuntu version suffix.
Rather than maintain this for 8u, I suggest we just depend on gcc-9 which is already a pretty modern version for 8u. I have yet to see an issue be specific to a minor GCC version bump, whereas the current setup is pretty much guaranteed to mean further fixes to the GitHub workflow every time the Ubuntu packager produces a new build.
However, the GHA workflow in OpenJDK doesn't just depend on a major version of GCC - which is actually contained in the Ubuntu package name of gcc-9 itself - but the full revision number, even down to local packaging changes.
I believe this is overkill and leads to valuable time being wasted on issues like
Rather than maintain this for 8u, I suggest we just depend on gcc-9 which is already a pretty modern version for 8u. I have yet to see an issue be specific to a minor GCC version bump, whereas the current setup is pretty much guaranteed to mean further fixes to the GitHub workflow every time the Ubuntu packager produces a new build.
Attachments
Issue Links
- relates to
-
JDK-8269148 Update minor GCC version in GitHub Actions pipeline
-
- Resolved
-
-
JDK-8283778 11u GHA: Fix GCC 9 ubuntu package names
-
- Resolved
-
- links to
-
Commit openjdk/jdk8u-dev/62defc3d
-
Commit openjdk/shenandoah-jdk8u/6305c6ff
-
Review openjdk/jdk8u-dev/35
-
Review openjdk/shenandoah-jdk8u/3
(1 links to)