-fcommon compatibility has been fixed in all supported versions for almost 2 years now.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=250d2f45f958ccb2a4e3c437d396b88f5d3bd59e commit 250d2f45f958ccb2a4e3c437d396b88f5d3bd59e Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-06 12:36:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-06 12:42:18 +0000 dev-java/openjdk: add 8.402_p06 * Fix various modern C issues - all by backporting parts of later JDK 11/17/21 patches. * cgroup2 issues: Assuming bug #926247 affects the source build too, but not verified, so tagging that. * Drop stale -fcommon workaround (bug #850505). * Build with -std=gnu++14 because of -Wregister for Clang 17+ compat (bug #918655). (Part of the build uses -std=gnu++98 but not all of it.) Bug: https://bugs.gentoo.org/926247 Closes: https://bugs.gentoo.org/850505 Closes: https://bugs.gentoo.org/874621 Closes: https://bugs.gentoo.org/918655 Signed-off-by: Sam James <sam@gentoo.org> dev-java/openjdk/Manifest | 1 + ...penjdk-8.402_p06-0001-Fix-Wint-conversion.patch | 41 ++++ ..._p06-0002-Fix-Wincompatible-pointer-types.patch | 48 ++++ ...02_p06-0003-Fix-negative-value-left-shift.patch | 38 ++++ ...openjdk-8.402_p06-0004-Fix-misc.-warnings.patch | 61 ++++++ dev-java/openjdk/openjdk-8.402_p06.ebuild | 244 +++++++++++++++++++++ 6 files changed, 433 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce968926664e4165067fc43a445e8a68f770b9e2 commit ce968926664e4165067fc43a445e8a68f770b9e2 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-06 15:43:11 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-06 15:45:01 +0000 dev-java/openjdk: add 11.0.22_p7 Bug: https://bugs.gentoo.org/850505 Signed-off-by: Sam James <sam@gentoo.org> dev-java/openjdk/Manifest | 1 + dev-java/openjdk/openjdk-11.0.22_p7.ebuild | 312 +++++++++++++++++++++++++++++ 2 files changed, 313 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e05353c8461e89a610e17c3034cc16c44ffec74b commit e05353c8461e89a610e17c3034cc16c44ffec74b Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-06 16:00:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-06 16:02:22 +0000 dev-java/openjdk: add 17.0.10_p7 Bug: https://bugs.gentoo.org/850505 Signed-off-by: Sam James <sam@gentoo.org> dev-java/openjdk/Manifest | 1 + dev-java/openjdk/openjdk-17.0.10_p7.ebuild | 327 +++++++++++++++++++++++++++++ 2 files changed, 328 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf691ec652c1f946e9dd7140319539e64d3b58b4 commit bf691ec652c1f946e9dd7140319539e64d3b58b4 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-06 16:21:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-06 16:21:33 +0000 dev-java/openjdk: add 21.0.2_p13 Bug: https://bugs.gentoo.org/850505 Signed-off-by: Sam James <sam@gentoo.org> dev-java/openjdk/Manifest | 1 + dev-java/openjdk/openjdk-21.0.2_p13.ebuild | 320 +++++++++++++++++++++++++++++ 2 files changed, 321 insertions(+)