new g++ errors prevent bootstrapping.
Robert Lipe
robertl@dgii.com
Mon Oct 26 14:08:00 GMT 1998
Thursday afternoon, this was a non-problem. Sunday evening, it was
a problem. Both JP and I have seen this so I don't think it's something
funky about my specific setup.
I'm seeing lots of g++ errors on OpenServer that have basically the same
shape. Top-level libraries won't build, though the stuff in libgcc2 is
fine.. I don't see this from the same source tree on Linux/x86.
$ make check-g++ RUNTESTFLAGS="old-deja.exp=crash*"
Running /play/egcs/gcc/testsuite/g++.old-deja/old-deja.exp ...
FAIL: g++.brendan/crash15.C (test for excess errors)
FAIL: g++.brendan/crash19.C (test for excess errors)
FAIL: g++.brendan/crash30.C (test for excess errors)
FAIL: g++.brendan/crash38.C (test for excess errors)
FAIL: g++.brendan/crash39.C (test for excess errors)
FAIL: g++.brendan/crash49.C (test for excess errors)
FAIL: g++.brendan/crash5.C (test for excess errors)
FAIL: g++.brendan/crash52.C (test for excess errors)
FAIL: g++.brendan/crash62.C (test for excess errors)
FAIL: g++.other/crash3.C (test for excess errors)
=== g++ Summary ===
# of expected passes 207
# of unexpected failures 10
/play/negcs/gcc/testsuite/../xgcc version egcs-2.92.17 19981026 (gcc2 ss-980609 experimental)
Looking at the first one of those errors, I see:
Executing on host: /play/negcs/gcc/testsuite/../xgcc -B/play/negcs/gcc/testsuite
/../ /play/egcs/gcc/testsuite/g++.old-deja/g++.brendan/crash15.C -ansi -pedanti
c-errors -I/play/egcs/libio -I/play/negcs/i686-pc-sco3.2v5.0.5/libio -I/play/eg
cs/libg++ -I/play/egcs/libg++/src -I/play/egcs/libstdc++ -I/play/egcs/libstdc++/
stl -I/play/negcs/gcc/testsuite/../include -c -o /play/negcs/gcc/testsuite/cras
h15.o
compiler exited with status 1
output is:
/play/egcs/libio/iostream.h:49: sorry, not implemented: `function_decl' not supp
orted by dump_type
/play/egcs/libio/iostream.h: In method `ostream::ostream()':
In file included from /play/egcs/gcc/testsuite/g++.old-deja/g++.brendan/crash15.
C:3:
/play/egcs/libio/iostream.h:49: uninitialized const `vtable for '
/play/egcs/libio/iostream.h:122: sorry, not implemented: `function_decl' not sup
ported by dump_type
/play/egcs/libio/iostream.h: In method `istream::istream()':
/play/egcs/libio/iostream.h:122: uninitialized const `vtable for '
/play/egcs/libio/iostream.h:229: sorry, not implemented: `function_decl' not sup
ported by dump_type
/play/egcs/libio/iostream.h: In method `istream::~istream()':
/play/egcs/libio/iostream.h:229: uninitialized const `vtable for '
/play/egcs/libio/iostream.h:229: sorry, not implemented: `function_decl' not sup
ported by dump_type
/play/egcs/libio/iostream.h: In method `ostream::~ostream()':
/play/egcs/libio/iostream.h:229: uninitialized const `vtable for '
/play/egcs/libio/iostream.h:229: sorry, not implemented: `function_decl' not sup
ported by dump_type
/play/egcs/libio/iostream.h: In method `iostream::iostream()':
/play/egcs/libio/iostream.h:229: uninitialized const `vtable for '
/play/egcs/gcc/testsuite/g++.old-deja/g++.brendan/crash15.C: In function `int ma
in()':
/play/egcs/gcc/testsuite/g++.old-deja/g++.brendan/crash15.C:18: destructor name
`~A' does not match type `B' of expression
PASS: g++.brendan/crash15.C destructor (test for errors, line 18)
FAIL: g++.brendan/crash15.C (test for excess errors)
I'm now seeing literally hundreds of errors of various types - all in
g++ - during a build and testsuite run. Here are some of a slightly
different flavor.
Executing on host: /play/negcs/gcc/testsuite/../xgcc -B/play/negcs/gcc/testsuite
/../ /play/egcs/gcc/testsuite/g++.old-deja/g++.other/crash3.C -g -O2 -I/play/
egcs/libio -I/play/negcs/i686-pc-sco3.2v5.0.5/libio -I/play/egcs/libg++ -I/play/
egcs/libg++/src -I/play/egcs/libstdc++ -I/play/egcs/libstdc++/stl -I/play/negcs/
gcc/testsuite/../include -c -o /play/negcs/gcc/testsuite/crash3.o
compiler exited with status 1
output is:
(EOF):undefined name: .L_E128
FAIL: g++.other/crash3.C (test for excess errors)
Executing on host: /play/negcs/gcc/testsuite/../xgcc -B/play/negcs/gcc/testsuite
/../ /play/egcs/gcc/testsuite/g++.old-deja/g++.other/crash4.C -ansi -pedantic-e
rrors -I/play/egcs/libio -I/play/negcs/i686-pc-sco3.2v5.0.5/libio -I/play/egcs/
libg++ -I/play/egcs/libg++/src -I/play/egcs/libstdc++ -I/play/egcs/libstdc++/stl
-I/play/negcs/gcc/testsuite/../include -c -o /play/negcs/gcc/testsuite/crash4.
o
compiler exited with status 1
output is:
/play/egcs/gcc/testsuite/g++.old-deja/g++.other/crash4.C:4: warning: `packed' at
tribute ignored
/play/egcs/gcc/testsuite/g++.old-deja/g++.other/crash4.C:4: parse error before `
{'
/play/egcs/gcc/testsuite/g++.old-deja/g++.other/crash4.C:7: parse error before `
}'
CVS doesn't show my tree as containing doodoo in generated files like
parse* and I have gone through the bootstrapping exercise so I don't
think it's a case of the native compiler miscompiling things.
Any hints where I should go digging for this?
Thanx,
RJL
More information about the Gcc-bugs
mailing list