Date: Sun, 11 Oct 2020 10:57:41 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 250270] java/openjdk12 java/openjdk13 java/openjdk14 java/openjdk15: Fix build with clang 11 Message-ID: <bug-250270-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250270 Bug ID: 250270 Summary: java/openjdk12 java/openjdk13 java/openjdk14 java/openjdk15: Fix build with clang 11 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: java@FreeBSD.org Flags: maintainer-feedback?(java@FreeBSD.org) Created attachment 218660 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D218660&action= =3Dedit Fix java/openjdk12 build with clang 11 As reported on the freebsd-ports mailing list, java/openjdk1[2-5] do not bu= ild with clang 11, which is in 13-CURRENT. For openjdk 12 through 14, this is due to duplicated symbols, and because c= lang 11 (like gcc 10) defaults to -fno-common now. For openjdk 12 through 15, there is also a problem in the return type of the awt wrapper for the Xlib XSynchronize(3) function: since this returns a pointer, the return type should be a jlong, not a jint. In this bug I will post patches for each of these openjdk versions. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250270-7788>