Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2009 11:29:15 +0200
From:      Benno Overeinder <benno@NLnetLabs.nl>
To:        Jonathan Chen <jonc@chen.org.nz>
Cc:        FreeBSD-gnats-submit@freebsd.org, brian@experts-exchange.com, freebsd-java@freebsd.org
Subject:   Re: allow java/openjdk6 port to use itself or jdk16 as bootstrap jdks
Message-ID:  <4A2E2B6B.3030901@NLnetLabs.nl>
In-Reply-To: <20090510210726.C9DE52840C@chen.org.nz>
References:  <20090510210726.C9DE52840C@chen.org.nz>

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

On 5/10/09 11:07 PM, Jonathan Chen wrote:
> Currently, the java/openjdk6 port will only use diablo-jdk1.6.0
> to boostrap itself. This patch will allow it to use a currently
> installed java/openjdk6 port or a java/jdk16 port as bootstrap
> jdks in preference to diablo-jdk.
> 
> The patch is liberally adapted from the java/jdk16 Makefile.

Unfortunately, this doesn't work on our FreeBSD 7.0-RELEASE system (I
haven't checked this with a FreeBSD 7.2-RELEASE install yet).

The first compile/bootstrap of openjdk6 using the Diablo javac compiler
is fine.  Afterwards, I wanted to reinstall with other options, that is,
with and without IPv6 for testing purposes.  This failed (repetitively,
also after make clean) when the OpenJDK javac compiler was put to use, e.g.

# Running javac:
/usr/local/diablo-jdk1.6.0/bin/java -client -Xmx896m -Xms128m
-XX:PermSize=32m -XX:MaxPermSize=160m
-Xbootclasspath/p:/usr/ports/java/openjdk6/work/build/bsd-i586/langtools/dist/bootstrap/lib/javac.jar
...

When I remove the /usr/local/openjdk6 directory, the openjdk6 port
reinstalls without any problems, but using the Diablo javac compiler though.

I can post the compile errors if someone wants to dive into this to
figure out what is going wrong.

Best,

-- Benno Overeinder

-- 
Benno J. Overeinder
NLnet Labs
http://www.nlnetlabs.nl/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A2E2B6B.3030901>