[Bug 237208] java/openjdk11: port to powerpc64
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jun 28 14:22:10 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237208
--- Comment #57 from mikael.urankar at gmail.com ---
bootstrap for ELFv2, built with gcc8 and this patch:
--- make/autoconf/flags-cflags.m4.orig 2019-06-27 11:02:48.894038000 +0200
+++ make/autoconf/flags-cflags.m4 2019-06-27 11:03:12.271242000 +0200
@@ -744,7 +744,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
if test "x$FLAGS_CPU" = xppc64; then
# -mminimal-toc fixes `relocation truncated to fit' error for gcc 4.1.
# Use ppc64 instructions, but schedule for power5
- $1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -mminimal-toc -mcpu=powerpc64
-mtune=power5"
+ $1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=powerpc64
-mtune=power5"
elif test "x$FLAGS_CPU" = xppc64le; then
# Little endian machine uses ELFv2 ABI.
# Use Power8, this is the first CPU to support PPC64 LE with ELFv2
ABI.
http://mikael.urankar.free.fr/FreeBSD/powerpc64/bootstrap-openjdk11-powerpc64-11.0.2.9.2_elfv2.tar.xz
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ppc
mailing list