Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0'
I just installed recent CURRENT, and the problem is gone ! It only exists now in the ports version, and it happens both on STABLE and CURRENT: GCC3.1 port on STABLE, fresh install bash-2.05a# /usr/local/bin/g++31 -v -o conftest -O -pipe -L/usr/X11R6/lib conftest.C -lX11 Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd4.5/3.1.1/specs Configured with: ./..//gcc-20020521/configure --disable-nls --with-gnu-as --with-gnu-ld --with-gxx-include-dir=/usr/local/lib/gcc-lib/i386-portbld-freebsd4.5/3.1/include/g++ --disable-libgcj --disable-shared --prefix=/usr/local i386-portbld-freebsd4.5 Thread model: posix gcc version 3.1.1 20020521 (prerelease) [FreeBSD] /usr/local/lib/gcc-lib/i386-portbld-freebsd4.5/3.1.1/cc1plus -v -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=1 -D__FreeBSD__=4 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -D__FreeBSD__=4 -D__unix__ -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -D__unix -Asystem=unix -Asystem=bsd -Asystem=FreeBSD -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i386__ -D__ELF__ conftest.C -D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -dumpbase conftest.C -O -version -o - | as -v -o /var/tmp//ccLulSZf.o GNU CPP version 3.1.1 20020521 (prerelease) [FreeBSD] (cpplib)GNU assembler version 2.11.2 20010719 [FreeBSD] (i386-unknown-freebsd4) using BFD version 2.11.2 20010719 [FreeBSD] (i386 FreeBSD/ELF) GNU C++ version 3.1.1 20020521 (prerelease) [FreeBSD] (i386-portbld-freebsd4.5) compiled by GNU C version 3.1.1 20020521 (prerelease) [FreeBSD]. #include "..." search starts here: #include <...> search starts here: /usr/local/lib/gcc-lib/i386-portbld-freebsd4.5/3.1/include/g++ /usr/local/lib/gcc-lib/i386-portbld-freebsd4.5/3.1/include/g++/i386-portbld-freebsd4.5 /usr/local/lib/gcc-lib/i386-portbld-freebsd4.5/3.1/include/g++/backward /usr/local/include /usr/local/lib/gcc-lib/i386-portbld-freebsd4.5/3.1.1/include /usr/local/i386-portbld-freebsd4.5/include /usr/include End of search list. /usr/local/lib/gcc-lib/i386-portbld-freebsd4.5/3.1.1/collect2 -V -dynamic-linker /usr/libexec/ld-elf.so.1 -o conftest /usr/lib/crt1.o /usr/lib/crti.o /usr/local/lib/gcc-lib/i386-portbld-freebsd4.5/3.1.1/crtbegin.o -L/usr/X11R6/lib -L/usr/local/lib/gcc-lib/i386-portbld-freebsd4.5/3.1.1 -L/usr/local/lib/gcc-lib/i386-portbld-freebsd4.5/3.1.1/../../.. /var/tmp//ccLulSZf.o -lX11 -lstdc++ -lm -lgcc -lc -lgcc /usr/local/lib/gcc-lib/i386-portbld-freebsd4.5/3.1.1/crtend.o /usr/lib/crtn.o /var/tmp//ccLulSZf.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719 [FreeBSD]) Supported emulations: elf_i386 collect2: ld returned 1 exit status Martin Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 061 826 93 00: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E -- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0'
On Wed, May 29, 2002 at 05:56:28PM +0200, Martin Blapp wrote: > configure:3602: checking for XOpenDisplay in -lX11 > configure:3624: /usr/local/bin/g++31 -o conftest -g -L/usr/X11R6/lib > conftest.C -lX11 1>&5 > /var/tmp//ccask2mP.o: In function `main': > /usr/ports/editors/openoffice/work/oo_1.0_src/config_office/configure:3620: > undefined reference to `__gxx_personality_v0' Please add "-v" to CFLAGS somehow. Then let me see this error again. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0'
Hi all, > Have you done a 'make world' in the last 24 hours or so? What does this show: No. And I have tested it now in STABLE to with the gcc32 and gcc31 ports. Result is the same. gcc295 in stable, and a march gcc31 port are fine. All other gcc3.x versions are failing. > ls -l /usr/bin/c++ /usr/lib/libstdc++.so.4 /usr/include/g++/bits/c++config.h > > They should all exist and be roughly the same time/date. mb@fuchur:~$ ls -l /usr/bin/c++ /usr/lib/libstdc++.so.4 /usr/include/g++/bits/c++config.h ls: /usr/include/g++/bits/c++config.h: No such file or directory ls: /usr/lib/libstdc++.so.4: No such file or directory -r-xr-xr-x 3 root wheel 76524 May 25 23:17 /usr/bin/c++ I'll make now a world and see if something changes. Martin To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0'
Martin Blapp wrote: > > Hi all, > > I see this configure failure when using the system gcc3.1 or a newer one from > ports. A version from march works. > > configure:3602: checking for XOpenDisplay in -lX11 > configure:3624: /usr/local/bin/g++31 -o conftest -g -L/usr/X11R6/lib > conftest.C -lX11 1>&5 > /var/tmp//ccask2mP.o: In function `main': > /usr/ports/editors/openoffice/work/oo_1.0_src/config_office/configure:3620: > undefined reference to `__gxx_personality_v0' > collect2: ld returned 1 exit status > configure: failed program was: > #line 3610 "configure" > #include "confdefs.h" > /* Override any gcc2 internal prototype to avoid an error. */ > #ifdef __cplusplus > extern "C" > #endif > /* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ > char XOpenDisplay(); > > int main() { > XOpenDisplay() > ; return 0; } > > Martin Have you done a 'make world' in the last 24 hours or so? What does this show: ls -l /usr/bin/c++ /usr/lib/libstdc++.so.4 /usr/include/g++/bits/c++config.h They should all exist and be roughly the same time/date. Cheers, -Peter -- Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0'
On Wed, 29 May 2002 09:27:50 MST, "Dan Trainor" wrote: > Being that -CURRENT's C++ compiler is b0rked, how long will it be until > it's problems have been resolved? I've seen many problems with it > lately, and it kinda made me worried, almost to the point where I > thought a re-install from the 4.5 release would be appropriate. It probably won't be too long, because at least one very clueful individual is working on the problem. In the meantime, though, either compile ports with CXX=/usr/local/bin/g++31 or use a stable, end-user oriented version of FreeBSD (like 4.6-SOMETHING). Ciao, Sheldon. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0'
On Wed, May 29, 2002 at 09:27:50AM -0700, Dan Trainor wrote: Hi, > Being that -CURRENT's C++ compiler is b0rked, how long will it be until > it's problems have been resolved? I've seen many problems with it > lately, and it kinda made me worried, almost to the point where I > thought a re-install from the 4.5 release would be appropriate. Short answer, when it's ready. Long answer: David is making a very good job with the update of gcc and related tools, give him the time needed. IMHO, the stuff David is dealing with is total PITA, so be grateful he is doing it, I can't think of a better person to do it right now. -CURRENT is not for the weak, if you run it be ready to find broken stuff, from minor things in buildworld to total breakage, but the handbook already warns you about that, right? :-) FWIW, I've found last weekend's -CURRENT to be perfectly usable, but, as always, YMMV. My 0.02EUR is, if it's not a production box, and you want to play with new stuff and don't mind the (lack of) stability and think you can (possibly) help with debugging, go for -CURRENT, the more people who test it, the better, else keep running -STABLE. Cheers, -- Miguel Mendez - [EMAIL PROTECTED] GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk FreeBSD - The power to serve! msg38941/pgp0.pgp Description: PGP signature
RE: gcc3.1 problems: undefined reference to `__gxx_personality_v0'
I have no doubt of the progress that's being made. Anyway, thanks for the help. Again, keep up the good work. -dt -Original Message- From: Sheldon Hearn [mailto:[EMAIL PROTECTED]] On Behalf Of Sheldon Hearn Sent: Wednesday, May 29, 2002 9:49 AM To: Dan Trainor Cc: [EMAIL PROTECTED] Subject: Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0' On Wed, 29 May 2002 09:27:50 MST, "Dan Trainor" wrote: > Being that -CURRENT's C++ compiler is b0rked, how long will it be until > it's problems have been resolved? I've seen many problems with it > lately, and it kinda made me worried, almost to the point where I > thought a re-install from the 4.5 release would be appropriate. It probably won't be too long, because at least one very clueful individual is working on the problem. In the meantime, though, either compile ports with CXX=/usr/local/bin/g++31 or use a stable, end-user oriented version of FreeBSD (like 4.6-SOMETHING). Ciao, Sheldon. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
RE: gcc3.1 problems: undefined reference to `__gxx_personality_v0'
I'm new to the list, so please excuse my question If it has already been asked before. Being that -CURRENT's C++ compiler is b0rked, how long will it be until it's problems have been resolved? I've seen many problems with it lately, and it kinda made me worried, almost to the point where I thought a re-install from the 4.5 release would be appropriate. Anyway, keep up the good work. It'll work out. -dt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Miguel Mendez Sent: Wednesday, May 29, 2002 9:06 AM To: Martin Blapp Cc: [EMAIL PROTECTED]; Alexander Kabaev; [EMAIL PROTECTED] Subject: Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0' On Wed, May 29, 2002 at 05:56:28PM +0200, Martin Blapp wrote: Hi Martin, > /usr/ports/editors/openoffice/work/oo_1.0_src/config_office/configure:36 20: > undefined reference to `__gxx_personality_v0' I've seen this problem too. I don't know if it has been solved, but -CURRENT's C++ compiler has been broken for a while. The workaround has been to install the gcc31 port and use it, e.g make CXX=/usr/local/bin/g++31 Cheers, -- Miguel Mendez - [EMAIL PROTECTED] GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk FreeBSD - The power to serve! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0'
On Wed, May 29, 2002 at 12:12:02PM -0400, Alexander Kabaev wrote: Hi, > Martin is using GCC 3.1 from ports. It sounds like GCC tries to use some > library left over from the previous version of GCC, which does not > provide this symbol. g++13 -v should tell you what parameters GCC passes > to the linker and what libraries it tries to link. This should be enough > to track down what older library shadows the new one. The usual suspects > are libgcc and libstdc++. Don't quote me on this, but I'm almost sure David made sure that the port's installed gcc compiler used it's own libgcc and libstd++. At least I can recall some comment about it in the port's Makefile. ยบ Cheers, -- Miguel Mendez - [EMAIL PROTECTED] GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk FreeBSD - The power to serve! msg38937/pgp0.pgp Description: PGP signature
Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0'
On Wed, May 29, 2002 at 06:08:58PM +0200, Martin Blapp wrote: Hi, > And this doesn't work anymore. I see this with a fresh 3.1 port too now. Martin, I don't doubt about your answer, but, can you verify you are indeed using the ports g++ compiler? I can't reproduce the bug here. Cheers, -- Miguel Mendez - [EMAIL PROTECTED] GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk FreeBSD - The power to serve! msg38935/pgp0.pgp Description: PGP signature
Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0'
On Wed, 29 May 2002 18:06:10 +0200 Miguel Mendez <[EMAIL PROTECTED]> wrote: > I've seen this problem too. I don't know if it has been solved, but > -CURRENT's C++ compiler has been broken for a while. The workaround > has been to install the gcc31 port and use it, e.g make > CXX=/usr/local/bin/g++31 > > Cheers, Martin is using GCC 3.1 from ports. It sounds like GCC tries to use some library left over from the previous version of GCC, which does not provide this symbol. g++13 -v should tell you what parameters GCC passes to the linker and what libraries it tries to link. This should be enough to track down what older library shadows the new one. The usual suspects are libgcc and libstdc++. -- Alexander Kabaev To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0'
Hi, > I've seen this problem too. I don't know if it has been solved, but > -CURRENT's C++ compiler has been broken for a while. The workaround has > been to install the gcc31 port and use it, e.g make > CXX=/usr/local/bin/g++31 And this doesn't work anymore. I see this with a fresh 3.1 port too now. Martin To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0'
On Wed, May 29, 2002 at 05:56:28PM +0200, Martin Blapp wrote: Hi Martin, > /usr/ports/editors/openoffice/work/oo_1.0_src/config_office/configure:3620: > undefined reference to `__gxx_personality_v0' I've seen this problem too. I don't know if it has been solved, but -CURRENT's C++ compiler has been broken for a while. The workaround has been to install the gcc31 port and use it, e.g make CXX=/usr/local/bin/g++31 Cheers, -- Miguel Mendez - [EMAIL PROTECTED] GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk FreeBSD - The power to serve! msg38932/pgp0.pgp Description: PGP signature