Date: Tue, 25 Nov 2003 18:16:16 +0100 From: Peter Schuller <peter.schuller@infidyne.com> To: Sheldon Hearn <sheldonh@starjuice.net> Cc: freebsd-java@freebsd.org Subject: Re: Compiling a native 1.4 with gcc 3.3 on FreeBSD 5-CURRENT Message-ID: <200311251816.16261.peter.schuller@infidyne.com> In-Reply-To: <20031125134903.GS3597@starjuice.net> References: <200311230237.16103.peter.schuller@infidyne.com> <200311242205.14636.peter.schuller@infidyne.com> <20031125134903.GS3597@starjuice.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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 <peter.schuller@infidyne.com>' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311251816.16261.peter.schuller>