On Thu, Jul 25, 2002 at 10:43:05AM -0700, Rob wrote: > With a fresh cvsup and rm -r /usr/obj, I then get the following error in > gperf when typing make buildworld: > > Am I doing something wrong? Thanks, Rob. > > ----------------------------------- > uname -a output: > > FreeBSD c888746-a.attbi.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat May > 25 19:42:56 PDT 2002 > [EMAIL PROTECTED]:/usr/src/sys/i386/compile/LAPTOP i386 > Smells like your C++ bits are broken. Have you upgraded this box to GCC 3.1 yet? If not, try reverting to Makefile.inc1,v 1.295 and see if that helps. (``cc -v'' and ``c++ -v'' would be a hint here.)
> ----------------------------------------------- > make buildworld output: > > cd /usr/src/gnu/usr.bin/gperf; make DIRPRFX=gnu/usr.bin/gperf/ obj; > make DIRPRFX=gnu/usr.bin/gperf/ depend; make DIRPRFX=gnu/usr.bin/gperf/ > all; make DIRPRFX=gnu/usr.bin/gperf/ DESTDIR=/usr/obj/usr/src/i386 > install > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/gperf created for > /usr/src/gnu/usr.bin/gperf > ===> gnu/usr.bin/gperf/doc > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/gperf/doc created for > /usr/src/gnu/usr.bin/gperf/doc > rm -f .depend > mkdep -f .depend -a -D__FBSDID=__RCSID > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib/getopt.c > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib/getopt1.c > mkdep -f .depend -a -D__FBSDID=__RCSID > -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/gen-perf.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/hash-table.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/iterator.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/key-list.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/list-node.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/main.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/options.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/read-line.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/trace.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/vectors.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/version.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib/hash.cc > echo gperf: /usr/lib/libc.a >> .depend > echo gperf: /usr/lib/libstdc++.a >> .depend > ===> gnu/usr.bin/gperf/doc > c++ -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -fmemoize-lookups > -fsave-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/bool-array.cc > c++ -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -fmemoize-lookups > -fsave-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/gen-perf.cc > c++ -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -fmemoize-lookups > -fsave-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/hash-table.cc > c++ -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -fmemoize-lookups > -fsave-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/iterator.cc > c++ -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -fmemoize-lookups > -fsave-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/key-list.cc > c++ -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -fmemoize-lookups > -fsave-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/list-node.cc > c++ -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -fmemoize-lookups > -fsave-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/main.cc > c++ -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -fmemoize-lookups > -fsave-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/new.cc > c++ -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -fmemoize-lookups > -fsave-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/options.cc > c++ -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -fmemoize-lookups > -fsave-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/read-line.cc > c++ -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -fmemoize-lookups > -fsave-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/trace.cc > c++ -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -fmemoize-lookups > -fsave-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/vectors.cc > c++ -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -fmemoize-lookups > -fsave-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/version.cc > c++ -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -fmemoize-lookups > -fsave-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/lib/hash.cc > cc -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -c > /usr/src/contrib/gperf/lib/getopt.c > cc -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -c > /usr/src/contrib/gperf/lib/getopt1.c > c++ -O -pipe -march=pentiumpro -D__FBSDID=__RCSID -fmemoize-lookups > -fsave-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -static -o gperf bool-array.o gen-perf.o > hash-table.o iterator.o key-list.o list-node.o main.o new.o options.o > read-line.o trace.o vectors.o version.o hash.o getopt.o getopt1.o > gen-perf.o: In function `Gen_Perf::change(List_Node*, List_Node*)': > gen-perf.o(.text+0x374): undefined reference to `operator > new[](unsigned)' > gen-perf.o(.eh_frame+0x12): undefined reference to > `__gxx_personality_v0' > hash-table.o(.eh_frame+0x11): undefined reference to > `__gxx_personality_v0' > key-list.o: In function `Key_List::get_special_input(char)': > key-list.o(.text+0xf3): undefined reference to `operator > new[](unsigned)' > key-list.o(.text+0x15c): undefined reference to `operator > new[](unsigned)' > key-list.o: In function `Key_List::set_output_types()': > key-list.o(.text+0x2a7): undefined reference to `operator > new[](unsigned)' > key-list.o(.text+0x2ce): undefined reference to `operator > new[](unsigned)' > key-list.o: In function `parse_line(char const*, char const*)': > key-list.o(.text+0x32e): undefined reference to `operator > new[](unsigned)' > key-list.o(.gnu.linkonce.d._ZTV14Output_Compare+0x8): undefined > reference to `__cxa_pure_virtual' > key-list.o(.gnu.linkonce.d._ZTV11Output_Expr+0x8): undefined reference > to `__cxa_pure_virtual' > key-list.o(.gnu.linkonce.d._ZTV16Output_Constants+0x8): undefined > reference to `__cxa_pure_virtual' > key-list.o(.gnu.linkonce.d._ZTV16Output_Constants+0xc): undefined > reference to `__cxa_pure_virtual' > key-list.o(.gnu.linkonce.d._ZTV16Output_Constants+0x10): undefined > reference to `__cxa_pure_virtual' > key-list.o(.gnu.linkonce.d._ZTI21Output_Compare_Memcmp+0x0): undefined > reference to `vtable for __cxxabiv1::__si_class_type_info' > key-list.o(.gnu.linkonce.d._ZTI22Output_Compare_Strncmp+0x0): undefined > reference to `vtable for __cxxabiv1::__si_class_type_info' > key-list.o(.gnu.linkonce.d._ZTI21Output_Compare_Strcmp+0x0): undefined > reference to `vtable for __cxxabiv1::__si_class_type_info' > key-list.o(.gnu.linkonce.d._ZTI14Output_Compare+0x0): undefined > reference to `vtable for __cxxabiv1::__class_type_info' > key-list.o(.gnu.linkonce.d._ZTI12Output_Expr1+0x0): undefined reference > to `vtable for __cxxabiv1::__si_class_type_info' > key-list.o(.gnu.linkonce.d._ZTI11Output_Expr+0x0): undefined reference > to `vtable for __cxxabiv1::__class_type_info' > key-list.o(.gnu.linkonce.d._ZTI11Output_Enum+0x0): undefined reference > to `vtable for __cxxabiv1::__si_class_type_info' > key-list.o(.gnu.linkonce.d._ZTI14Output_Defines+0x0): undefined > reference to `vtable for __cxxabiv1::__si_class_type_info' > key-list.o(.gnu.linkonce.d._ZTI16Output_Constants+0x0): undefined > reference to `vtable for __cxxabiv1::__class_type_info' > key-list.o(.eh_frame+0x12): undefined reference to > `__gxx_personality_v0' > list-node.o: In function `List_Node::List_Node(char const*, int, char > const*)': > list-node.o(.text+0x49): undefined reference to `operator > new[](unsigned)' > list-node.o: In function `List_Node::List_Node(char const*, int, char > const*)': > list-node.o(.text+0x17d): undefined reference to `operator > new[](unsigned)' > list-node.o(.eh_frame+0x11): undefined reference to > `__gxx_personality_v0' > main.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' > options.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' > read-line.o: In function `Read_Line::readln_aux(int)': > read-line.o(.text+0x9c): undefined reference to `operator > new[](unsigned)' > read-line.o(.eh_frame+0x11): undefined reference to > `__gxx_personality_v0' > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/gperf. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > Script done on Thu Jul 25 10:01:32 2002 -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age
msg41342/pgp00000.pgp
Description: PGP signature