Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Nov 2015 14:35:13 -0500
From:      "Curtis Hamilton" <hamiltcl@verizon.net>
To:        "'Andreas Tobler'" <andreast-list@fgznet.ch>, "'Steve Wills'" <swills@freebsd.org>, "'Justin Hibbits'" <jrh29@alumni.cwru.edu>
Cc:        "'FreeBSD PowerPC ML'" <freebsd-ppc@freebsd.org>
Subject:   RE: OpenJDK for PowerPC64
Message-ID:  <006a01d11b25$c18f9f10$44aedd30$@verizon.net>
References:  <002a01d11001$a4b126e0$ee1374a0$@verizon.net> <CAHSQbTAurUob%2B5ypH%2BG5_2V8dh-iGWpxobGe-EzPHBXF-ptDfg@mail.gmail.com> <003701d1102a$ee366c70$caa34550$@verizon.net> <CAHSQbTCD2QmTd865QfSV-Guuf3y7gA=euEDriM%2Bc1Pzfw7L--Q@mail.gmail.com> <00f701d1129c$b82b0400$28810c00$@verizon.net> <563370BF.8010602@FreeBSD.org> <012c01d11328$caef1220$60cd3660$@verizon.net> <5633D743.9070002@fgznet.ch> <5633E35A.50402@fgznet.ch> <5635458E.2070700@fgznet.ch> <018b01d11582$a7300950$f5901bf0$@verizon.net> <5637DD7D.5060106@fgznet.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
Andreas,

Just checking to see how things progressing for you.

-Curtis

-----Original Message-----
From: Curtis Hamilton [mailto:hamiltcl@verizon.net] 
Sent: Monday, November 02, 2015 8:13 PM
To: 'Andreas Tobler' <andreast-list@fgznet.ch>; 'Steve Wills'
<swills@freebsd.org>; 'Justin Hibbits' <jrh29@alumni.cwru.edu>
Cc: 'FreeBSD PowerPC ML' <freebsd-ppc@freebsd.org>
Subject: RE: OpenJDK for PowerPC64

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@fgznet.ch]
Sent: Monday, November 02, 2015 5:03 PM
To: Curtis Hamilton <hamiltcl@verizon.net>; 'Steve Wills'
<swills@freebsd.org>; 'Justin Hibbits' <jrh29@alumni.cwru.edu>
Cc: 'FreeBSD PowerPC ML' <freebsd-ppc@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006a01d11b25$c18f9f10$44aedd30$>