Summary: | dev-java/openjdk-8.345_p01 - /.../LinuxNativeDispatcher.c: error: implicit declaration of function free [-Werror=implicit-function | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | java |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
emerge-info.txt
dev-java:openjdk-8.345_p01:20221003-094424.log.bz2 emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
2022-10-03 10:29:16 UTC
Created attachment 817549 [details]
emerge-info.txt
Created attachment 817552 [details]
dev-java:openjdk-8.345_p01:20221003-094424.log.bz2
Created attachment 817555 [details]
emerge-history.txt
Created attachment 817558 [details]
environment
Created attachment 817561 [details]
etc.portage.tar.bz2
Created attachment 817564 [details]
logs.tar.bz2
Created attachment 817567 [details]
temp.tar.bz2
There seems to be some confusion for this one. - the buid uses gcc, not clang - JDK-8 does not really build with clang on Linux due broken toolchain configuration; clang support in JDK-8 is meant for OSX. This was fixed in later JDKs: JDK-18 built & ran fine when I built it with clang a few months ago. - JDK-8 itself is full of undefined behaviour and other problems which will make clang trip over or lead to segfaults in hotspot. *** Bug 882239 has been marked as a duplicate of this bug. *** 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(+) |