[Bug 237208] java/openjdk11: port to powerpc64

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237208

--- Comment #57 from [email protected] ---
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.