OpenJDK for PowerPC64

Curtis Hamilton hamiltcl at verizon.net
Mon Oct 26 20:14:59 UTC 2015


I don't have a wiki page.  My initial success was in building the mercurial
OpenJDK7 BSD-Port, using the attached build script and instructions obtained
from the OpenJDK Wiki Darwin9Build
(https://wiki.openjdk.java.net/display/BSDPort/Darwin9Build) section.
Subsequently, I used information from the arm patch to modify the ports
Makefile and build the ports distribution.  Other than what's in the make
file patch, no other patches were needed, as I used the mercurial build as
the bootstrap.

The key for non-x86 builds is the bootstrap.  I used the GCC java tools and
created a bootstrap (/usr/local/bootstrap-openjdk) using sym links to the
GCC java executables in /usr/local/bin.   I can provide more details if
needed, however, building GCC java was not as straight forward as it is not
a configurable option for non-x86 GCC builds.  I had to modify the port
Makefile.

Regards,

Curtis


-----Original Message-----
From: chmeeedalf at gmail.com [mailto:chmeeedalf at gmail.com] On Behalf Of Justin
Hibbits
Sent: Monday, October 26, 2015 3:26 PM
To: Curtis Hamilton <hamiltcl at verizon.net>
Cc: FreeBSD PowerPC ML <freebsd-ppc at freebsd.org>
Subject: Re: OpenJDK for PowerPC64

On Mon, Oct 26, 2015 at 10:19 AM, Curtis Hamilton <hamiltcl at verizon.net>
wrote:
> Here is my contribution to all those interested in keeping the PowerPC 
> relevant.  I've been successful in building OpenJDK7 using Zero VM for 
> PPC64.  The binaries for openjdk7 for powerpc64 can be found at the 
> below
> URL:
>
> https://drive.google.com/folderview?id=0Bz7VO-WP3rlpM3BabUd6ejlya3c&us
> p=shar
> ing
>
> Give them a try and provide any feedback to the list.
>
> Enjoy!
>
> BTW: OpenJDK8 may soon be on the way!

That's fantastic!  I'll try this soon on my G5.  Do you have any wiki page
with build steps, or even better a port change to add this to ports?

- Justin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openjdk7_non-x86.patch
Type: application/octet-stream
Size: 3898 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20151026/dfc597ac/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_script.sh
Type: application/octet-stream
Size: 762 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20151026/dfc597ac/attachment-0001.obj>


More information about the freebsd-ppc mailing list