From owner-freebsd-java@FreeBSD.ORG Fri Oct 3 08:27:13 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 B3C5716A4B3 for ; Fri, 3 Oct 2003 08:27:13 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E56E143FE5 for ; Fri, 3 Oct 2003 08:27:12 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id h93FR2gG017809; Fri, 3 Oct 2003 11:27:02 -0400 (EDT) Date: Fri, 3 Oct 2003 11:27:02 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Greg Lewis In-Reply-To: <20031003144600.GA49318@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Jens Rehsack 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 15:27:13 -0000 On Fri, 3 Oct 2003, 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. > > > 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). ^^^^^ ${PTHREAD_LIBS} -- Dan Eischen