Created attachment 210526 [details] patch Because of issue with macros in precompiled.hpp, --disable-precompiled-headers is necessary. Since openjdk compiles for elfv1 by default on big-endian ppc64, use a patch to compile for elfv2.
Created attachment 210530 [details] v2 Assume elfv1 -> gcc, elfv2 -> clang.
I have similar questions as for the openjdk11 patches
(In reply to Greg Lewis from comment #2) May I assume this is ok as well?
Yes, please go ahead here too
A commit references this bug: Author: pkubaj Date: Thu Jan 16 09:29:00 UTC 2020 New revision: 523218 URL: https://svnweb.freebsd.org/changeset/ports/523218 Log: java/openjdk12: fix compilation for powerpc64 elfv2 Because of issue with macros in precompiled.hpp, --disable-precompiled-headers is necessary. Since openjdk compiles for elfv1 by default on big-endian ppc64, use a patch to compile for elfv2. PR: 243183 Approved by: glewis (maintainer) Changes: head/java/openjdk12/Makefile head/java/openjdk12/files/patch-make_autoconf_flags-cflags.m4
A commit references this bug: Author: pkubaj Date: Thu Jan 16 13:52:17 UTC 2020 New revision: 523231 URL: https://svnweb.freebsd.org/changeset/ports/523231 Log: java/openjdk11: correctly patch openejdk11 for ppc64 elfv2 The previous patch didn't check for architecture. PR: 243183 Changes: head/java/openjdk11/Makefile head/java/openjdk11/files/patch-make_autoconf_flags-cflags.m4
A commit references this bug: Author: pkubaj Date: Thu Jan 16 13:59:09 UTC 2020 New revision: 523232 URL: https://svnweb.freebsd.org/changeset/ports/523232 Log: java/openjdk12: correctly patch openjdk12 for ppc64 elfv2 The previous patch didn't check for architecture. PR: 243183 Changes: head/java/openjdk12/Makefile head/java/openjdk12/files/patch-make_autoconf_flags-cflags.m4