JDK 1.6.0 patchset 1 "Brumby"

Jung-uk Kim jkim at FreeBSD.org
Thu Aug 9 23:23:43 UTC 2007


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


More information about the freebsd-java mailing list