Created attachment 210528 [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 210531 [details] v2 Assume elfv1 -> gcc, elfv2 -> clang.
May I assume this is ok as well?
A commit references this bug: Author: pkubaj Date: Fri Feb 7 09:00:36 UTC 2020 New revision: 525470 URL: https://svnweb.freebsd.org/changeset/ports/525470 Log: java/openjdk13: 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: 243186 Approved by: java (maintainer timeout) Changes: head/java/openjdk13/Makefile head/java/openjdk13/files/patch-make_autoconf_flags-cflags.m4