Article View: gnu.g++.help
Article #33problem with libg++2.2
From: John Hight
Date: Wed, 04 Nov 1992 21:15
Date: Wed, 04 Nov 1992 21:15
29 lines
1568 bytes
1568 bytes
I'm having problems installing (not building) libg++.a on a Sparc 2.
It seems to be failing on the assert in Foo.cc. That is foo_main_run
builds ok, but fails on executing the first assert().
Any ideas?
Could this possibly happen because I'm using the standard Sun ld
(/usr/bin/ld) and not GNU ld? I've not had a problem with using Sun
ld before.
relevant msgs:
make install-libg++
...[installs, ranlibs libg++.a]...
...[installs header files]...
cd test-install; make test-90S \
CC=/new/bin/gcc COMPILE_FLAGS="" LIBS=-lg++
/new/bin/gcc -c Foo.cc
/new/bin/gcc -g -v -o foo_main.run foo_main.o foo_func.o Foo.o -lg++
Reading specs from /new/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2/specs
gcc version 2.2.2
ld -e start -dc -dp -o foo_main.run /lib/crt0.o -L/new/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2 -L/new/lib foo_main.o foo_func.o Foo.o -lg++ -lgcc -lc -lg -lgcc
./foo_main.run > foo_main.out
foo_main.cc:32: failed assertion `Foo::nb_foos() == 2'
sh: 9091 Abort - core dumped
--
John Hight, SRI International hight@sri.com 415-859-4279
Technical Details
Message-ID:
<1992Nov4.211556.2074@erg.sri.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!umn.edu!spool.mu.edu!news.nd.edu!mentor.cc.purdue.edu!noose.ecn.purdue.edu!sparkyfs.erg.sri.com!hightShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!umn.edu!spool.mu.edu!news.nd.edu!mentor.cc.purdue.edu!noose.ecn.purdue.edu!sparkyfs.erg.sri.com!hight From: hight@sri.com (John Hight) Subject: problem with libg++2.2 Message-ID: <1992Nov4.211556.2074@erg.sri.com> Originator: hight@gorilla.erg.sri.com Sender: news@erg.sri.com Organization: SRI International, Menlo Park, CA Date: Wed, 4 Nov 92 21:15:56 GMT Lines: 29