From owner-freebsd-java@FreeBSD.ORG Tue Jun 9 09:29:26 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF6F11065670; Tue, 9 Jun 2009 09:29:26 +0000 (UTC) (envelope-from benno@NLnetLabs.nl) Received: from open.nlnetlabs.nl (open.nlnetlabs.nl [IPv6:2001:7b8:206:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 1F7ED8FC0C; Tue, 9 Jun 2009 09:29:25 +0000 (UTC) (envelope-from benno@NLnetLabs.nl) Received: from tinkerbell.nlnetlabs.nl (tinkerbell.nlnetlabs.nl [213.154.224.13]) (authenticated bits=0) by open.nlnetlabs.nl (8.14.3/8.14.3) with ESMTP id n599TFHY077691 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Jun 2009 11:29:16 +0200 (CEST) (envelope-from benno@NLnetLabs.nl) Message-ID: <4A2E2B6B.3030901@NLnetLabs.nl> Date: Tue, 09 Jun 2009 11:29:15 +0200 From: Benno Overeinder User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Jonathan Chen References: <20090510210726.C9DE52840C@chen.org.nz> In-Reply-To: <20090510210726.C9DE52840C@chen.org.nz> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (open.nlnetlabs.nl [213.154.224.1]); Tue, 09 Jun 2009 11:29:17 +0200 (CEST) X-Spam-Status: No, score=-102.6 required=5.0 tests=AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on open.nlnetlabs.nl 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 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2009 09:29:27 -0000 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/