Date: Thu, 30 May 2002 11:47:04 +0200 (CEST) From: Martin Blapp <mb@imp.ch> To: Alexander Kabaev <ak03@gte.com>, <obrien@freebsd.org> Cc: <current@freebsd.org> Subject: Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0' Message-ID: <20020530100415.E18017-100000@levais.imp.ch>
next in thread | raw e-mail | index | archive | help
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, <mb@imp.ch> <mbr@FreeBSD.org> ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 061 826 93 00: +41 61 826 93 01 PGP: <finger -l mbr@freebsd.org> PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020530100415.E18017-100000>