From owner-freebsd-java@FreeBSD.ORG Fri Oct 3 07:56:44 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 F113516A4C1 for ; Fri, 3 Oct 2003 07:56:43 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A8A04400E for ; Fri, 3 Oct 2003 07:55:57 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 87817 invoked from network); 3 Oct 2003 14:55:41 -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 14:55:41 -0000 Message-ID: <3F7D8DED.9030105@liwing.de> Date: Fri, 03 Oct 2003 14:55:41 +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: Greg Lewis References: <3F7D52B4.8000306@liwing.de> <20031003144600.GA49318@misty.eyesbeyond.com> In-Reply-To: <20031003144600.GA49318@misty.eyesbeyond.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Alexey Zelkin cc: freebsd-java@freebsd.org Subject: Re: 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 14:56:44 -0000 Greg Lewis wrote: > 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 > rather than do its own endian thing. Maybe it would be a good thing (looking at all new warnings generated by new system compiler in -CURRENT) to use -Wno-error even. > >>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). > I was collecting both described messages, because I assumed there may come up more during build. And than I forgot to send them :-) Of course, I'm sure you work further on it, but I think when I don't have enough time to create patches best I can do is send all errors happens here. Can you estimate a 'release time' for the new patch-level? It sucks a little bit fixing the -current patchset into the jdk-1.4_3p3 port and rename *_g -> \1 each portupgrade :-( Jens