This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ld testsuite failures
- To: binutils at sourceware dot cygnus dot com
- Subject: ld testsuite failures
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Thu, 7 Dec 2000 19:18:11 -0500 (EST)
I see the following testsuite failures for ld under i686 linux with gcc 2.97:
[snip]
Running /home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest/cdtest.exp ...
c++ -L/home/dave/gnu/binutils-2.10.91/objdir/ld -g -O2 -fgnu-linker -B/home/dave/gnu/binutils-2.10.91/objdir/ld/tmpdir/gas/ -I/home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest -O3 -c /home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest/cdtest-foo.cc -o tmpdir/cdtest-foo.o
c++ -L/home/dave/gnu/binutils-2.10.91/objdir/ld -g -O2 -fgnu-linker -B/home/dave/gnu/binutils-2.10.91/objdir/ld/tmpdir/gas/ -I/home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest -O3 -c /home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest/cdtest-bar.cc -o tmpdir/cdtest-bar.o
c++ -L/home/dave/gnu/binutils-2.10.91/objdir/ld -g -O2 -fgnu-linker -B/home/dave/gnu/binutils-2.10.91/objdir/ld/tmpdir/gas/ -I/home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest -O3 -c /home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest/cdtest-main.cc -o tmpdir/cdtest-main.o
/home/dave/gnu/binutils-2.10.91/objdir/ld/ld-new -m elf_i386 -o tmpdir/cdtest -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.97/crtbegin.o tmpdir/cdtest-foo.o tmpdir/cdtest-bar.o tmpdir/cdtest-main.o /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.97/libgcc.a -L/usr/lib -lc /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.97/libgcc.a /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.97/crtend.o /usr/lib/crtn.o
tmpdir/cdtest-foo.o: In function `Foo::~Foo()':
/home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest/cdtest-foo.cc:89: undefined reference to `operator delete(void*)'
tmpdir/cdtest-bar.o: In function `f()':
/home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest/cdtest-bar.cc:10: undefined reference to `std::terminate()'
tmpdir/cdtest-bar.o: In function `g()':
/home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest/cdtest-bar.cc:17: undefined reference to `std::terminate()'
tmpdir/cdtest-main.o: In function `main':
/home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest/cdtest-main.cc:39: undefined reference to `std::terminate()'
FAIL: cdtest
/home/dave/gnu/binutils-2.10.91/objdir/ld/ld-new -m elf_i386 -o tmpdir/cdtest.o -r -Ur tmpdir/cdtest-foo.o tmpdir/cdtest-bar.o tmpdir/cdtest-main.o
/home/dave/gnu/binutils-2.10.91/objdir/ld/ld-new -m elf_i386 -o tmpdir/cdtest -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.97/crtbegin.o tmpdir/cdtest.o /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.97/libgcc.a -L/usr/lib -lc /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.97/libgcc.a /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.97/crtend.o /usr/lib/crtn.o
tmpdir/cdtest.o: In function `Foo::~Foo()':
/home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest/cdtest-foo.cc:89: undefined reference to `operator delete(void*)'
tmpdir/cdtest.o: In function `f()':
/home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest/cdtest-bar.cc:10: undefined reference to `std::terminate()'
tmpdir/cdtest.o: In function `g()':
/home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest/cdtest-bar.cc:17: undefined reference to `std::terminate()'
tmpdir/cdtest.o: In function `main':
/home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest/cdtest-main.cc:39: undefined reference to `std::terminate()'
FAIL: cdtest with -Ur
testcase /home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-cdtest/cdtest.exp completed in 2 seconds
[snip]
c++ -L/home/dave/gnu/binutils-2.10.91/objdir/ld -g -O2 -fgnu-linker -B/home/dave/gnu/binutils-2.10.91/objdir/ld/tmpdir/gas/ -I/home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-srec -O3 -c /home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-srec/sr3.cc -o tmpdir/sr3.o
/home/dave/gnu/binutils-2.10.91/objdir/ld/ld-new -o tmpdir/sr1 -Ttext 0x1000 tmpdir/sr3.o
tmpdir/sr3.o: In function `Foo::~Foo()':
/home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-srec/sr3.cc:118: undefined reference to `operator delete(void*)'
FAIL: S-records with constructors
testcase /home/dave/gnu/binutils-2.10.91/ld/testsuite/ld-srec/srec.exp completed in 1 seconds
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)