From owner-freebsd-current Thu Jul 25 11: 2:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5D5737B400 for ; Thu, 25 Jul 2002 11:02:17 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id E59F443E3B for ; Thu, 25 Jul 2002 11:02:12 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g6PI1sj47524; Thu, 25 Jul 2002 21:01:54 +0300 (EEST) (envelope-from ru) Date: Thu, 25 Jul 2002 21:01:54 +0300 From: Ruslan Ermilov To: Rob Cc: current@FreeBSD.org Subject: Re: make buildworld fails at gperf Message-ID: <20020725180154.GE40574@sunbay.com> References: <3D4038A9.36B0B706@pythonemproject.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="orO6xySwJI16pVnm" Content-Disposition: inline In-Reply-To: <3D4038A9.36B0B706@pythonemproject.com> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --orO6xySwJI16pVnm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > Am I doing something wrong? Thanks, Rob. >=20 > ----------------------------------- > uname -a output: >=20 > FreeBSD c888746-a.attbi.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat May > 25 19:42:56 PDT 2002 =20 > rob@c888746-a.attbi.com:/usr/src/sys/i386/compile/LAPTOP i386 >=20 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: >=20 > cd /usr/src/gnu/usr.bin/gperf; make DIRPRFX=3Dgnu/usr.bin/gperf/ obj;=20 > make DIRPRFX=3Dgnu/usr.bin/gperf/ depend; make DIRPRFX=3Dgnu/usr.bin/gpe= rf/ > all; make DIRPRFX=3Dgnu/usr.bin/gperf/ DESTDIR=3D/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 > =3D=3D=3D> 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=3D__RCSID=20 > /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=3D__RCSID > -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf=20 > /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 =20 > echo gperf: /usr/lib/libc.a >> .depend > echo gperf: /usr/lib/libstdc++.a >> .depend > =3D=3D=3D> gnu/usr.bin/gperf/doc > c++ -O -pipe -march=3Dpentiumpro -D__FBSDID=3D__RCSID -fmemoize-look= ups > -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=3Dpentiumpro -D__FBSDID=3D__RCSID -fmemoize-look= ups > -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=3Dpentiumpro -D__FBSDID=3D__RCSID -fmemoize-look= ups > -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=3Dpentiumpro -D__FBSDID=3D__RCSID -fmemoize-look= ups > -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=3Dpentiumpro -D__FBSDID=3D__RCSID -fmemoize-look= ups > -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=3Dpentiumpro -D__FBSDID=3D__RCSID -fmemoize-look= ups > -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=3Dpentiumpro -D__FBSDID=3D__RCSID -fmemoize-look= ups > -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=3Dpentiumpro -D__FBSDID=3D__RCSID -fmemoize-look= ups > -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=3Dpentiumpro -D__FBSDID=3D__RCSID -fmemoize-look= ups > -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=3Dpentiumpro -D__FBSDID=3D__RCSID -fmemoize-look= ups > -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=3Dpentiumpro -D__FBSDID=3D__RCSID -fmemoize-look= ups > -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=3Dpentiumpro -D__FBSDID=3D__RCSID -fmemoize-look= ups > -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=3Dpentiumpro -D__FBSDID=3D__RCSID -fmemoize-look= ups > -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=3Dpentiumpro -D__FBSDID=3D__RCSID -fmemoize-look= ups > -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=3Dpentiumpro -D__FBSDID=3D__RCSID -c > /usr/src/contrib/gperf/lib/getopt.c > cc -O -pipe -march=3Dpentiumpro -D__FBSDID=3D__RCSID -c > /usr/src/contrib/gperf/lib/getopt1.c > c++ -O -pipe -march=3Dpentiumpro -D__FBSDID=3D__RCSID -fmemoize-look= ups > -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=20 > 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 >=20 > Stop in /usr/src/gnu/usr.bin/gperf. > *** Error code 1 >=20 > Stop in /usr/src. > *** Error code 1 >=20 > Stop in /usr/src. > *** Error code 1 >=20 > Stop in /usr/src. >=20 > Script done on Thu Jul 25 10:01:32 2002 --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --orO6xySwJI16pVnm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9QD0SUkv4P6juNwoRAsbFAJ97ld32xHc6XC2BM8ywSYojq+OT4ACgh5RB ijQoDKGt8hV1OU0B4nc/Vxo= =k6F2 -----END PGP SIGNATURE----- --orO6xySwJI16pVnm-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message