Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2007 19:23:37 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-java@FreeBSD.org
Cc:        Rene Ladan <r.c.ladan@gmail.com>
Subject:   Re: JDK 1.6.0 patchset 1 "Brumby"
Message-ID:  <200708091923.39715.jkim@FreeBSD.org>
In-Reply-To: <46BB9860.4050105@gmail.com>
References:  <20070803053142.GA4434@misty.eyesbeyond.com> <200708091645.05680.jkim@FreeBSD.org> <46BB9860.4050105@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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