Date: Fri, 03 Oct 2003 10:43:00 +0000 From: Jens Rehsack <rehsack@liwing.de> To: Alexey Zelkin <phantom@FreeBSD.org.ua> Cc: freebsd-java@freebsd.org Subject: Another jdk build error on -CURRENT Message-ID: <3F7D52B4.8000306@liwing.de>
next in thread | raw e-mail | index | archive | help
Hi Alexey, 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. 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: gmake[2]: Entering directory `/usr/ports/java/jdk14/work/j2se/ext/plugin/build/solaris' gcc -Wall -o /usr/ports/java/jdk14/work/control/build/bsd-i586/bin/java_vm /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/plugin/java_vm/java_vm.o -L/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386 -L/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/classic -L/usr/X11R6/lib \ -pthread gcc: The -pthread option is deprecated. gmake[2]: *** [/usr/ports/java/jdk14/work/control/build/bsd-i586/bin/java_vm] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/ext/plugin/build/solaris' gmake[1]: *** [plugin-all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F7D52B4.8000306>