From owner-freebsd-java@FreeBSD.ORG Fri Oct 3 03:43:03 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AA9416A4B3 for ; Fri, 3 Oct 2003 03:43:03 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D171843F93 for ; Fri, 3 Oct 2003 03:43:01 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 39309 invoked from network); 3 Oct 2003 10:43:00 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 3 Oct 2003 10:43:00 -0000 Message-ID: <3F7D52B4.8000306@liwing.de> Date: Fri, 03 Oct 2003 10:43:00 +0000 From: Jens Rehsack User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030928 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Alexey Zelkin Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: glewis@freebsd.org cc: freebsd-java@freebsd.org Subject: Another jdk build error on -CURRENT X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 10:43:03 -0000 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