OpenJDK for PowerPC64
Curtis Hamilton
hamiltcl at verizon.net
Tue Nov 3 01:13:10 UTC 2015
I forgot to mentioned this in my notes. GCJ is equivalent to JDK5 (java
1.5), however both JDK6 and JDK7 are hard coded to require 1.6 . You'll
need to make the following edits:
OPENJDK6: jdk/make/common/shared/Platform.gmk (line 91)
OpenJDK7: jdk/make/common/shared/Defs-versions.gmk (line 222)
Just change the version from 1.6 to 1.5.
-Curtis
-----Original Message-----
From: Andreas Tobler [mailto:andreast-list at fgznet.ch]
Sent: Monday, November 02, 2015 5:03 PM
To: Curtis Hamilton <hamiltcl at verizon.net>; 'Steve Wills'
<swills at freebsd.org>; 'Justin Hibbits' <jrh29 at alumni.cwru.edu>
Cc: 'FreeBSD PowerPC ML' <freebsd-ppc at freebsd.org>
Subject: Re: OpenJDK for PowerPC64
On 02.11.15 16:25, Curtis Hamilton wrote:
> Attached are the instructions for setting up a bootstrap for building
> OpenJDK on FreeBSD. In an earlier email I provided the build script
> used to build the BSD-Port mercurial, using the bootstrap setup in the
instructions.
>
>
> Let me know if you have questions.
Thanks!
I missed the step to build classpath, what a nice project at that time ;)
But next, what do I have to build?
How is the sequence to 'bootstrap' openjdk? I'm a newbie in this regard.
I get this when I do a make in java/openjdk7 (with patched Makefile from a
previous post)
ERROR: Your BOOTDIR environment variable does not point \n to a
valid JDK for bootstrapping this build. \n A JDK 7 build must be
bootstrapped using \n JDK 1.6. fcs (or later). \n
Apparently, your bootstrap JDK is version 1.5.0 \n Please update
your ALT_BOOTDIR setting and start your build again. \n
This is with openjdk7. The same happens with openjdk6.
my compiler chain is gcc-6.0.
I think a few things are missing here.
Andreas
More information about the freebsd-ppc
mailing list