From owner-freebsd-java@FreeBSD.ORG Tue Nov 25 09:11:27 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 8253616A4CE for ; Tue, 25 Nov 2003 09:11:27 -0800 (PST) Received: from scode.mine.nu (c-e7de71d5.05-152-7570701.cust.bredbandsbolaget.se [213.113.222.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 118AC43F93 for ; Tue, 25 Nov 2003 09:11:26 -0800 (PST) (envelope-from peter.schuller@infidyne.com) Received: from localhost (localhost [127.0.0.1]) by scode.mine.nu (Postfix) with ESMTP id A9A4755F3A; Tue, 25 Nov 2003 18:16:16 +0100 (CET) From: Peter Schuller To: Sheldon Hearn Date: Tue, 25 Nov 2003 18:16:16 +0100 User-Agent: KMail/1.5.4 References: <200311230237.16103.peter.schuller@infidyne.com> <200311242205.14636.peter.schuller@infidyne.com> <20031125134903.GS3597@starjuice.net> In-Reply-To: <20031125134903.GS3597@starjuice.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311251816.16261.peter.schuller@infidyne.com> cc: freebsd-java@freebsd.org Subject: Re: Compiling a native 1.4 with gcc 3.3 on FreeBSD 5-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: Tue, 25 Nov 2003 17:11:27 -0000 > > Yes - still having the same problem. > > I've just tested with -CURRENT as at 2003-11-18, and the jdk-1.4.2p5 > build completed without problems. > > I already had a native jdk14 with which to bootstrap. Perhaps you're > using the linux-sun-jdk14 package for your build? I have blackdown 1.4.1 and sun 1.4.2 installed. I have not modified anything so it should be using the sun one by default if I'm not reading the Makefile incorrectly. (On 4.9 the sun jdks wouldn't run for me though so I had to fiddle a bit and bootstrap with blackdown 1.4.1, which ended up working fine.) But no, I don't have a previous version of the native JDK. This is the first time I have gotten around to trying to build the native version. Previously I have been too lazy to deal with the SCSL download procedure :) > If not, then it may be a difference in -CURRENT. I haven't upgraded > to 5.2-BETA because that's horribly unstable on several fronts at the > moment. Once it's stabilized, I'll try the build again and let you know > if I encounter the same problem. Okay. FYI, /usr/lib/libstdc++ definitely contains the __gxx_personality_v0 symbol on my machine (strings output), but the Linux compatibility libstdc++ libraries don't. Could it be that somehow the linker is finding the Linux compatibility library instead of the native one? Perhaps that's completely out of the question; I don't know enough about this to judge. The compiler invokation that fails is this (line breaks added for E-Mail formatting): /usr/bin/gcc -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun.tools.unpack/obj/unpack /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun.tools.unpack/obj/bytes.o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun.tools.unpack/obj/bands.o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun.tools.unpack/obj/coding.o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun.tools.unpack/obj/unpack.o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun.tools.unpack/obj/utils.o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun.tools.unpack/obj/zip.o -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org