regression egcs-1.0.3a on i686-pc-linux-glibc1
Michael Taeschner
st38@indy01.sm.bs.dlr.de
Wed May 27 06:55:00 GMT 1998
On Tue, 26 May 1998, Jeffrey A Law wrote:
> > Though I have built 1.0.3a successfully, it shows major regression on i686
> > only (it is a PII/266), while to my best knowledge identical builds on
> > i486 and i586 did not (g++: 3x XPASS; g77: 2x dnrm as usual).
> >
> > I have the strong feeling that the i686-system is somewhat broken, any
> > ideas?
> Can you look at the libio.log and/or libstdc++.log and see why they
> failed to compile. More likely than not this is a test harness problem,
> not a problem with the compilers.
ok, here an excerpt:
---partial libio.log begin-----------------------
Native configuration is i686-pc-linux-gnulibc1
=== libio tests ===
Running target unix
Using /home/st38/bin/../share/dejagnu/baseboards/unix.exp as board
description file for target.
Using /home/st38/bin/../share/dejagnu/config/unix.exp as generic interface
file for target.
Using ../../../../src/egcs-1.0.3a/libio/testsuite/config/default.exp as
tool-and-target-specific int
erface file.
[...]
Running ../../../../src/egcs-1.0.3a/libio/testsuite/libio.tests/tFile.exp
...
Executing on host: /home/st38/objdir/gcc/xgcc \
-B/home/st38/objdir/gcc/../../../../src/egcs-1.0.3a/libio/testsuite/../tests/tFile.cc -O3 \
-I.. -I../../../../src/egcs-1.0.3a/libio/testsuite/.. -nostdinc++ \
-I/home/st38/src/egcs-1.0.3a/libstdc++ \
-I/home/st38/src/egcs-1.0.3a/libstdc++/stl -L/home/st38/objdir/libraries/libiberty -g \
-lstdc++ -liberty -lm -o /home/st38/objdir/libraries/libio/testsuite/tFile
compiler exited with status 1
output is:
/tmp/cca217031.o: In function `t1(void)':
/home/st38/objdir/libraries/libio/testsuite/../../../../src/egcs-1.0.3a/libio/testsuite/../streambuf
.h:395: undefined reference to `_IO_putc'
/home/st38/objdir/libraries/libio/testsuite/../../../../src/egcs-1.0.3a/libio/testsuite/../streambuf
.h:395: undefined reference to `_IO_putc'
/home/st38/objdir/libraries/libio/testsuite/../../../../src/egcs-1.0.3a/libio/testsuite/../streambuf
.h:395: undefined reference to `_IO_putc'
/home/st38/objdir/libraries/libio/testsuite/../../../../src/egcs-1.0.3a/libio/testsuite/../streambuf
.h:395: undefined reference to `_IO_putc'
/home/st38/objdir/libraries/libio/testsuite/../../../../src/egcs-1.0.3a/libio/testsuite/../streambuf
.h:395: undefined reference to `_IO_putc'
/tmp/cca217031.o:/home/st38/objdir/libraries/libio/testsuite/../../../../src/egcs-1.0.3a/libio/tests
uite/../streambuf.h:395: more undefined references to `_IO_putc' follow
collect2: ld returned 1 exit status
FAIL: tFile.cc compilation
[...]
Running
../../../../src/egcs-1.0.3a/libio/testsuite/libio.tests/tfformat.exp ...
Executing on host: /home/st38/objdir/gcc/xgcc \
-B/home/st38/objdir/gcc/../../../../src/egcs-1.0.3a/libio/testsuite/../tests/tfformat.c -O3\
-I.. -I../../../../src/egcs-1.0.3a/libio/testsuite/.. -DTEST_LIBIO -DTEST_EXACTNESS \
-L/home/st38/objdir/libraries/libiberty -g -lio -liberty -lm \
-o /home/st38/objdir/libraries/libio/testsuite/tfformat
compiler exited with status 1
output is:
/home/st38/i686-pc-linux-gnulibc1/bin/ld: cannot open -lio: No such file or directory
collect2: ld returned 1 exit status
FAIL: tfformat.c compilation
Running
../../../../src/egcs-1.0.3a/libio/testsuite/libio.tests/tiomisc.exp ...
Executing on host: /home/st38/objdir/gcc/xgcc \
-B/home/st38/objdir/gcc/../../../../src/egcs-1.0.3a/libio/testsuite/../tests/tiomisc.cc\
-O3 -I.. -I../../../../src/egcs-1.0.3a/libio/testsuite/.. -w -nostdinc++\
-I/home/st38/src/egcs-1.0.3a/libstdc++ \
-I/home/st38/src/egcs-1.0.3a/libstdc++/stl -L/home/st38/objdir/libraries/libiberty -g \
-lstdc++ -liberty -lm -o /home/st38/objdir/libraries/libio/testsuite/tiomisc
compiler exited with status 1
output is:
/tmp/cca217471.o: In function `special_ofstream::~special_ofstream(void)':
/home/st38/objdir/libraries/libio/testsuite/../../../../src/egcs-1.0.3a/libio/testsuite/../tests/tio
misc.cc(.rodata+0x19c): undefined reference to `ios type_info node'
/home/st38/objdir/libraries/libio/testsuite/../../../../src/egcs-1.0.3a/libio/testsuite/../tests/tio
misc.cc(.rodata+0x1a4): undefined reference to `ostream type_info node'
/home/st38/objdir/libraries/libio/testsuite/../../../../src/egcs-1.0.3a/libio/testsuite/../tests/tio
misc.cc(.rodata+0x1bc): undefined reference to `ostream type_info node'
/home/st38/objdir/libraries/libio/testsuite/../../../../src/egcs-1.0.3a/libio/testsuite/../tests/tio
misc.cc(.rodata+0x1c8): undefined reference to `ofstream type_info node'
/home/st38/objdir/libraries/libio/testsuite/../../../../src/egcs-1.0.3a/libio/testsuite/../tests/tio
misc.cc(.gnu.linkonce.t.__tf10my_ostream+0x13): undefined reference to
`ostream type_info function'
/home/st38/objdir/libraries/libio/testsuite/../../../../src/egcs-1.0.3a/libio/testsuite/../tests/tio
misc.cc(.gnu.linkonce.t.__tf10my_ostream+0x18): undefined reference to
`ios type_info function'
/home/st38/objdir/libraries/libio/testsuite/../../../../src/egcs-1.0.3a/libio/testsuite/../tests/tio
misc.cc(.gnu.linkonce.t.__tf1A+0x13): undefined reference to `ostream
type_info function'
/home/st38/objdir/libraries/libio/testsuite/../../../../src/egcs-1.0.3a/libio/testsuite/../tests/tio
misc.cc(.gnu.linkonce.t.__tf16special_ofstream+0x13): undefined reference
to `ofstream type_info function'
collect2: ld returned 1 exit status
FAIL: tiomisc.cc compilation
---partial libio.log end -----------------------
---partial libstc++.log begin-----------------------
Native configuration is i686-pc-linux-gnulibc1
=== libstdc++ tests ===
Running target unix
Using /home/st38/bin/../share/dejagnu/baseboards/unix.exp as board
description file for target.
Using /home/st38/bin/../share/dejagnu/config/unix.exp as generic interface
file for target.
Using ../../../../src/egcs-1.0.3a/libstdc++/testsuite/config/default.exp
as tool-and-target-specific
interface file.
Running
../../../../src/egcs-1.0.3a/libstdc++/testsuite/libstdc++.tests/test.exp...
Executing on host: /home/st38/objdir/gcc/xgcc\
-B/home/st38/objdir/gcc/../../../../src/egcs-1.0.3a/libstdc++/testsuite/libstdc++.tests/../../tests/tcomplex.cc -I..
-I../../../../src/egcs-1.0.3a/libstdc++/testsuite/..
-I../../../../src/egcs-1.0.3a/libstdc++/testsuite/../stl -I. -g
-L/home/st38/objdir/libraries/libstdc++/testsuite/../../libstdc++ -lstdc++ -lm
-o /home/st38/objdir/libraries/libstdc++/testsuite/tcomplex
compiler exited with status 1
output is:
../../../../src/egcs-1.0.3a/libstdc++/testsuite/libstdc++.tests/../../tests/tcomplex.cc:19:\
iostream.h: No such file or directory
FAIL: tcomplex.cc compilation
---partial libstc++.log end-----------------------
all 10 tests fail because of this. iostream.h is in:
/home/st38/src/egcs-1.0.3a/libio/iostream.h
/usr/include/g++/iostream.h
g++ tests are (at least partly) caused by not finding iostream.h as
well... It seems to be all libio / libio header files problems.
Ideas to work around this or mistakes I did in the building process?
I could try other binutils / dejagnu as well, if there is any point in
doing so... Feel free to require any info you need!
Michael Taeschner
More information about the Gcc-bugs
mailing list