Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 2003 08:46:01 -0600
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Jens Rehsack <rehsack@liwing.de>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Another jdk build error on -CURRENT
Message-ID:  <20031003144600.GA49318@misty.eyesbeyond.com>
In-Reply-To: <3F7D52B4.8000306@liwing.de>
References:  <3F7D52B4.8000306@liwing.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 03, 2003 at 10:43:00AM +0000, Jens Rehsack wrote:
> after I patched out all '-O3' flags as recommented, the build failed
> again at the same place with the same core dump. By the way, the hint
> of Thomas to use the debug versions worked fine. Everytime the build
> stops with core dump, I link the debug executables those ones without
> debug (ln -f $file_g $file).
> 
> Now I'm getting 2 new errors:
> 1) Because of the -Werror in j2se/make/java/nio/Makefile (already
>    in and added by patch for bsd platform), gcc3.3.1 fails because
>    _LITTLE_ENDIAN is already defined. Setting both occurances to
>    -Wno-error solved that.

I have patches for this one.  It switches the JDK to use <sys/endian.h>
rather than do its own endian thing.

> 2) In the makefiles is the threading linkage different between
>    -STABLE and -CURRENT, j2se/ext/plugin/build/solaris/GNUmakefile
>    seems to does not. The following error results:

I'll look into this.  All we need to do is check the version and use
-lc_r instead (or at least thats what bsd.port.mk does).

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



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