This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
after installing egcs-2.91.60: failure with g++
- To: egcs-bugs at cygnus dot com
- Subject: after installing egcs-2.91.60: failure with g++
- From: franks at rivo dot dlo dot nl (Frank Storbeck)
- Date: Tue, 27 Apr 1999 12:14:53 +0200
L.S.
after installing egcs gcc seems to work correctly, but g++ doesn't ("make
-k check"
showed some FAIL's when compiling *.cc files; see below).
franks@orca<63> cat test.cc
#include <iostream.h>
int main()
{
int i = 1;
cout << i << endl;
return 0;
}
franks@orca<64> g++ -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/egcs-2.91.60/spec
s
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
franks@orca<65> g++ test.cc
Undefined first referenced
symbol in file
__builtin_delete /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/
egcs-2.91.60/libstdc++.a(iostream.o)
__builtin_vec_new /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/
egcs-2.91.60/libstdc++.a(isgetline.o)
__builtin_vec_delete /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/
egcs-2.91.60/libstdc++.a(iostream.o)
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
This must be my fault. I don't see any FAQ showing this problem, so can you
please inform me what library is missing. Or is there a library that has to
be
removed (formerly we used gcc-2.6.3)?
franks@orca<66> ls /usr/local/lib
Mcrt1.o groff libkpathsea.a menu.lib
bison.hairy libafp.a libmcheck.a menu.shared.appl
bison.simple libafpc.a libmmalloc.a menu.shared.lib
calctool.help libbfd.a libopcodes.a neta
cap libbsd-compat.a libreadline.a netscape
crt0.o libcap.a librpcsvc.a perl5
crt1.o libexpect5.21.a libtcl8.0.a tclConfig.sh
emacs libf2c.a lynx.cfg
g++-include libfl.a macps
gcc-lib libiostream.a menu.appl
You have new mail.
NOTE:
The results of "make -k check" after building showed:
(stuff deleted ...)
=== libio tests ===
Schedule of variations:
unix
Running target unix
Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for tar
get.
Using ../../../../egcs-1.1.1/libio/testsuite/config/default.exp as tool-and-targ
et-specific interface file.
Running ../../../../egcs-1.1.1/libio/testsuite/libio.tests/hounddog.exp ...
FAIL: hounddog.cc compilation
FAIL: hounddog.cc compilation -b0
FAIL: hounddog.cc compilation -b2
Running ../../../../egcs-1.1.1/libio/testsuite/libio.tests/putbackdog.exp ...
FAIL: putbackdog.cc compilation
FAIL: putbackdog.cc compilation -b0
FAIL: putbackdog.cc compilation -b2
Running ../../../../egcs-1.1.1/libio/testsuite/libio.tests/tFile.exp ...
FAIL: tFile.cc compilation
FAIL: tFile.cc compilation -b0
FAIL: tFile.cc compilation -b3
Running ../../../../egcs-1.1.1/libio/testsuite/libio.tests/tfformat.exp ...
Running ../../../../egcs-1.1.1/libio/testsuite/libio.tests/tiformat.exp ...
Running ../../../../egcs-1.1.1/libio/testsuite/libio.tests/tiomanip.exp ...
FAIL: tiomanip.cc compilation
Running ../../../../egcs-1.1.1/libio/testsuite/libio.tests/tiomisc.exp ...
FAIL: tiomisc.cc compilation
Running ../../../../egcs-1.1.1/libio/testsuite/libio.tests/tstdiomisc.exp ...
=== libio Summary ===
# of expected passes 7
# of unexpected failures 11
# of expected failures 22
(stuff deleted ...)
frank
Frank Storbeck
Netherlands Intitute for Fisheries Research
P.O. Box 68 1970 AB IJmuiden - the Netherlands
phone +31 255 564790
facs +31 255 564644
http://www.rivo.dlo.nl/~franks
pgp fingerprint = 68 99 ED CE FD 8A BF 56 30 A6 08 C7 16 53 B0 3D