This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Testresults for binutils 2.14.90 20030608 on i686-linux
- From: Christian Joensson <c dot christian dot joensson at telia dot com>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Mon, 9 Jun 2003 09:20:26 +0200
- Subject: Re: Testresults for binutils 2.14.90 20030608 on i686-linux
- References: <20030608141758.GA12404@pentium3.j-son.org>
On Sun, Jun 08, 2003 at 04:17:59PM +0200, Christian Joensson wrote:
> Red Hat Linux 9 (Shrike) ia32 dual pentium III i686:
>
> binutils-2.13.90.0.18-9
> bison-1.35-6
> dejagnu-1.4.2-10
> expect-5.38.0-88
> gcc-3.2.2-5
> glibc-2.3.2-27.9
> glibc-kernheaders-2.4-8.10
> kernel-smp-2.4.20-18.9
> tcl-8.3.5-88
>
> LAST_UPDATED: Sun Jun 8 06:09:08 UTC 2003
>
> version: binutils 2.14.90 20030608
>
> http://gcc.gnu.org/ml/gcc-testresults/2003-06/msg00447.html
>
> Is this what to expect?
well, same for 2.14.90 20030609, i.e., all tests pass, except for the ld ones:
=== ld tests ===
Running target unix/-fPIC
FAIL: visibility (hidden_undef_def) (non PIC)
FAIL: visibility (hidden_undef_def) (non PIC, load offset)
FAIL: visibility (hidden_undef_def)
FAIL: visibility (hidden_undef_def) (PIC main, non PIC so)
FAIL: visibility (hidden_undef_def) (PIC main)
FAIL: S-records
FAIL: S-records with constructors
and from the logs file:
/usr/local/src/trunk/objdir/gcc/xgcc -B/usr/local/src/trunk/objdir/gcc/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/include -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/sys-include -L/usr/local/src/trunk/objdir/ld -g -g -O2 -DHIDDEN_UNDEF_TEST -DDSO_DEFINE_TEST -B/usr/local/src/trunk/objdir/ld/tmpdir/gas/ -I/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-elfvsb -g -O2 -fPIC -c /usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
/usr/local/src/trunk/objdir/gcc/xgcc -B/usr/local/src/trunk/objdir/gcc/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/include -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/sys-include -L/usr/local/src/trunk/objdir/ld -g -g -O2 -DHIDDEN_UNDEF_TEST -DDSO_DEFINE_TEST -B/usr/local/src/trunk/objdir/ld/tmpdir/gas/ -I/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-elfvsb -g -O2 -fPIC -c /usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
/usr/local/src/trunk/objdir/gcc/xgcc -B/usr/local/src/trunk/objdir/gcc/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/include -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/sys-include -L/usr/local/src/trunk/objdir/ld -g -g -O2 -DHIDDEN_UNDEF_TEST -DDSO_DEFINE_TEST -B/usr/local/src/trunk/objdir/ld/tmpdir/gas/ -I/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-elfvsb -g -O2 -fPIC -c /usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/trunk/objdir/gcc/xgcc -B/usr/local/src/trunk/objdir/gcc/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/include -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/sys-include -L/usr/local/src/trunk/objdir/ld -B/usr/local/src/trunk/objdir/ld/tmpdir/ld/ -L/usr/local/gcc-binutils/i686-pc-linux-gnu/lib -L/usr/local/gcc-binutils/lib -L/usr/local/lib -L/lib -L/usr/lib -o tmpdir/vnp.so -shared tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/trunk/objdir/gcc/xgcc -B/usr/local/src/trunk/objdir/gcc/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/include -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/sys-include -L/usr/local/src/trunk/objdir/ld -B/usr/local/src/trunk/objdir/ld/tmpdir/ld/ -L/usr/local/gcc-binutils/i686-pc-linux-gnu/lib -L/usr/local/gcc-binutils/lib -L/usr/local/lib -L/lib -L/usr/lib -o tmpdir/vnp -Wl,-rpath,tmpdir tmpdir/mainnp.o tmpdir/vnp.so
tmpdir/mainnp.o(.text+0x29): In function `main_visibility_check':
/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-elfvsb/main.c:120: undefined reference to `visibility'
tmpdir/mainnp.o(.text+0x63): In function `main_visibility_checkvar':
/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-elfvsb/main.c:131: undefined reference to `visibility_var'
lt-ld-new: tmpdir/vnp: hidden symbol `visibility_def' isn't defined
collect2: ld returned 1 exit status
FAIL: visibility (hidden_undef_def) (non PIC)
/usr/local/src/trunk/objdir/gcc/xgcc -B/usr/local/src/trunk/objdir/gcc/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/include -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/sys-include -L/usr/local/src/trunk/objdir/ld -B/usr/local/src/trunk/objdir/ld/tmpdir/ld/ -L/usr/local/gcc-binutils/i686-pc-linux-gnu/lib -L/usr/local/gcc-binutils/lib -L/usr/local/lib -L/lib -L/usr/lib -o tmpdir/vnp.so -shared -T /usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/trunk/objdir/gcc/xgcc -B/usr/local/src/trunk/objdir/gcc/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/lib/ fvsb -g -O2 -fPIC -c /usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/trunk/objdir/gcc/xgcc -B/usr/local/src/trunk/objdir/gcc/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/include -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/sys-include -L/usr/local/src/trunk/objdir/ld -B/usr/local/src/trunk/objdir/ld/tmpdir/ld/ -L/usr/local/gcc-binutils/i686-pc-linux-gnu/lib -L/usr/local/gcc-binutils/lib -L/usr/local/lib -L/lib -L/usr/lib -o tmpdir/vmpnp.so -shared tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/trunk/objdir/gcc/xgcc -B/usr/local/src/trunk/objdir/gcc/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/include -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/sys-include -L/usr/local/src/trunk/objdir/ld -B/usr/local/src/trunk/objdir/ld/tmpdir/ld/ -L/usr/local/gcc-binutils/i686-pc-linux-gnu/lib -L/usr/local/gcc-binutils/lib -L/usr/local/lib -L/lib -L/usr/lib -o tmpdir/vmpnp -Wl,-rpath,tmpdir tmpdir/mainp.o tmpdir/vmpnp.so
tmpdir/mainp.o(.text+0x29): In function `main_visibility_check':
/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-elfvsb/main.c:120: undefined reference to `visibility'
tmpdir/main
and
Running /usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec/srec.exp ...
/usr/local/src/trunk/objdir/gcc/xgcc -B/usr/local/src/trunk/objdir/gcc/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/include -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/sys-include -L/usr/local/src/trunk/objdir/ld -B/usr/local/src/trunk/objdir/ld/tmpdir/gas/ -I/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec -g -O2 -fPIC -c /usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec/sr1.c -o tmpdir/sr1.o
/usr/local/src/trunk/objdir/gcc/xgcc -B/usr/local/src/trunk/objdir/gcc/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/include -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/sys-include -L/usr/local/src/trunk/objdir/ld -B/usr/local/src/trunk/objdir/ld/tmpdir/gas/ -I/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec -g -O2 -fPIC -c /usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec/sr2.c -o tmpdir/sr2.o
/usr/local/src/trunk/objdir/ld/ld-new -o tmpdir/sr1 --traditional-format -Ttext 0x1000 tmpdir/sr1.o tmpdir/sr2.o
/usr/local/src/trunk/objdir/ld/ld-new -o tmpdir/sr2.sr --traditional-format -Ttext 0x1000 --oformat srec tmpdir/sr1.o tmpdir/sr2.o
tmpdir/sr1.o(.text+0x11): In function `main':
/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec/sr1.c:16: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0x7): In function `fn1':
/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec/sr2.c:9: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0x27): In function `fn2':
/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec/sr2.c:16: undefined reference to `_GLOBAL_OFFSET_TABLE_'
FAIL: S-records
/usr/local/src/trunk/objdir/gcc/g++ -B/usr/local/src/trunk/objdir/gcc/ -nostdinc++ -nostdinc++ -I/usr/local/src/trunk/objdir/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/usr/local/src/trunk/objdir/i686-pc-linux-gnu/libstdc++-v3/include -I/usr/local/src/trunk/gcc-binutils/libstdc++-v3/libsupc++ -I/usr/local/src/trunk/gcc-binutils/libstdc++-v3/libio -I/usr/local/src/trunk/gcc-binutils/libstdc++-v3/include/backward -I/usr/local/src/trunk/gcc-binutils/libstdc++-v3/testsuite -L/usr/local/src/trunk/objdir/i686-pc-linux-gnu/libstdc++-v3/src -L/usr/local/src/trunk/objdir/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/gcc-binutils/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/include -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/sys-include -L/usr/local/src/trunk/objdir/ld -g -O2 -fgnu-linker -fno-exceptions -B/usr/local/src/trunk/objdir/ld/tmpdir/gas/ -I/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec -g -O2 -fPIC -c /usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec/sr3.cc -o tmpdir/sr3.o
/usr/local/src/trunk/objdir/ld/ld-new -o tmpdir/sr1 --traditional-format -Ttext 0x1000 tmpdir/sr3.o
/usr/local/src/trunk/objdir/ld/ld-new -o tmpdir/sr2.sr --traditional-format -Ttext 0x1000 --oformat srec tmpdir/sr3.o
tmpdir/sr3.o(.text+0x10): In function `main':
/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec/sr3.cc:24: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0xe7): In function `Foo::init_foo()':
/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec/sr3.cc:87: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x107): In function `Foo::Foo()':
/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec/sr3.cc:92: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x127): In function `Foo::Foo()':
/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec/sr3.cc:92: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x147): In function `Foo::Foo(char*)':
/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec/sr3.cc:97: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x167):/usr/local/src/trunk/gcc-binutils/ld/testsuite/ld-srec/sr3.cc:97: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
FAIL: S-records with constructors
=== ld Summary for unix/-fPIC ===
# of expected passes 185
# of unexpected failures 7
# of expected failures 1
Running target unix
FAIL: visibility (hidden_undef_def) (non PIC)
FAIL: visibility (hidden_undef_def) (non PIC, load offset)
FAIL: visibility (hidden_undef_def)
FAIL: visibility (hidden_undef_def) (PIC main, non PIC so)
FAIL: visibility (hidden_undef_def) (PIC main)
the same undefined reference to `visibility_var' and hidden symbol
`visibility_def' isn't defined
=== ld Summary for unix ===
# of expected passes 187
# of unexpected failures 5
# of expected failures 1
=== ld Summary ===
# of expected passes 372
# of unexpected failures 12
# of expected failures 2
Any ideas on what is wrong here?
/ChJ