OpenJDK for PowerPC64
Andreas Tobler
andreast-list at fgznet.ch
Fri Oct 30 20:47:23 UTC 2015
On 30.10.15 16:36, Curtis Hamilton wrote:
> Steve,
>
> I'll work on the patch. In the meantime, if you'd like to give them a try,
> I've built OpenJDK7/8 Zero VM for powerpc64. It's available at the below
> URL:
>
> https://drive.google.com/folderview?id=0Bz7VO-WP3rlpM3BabUd6ejlya3c&usp=shar
> ing
Do you need 32-bit powerpc stuff to bootstrap OpenJDK?
If not, you can speed up the gcc build with the attached patch.
It gives you the possibility to choose java for powerpc64 and to
disable/enable multilibs for powerpc64.
I just successfully built the gcc5-devel on my quad, including multilibs)
The other versions are part of my todo, after fixing gcc trunk....
The multilib switch is part of John Merino's work.
I recommend to use a compiler as new as possible, although, not the
6.0-devel since it is broken, at least for me.
You can use USES_GCC = 5.2 in the ports Makefile to say which gcc
compiler you wan to use.
Hth,
Andreas
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile (revision 400554)
+++ Makefile (working copy)
@@ -45,12 +45,23 @@
OPTIONS_DEFINE= BOOTSTRAP
OPTIONS_DEFINE_i386= JAVA
OPTIONS_DEFINE_amd64= JAVA
+OPTIONS_DEFINE_powerpc64= JAVA
OPTIONS_DEFAULT= BOOTSTRAP
OPTIONS_DEFAULT_i386= JAVA
OPTIONS_DEFAULT_amd64= JAVA
+OPTIONS_DEFAULT_powerpc64= JAVA
OPTIONS_EXCLUDE_DragonFly= JAVA
BOOTSTRAP_DESC= Build using a full bootstrap
+.if exists(/usr/lib32/libc.so)
+OPTIONS_DEFINE_powerpc64+= MULTILIB
+OPTIONS_DEFAULT_powerpc64+= MULTILIB
+MULTILIB_CONFIGURE_ENABLE= multilib
+MULTILIB_DESC= Build support for 32-bit and 64-bit targets
+.else
+CONFIGURE_ARGS+= --disable-multilib
+.endif
+
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
More information about the freebsd-ppc
mailing list