[Bug 250270] java/openjdk12 java/openjdk13 java/openjdk14 java/openjdk15: Fix build with clang 11
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Oct 11 10:57:42 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250270
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 at FreeBSD.org
Reporter: dim at FreeBSD.org
Assignee: java at FreeBSD.org
Flags: maintainer-feedback?(java at FreeBSD.org)
Created attachment 218660
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=218660&action=edit
Fix java/openjdk12 build with clang 11
As reported on the freebsd-ports mailing list, java/openjdk1[2-5] do not build
with clang 11, which is in 13-CURRENT.
For openjdk 12 through 14, this is due to duplicated symbols, and because clang
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list