Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2019 14:22:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 237208] java/openjdk11: port to powerpc64
Message-ID:  <bug-237208-8522-C5yrz4MVMu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237208-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237208-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237208

--- Comment #57 from mikael.urankar@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" =3D 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=3D"${$1_CFLAGS_CPU_JVM} -mminimal-toc -mcpu=3Dpo=
werpc64
-mtune=3Dpower5"
+        $1_CFLAGS_CPU_JVM=3D"${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=3Dpowe=
rpc64
-mtune=3Dpower5"
       elif test "x$FLAGS_CPU" =3D 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-powerpc=
64-11.0.2.9.2_elfv2.tar.xz

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237208-8522-C5yrz4MVMu>