From owner-freebsd-java@FreeBSD.ORG Thu Aug 9 23:23:43 2007 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 56EA916A418 for ; Thu, 9 Aug 2007 23:23:43 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 19EA513C467 for ; Thu, 9 Aug 2007 23:23:42 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l79NNgZI082748; Thu, 9 Aug 2007 19:23:42 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@FreeBSD.org Date: Thu, 9 Aug 2007 19:23:37 -0400 User-Agent: KMail/1.6.2 References: <20070803053142.GA4434@misty.eyesbeyond.com> <200708091645.05680.jkim@FreeBSD.org> <46BB9860.4050105@gmail.com> In-Reply-To: <46BB9860.4050105@gmail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200708091923.39715.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.90.2/3908/Thu Aug 9 17:32:41 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Rene Ladan Subject: Re: JDK 1.6.0 patchset 1 "Brumby" 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: Thu, 09 Aug 2007 23:23:43 -0000 On Thursday 09 August 2007 06:42 pm, Rene Ladan wrote: > Jung-uk Kim schreef: > > On Sunday 05 August 2007 11:34 am, Rene Ladan wrote: > >> I tried installing this on my i386 FreeBSD-CURRENT SMP box > >> (2007-08-04 06:32 UTC) using diablo-jdk15 as bootstrap. The > >> build first failed because of GCC 4.2 warnings-as-errors about > >> deprecated string conversions. After commenting out a -Werror > >> in > >> work/hotspot/build/bsd/makefiles/gcc.make , the > >> hotspot-fastdebug server built fine, but it failed in > >> test_gamma. I've attached the hs_err log. > > > > The attached patch should fix the build problem on -CURRENT. > > Got it. > > > Your error log shows that you set JAVA_HOME wrong: > > > > Environment Variables: > > JAVA_HOME=/usr/local/diablo-jdk1.5.0 > > Building with diablo-jdk15 is supported? I believe it is (see below). > After moving the patch to files/ and removing work/ , rebuilding > the port now lets the gamma tests succeed. But now it fails with > an AssertionError when zipping up rt.jar. The build log including > some additional information is available at > http://home.tiscali.nl/rladan/freebsd/AssertionError.bz2 (35kB). I heard that there are some subtle issues with i386 + SMP + compat6x pthread + CURRENT + diablo combination. :-( Some lucky people have done it by turning off SMP and/or by trying several times. I am sorry it is so painful to build JDK on certain configurations like yours but I had no time to track it down. Jung-uk Kim