Another jdk build error on -CURRENT

Greg Lewis glewis at eyesbeyond.com
Fri Oct 3 07:46:17 PDT 2003


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 at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org



More information about the freebsd-java mailing list