This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Results for binutils 2.14.90 20030506 testsuite on sparc-unknown-linux-gnu
- From: Christian Joensson <c dot christian dot joensson at telia dot com>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Tue, 6 May 2003 15:25:01 +0200
- Subject: Re: Results for binutils 2.14.90 20030506 testsuite on sparc-unknown-linux-gnu
- References: <20030506150014.A28589@u1sparc.j-son.org>
On Tue, May 06, 2003 at 03:00:15PM +0200, Christian Joensson wrote:
> Aurora SPARC Linux 1.0 (Ansel) Ultra1 single UltraSparc I sun4u:
>
> binutils 2.14.90 20030505 sparc64-linux
> bison-1.35-1
> dejagnu-1.4.2-10 (ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS)
> expect-5.32.2-67
> gcc 20030505 (prerelease) sparc64-linux
> glibc-2.2.5-42
> glibc-kernheaders-2.4-7.16sparc
> glibc64-2.2.5-42
> kernel-2.4.20-3.1sparc (experimental Aurora kernel)
> tcl-8.3.3-67
>
> LAST_UPDATED: Tue May 6 11:00:34 UTC 2003
>
> Native configuration is sparc-unknown-linux-gnu
snip
> === ld tests ===
>
>
> Running target unix/-fPIC
> FAIL: ELF weak func first DSO
> FAIL: ELF weak func last DSO
> FAIL: ELF weak data first DSO
> FAIL: ELF weak data last DSO
> FAIL: ELF weak data first DSO common
> FAIL: ELF weak data last DSO common
> FAIL: NOCROSSREFS 1
> FAIL: S-records
> FAIL: S-records with constructors
these failures are:
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/main.o tmpdir/libbar.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weak.dat
1c1
< strong foo
---
> weak foo
child process exited abnormally
FAIL: ELF weak func first DSO
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/libbar.so tmpdir/main.o -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weak.dat
1c1
< strong foo
---
> weak foo
child process exited abnormally
FAIL: ELF weak func last DSO
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/main1.o tmpdir/libbar1a.so tmpdir/libfoo1a.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weakdata.dat
1c1
< strong deallocate_foo
---
> weak deallocate_foo
child process exited abnormally
FAIL: ELF weak data first DSO
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/libfoo1a.so tmpdir/main1.o tmpdir/libbar1a.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weakdata.dat
1c1
< strong deallocate_foo
---
> weak deallocate_foo
child process exited abnormally
FAIL: ELF weak data last DSO
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/main1.o tmpdir/libbar1a.so tmpdir/libfoo1b.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weakdata.dat
1c1
< strong deallocate_foo
---
> weak deallocate_foo
child process exited abnormally
FAIL: ELF weak data first DSO common
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/libfoo1b.so tmpdir/main1.o tmpdir/libbar1a.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weakdata.dat
1c1
< strong deallocate_foo
---
> weak deallocate_foo
child process exited abnormally
FAIL: ELF weak data last DSO common
testcase /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/elfweak.exp completed in 27 seconds
Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-scripts/crossref.exp ...
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-scripts -g -O2 -fPIC -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-scripts/cross1.c -o tmpdir/cross1.o
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-scripts -g -O2 -fPIC -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-scripts/cross2.c -o tmpdir/cross2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/cross1 -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-scripts/cross1.t tmpdir/cross1.o tmpdir/cross2.o
lt-ld-new: BFD 2.14.90 20030506 internal error, aborting at /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c line 2346 in elf32_sparc_relocate_section
lt-ld-new: Please report this bug.
FAIL: NOCROSSREFS 1
Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/srec.exp ...
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec -g -O2 -fPIC -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c -o tmpdir/sr1.o
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec -g -O2 -fPIC -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c -o tmpdir/sr2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/sr1 --traditional-format -Ttext 0x1000 tmpdir/sr1.o tmpdir/sr2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/sr2.sr --traditional-format -Ttext 0x1000 --oformat srec tmpdir/sr1.o tmpdir/sr2.o
tmpdir/sr1.o(.text+0xc): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:16: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr1.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:16: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0xc): In function `fn1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:9: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:9: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0x3c): In function `fn2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:16: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0x44):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:16: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
FAIL: S-records
g++ -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -g -O2 -fgnu-linker -fno-exceptions -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec -g -O2 -fPIC -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc -o tmpdir/sr3.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/sr1 --traditional-format -Ttext 0x1000 tmpdir/sr3.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/sr2.sr --traditional-format -Ttext 0x1000 --oformat srec tmpdir/sr3.o
tmpdir/sr3.o(.text+0xc): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:24: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:24: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0xb0): In function `Foo::init_foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:87: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0xb8):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:87: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0xe0): In function `Foo::Foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:92: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0xe8):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:92: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
FAIL: S-records with constructors
> === ld Summary for unix/-fPIC ===
>
> # of expected passes 171
> # of unexpected failures 9
> # of expected failures 2
>
> Running target unix/-fpic
> FAIL: vers3
> FAIL: vers4
> FAIL: vers4a
> FAIL: vers6
> FAIL: vers15
> FAIL: vers19
> FAIL: ELF weak func first DSO
> FAIL: ELF weak func last DSO
> FAIL: ELF weak data first DSO
> FAIL: ELF weak data last DSO
> FAIL: ELF weak data first DSO common
> FAIL: ELF weak data last DSO common
> FAIL: NOCROSSREFS 1
> FAIL: S-records
> FAIL: S-records with constructors
these are:
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -S -g -O2 -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers -g -O2 -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers3.c -o tmpdir/vers3.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../gas/as-new -o tmpdir/vers3.o tmpdir/vers3.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/vers3 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o tmpdir/vers3.o tmpdir/vers1.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
tmpdir/vers3.o(.text+0x28): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers3.c:11: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
FAIL: vers3
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -S -g -O2 -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers -g -O2 -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers4.c -o tmpdir/vers4.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../gas/as-new -o tmpdir/vers4.o tmpdir/vers4.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/vers4 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o tmpdir/vers4.o -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
tmpdir/vers4.o(.text+0x48): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers4.c:29: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
FAIL: vers4
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -S -g -O2 -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers -g -O2 -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers4.c -o tmpdir/vers4a.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../gas/as-new -o tmpdir/vers4a.o tmpdir/vers4a.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/vers4a -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -export-dynamic tmpdir/vers4a.o -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
tmpdir/vers4a.o(.text+0x48): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers4.c:29: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
FAIL: vers4a
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -S -g -O2 -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers -g -O2 -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers6.c -o tmpdir/vers6.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../gas/as-new -o tmpdir/vers6.o tmpdir/vers6.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/vers6 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o tmpdir/vers6.o tmpdir/vers1.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
tmpdir/vers6.o(.text+0x28): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers6.c:15: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
tmpdir/vers6.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers6.c:16: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
tmpdir/vers6.o(.text+0x50):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers6.c:17: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
tmpdir/vers6.o(.text+0x64):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers6.c:18: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
FAIL: vers6
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -S -g -O2 -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers -g -O2 -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers15.c -o tmpdir/vers15.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../gas/as-new -o tmpdir/vers15.o tmpdir/vers15.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/vers15 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o tmpdir/vers15.o tmpdir/vers1.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
tmpdir/vers15.o(.text+0x40): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers15.c:28: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
tmpdir/vers15.o(.text+0x54):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers15.c:29: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
tmpdir/vers15.o(.text+0x68):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers15.c:30: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
FAIL: vers15
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -S -g -O2 -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers -g -O2 -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers19.c -o tmpdir/vers19.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../gas/as-new -o tmpdir/vers19.o tmpdir/vers19.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/vers19 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/vers19.o tmpdir/vers18.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
tmpdir/vers19.o(.text+0x28): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers19.c:8: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
FAIL: vers19
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/main.o tmpdir/libbar.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weak.dat
1c1
< strong foo
---
> weak foo
child process exited abnormally
FAIL: ELF weak func first DSO
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/libbar.so tmpdir/main.o -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weak.dat
1c1
< strong foo
---
> weak foo
child process exited abnormally
FAIL: ELF weak func last DSO
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/main1.o tmpdir/libbar1a.so tmpdir/libfoo1a.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weakdata.dat
1c1
< strong deallocate_foo
---
> weak deallocate_foo
child process exited abnormally
FAIL: ELF weak data first DSO
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/libfoo1a.so tmpdir/main1.o tmpdir/libbar1a.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weakdata.dat
1c1
< strong deallocate_foo
---
> weak deallocate_foo
child process exited abnormally
FAIL: ELF weak data last DSO
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/main1.o tmpdir/libbar1a.so tmpdir/libfoo1b.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weakdata.dat
1c1
< strong deallocate_foo
---
> weak deallocate_foo
child process exited abnormally
FAIL: ELF weak data first DSO common
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/libfoo1b.so tmpdir/main1.o tmpdir/libbar1a.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weakdata.dat
1c1
< strong deallocate_foo
---
> weak deallocate_foo
child process exited abnormally
FAIL: ELF weak data last DSO common
Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-scripts/crossref.exp ...
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-scripts -g -O2 -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-scripts/cross1.c -o tmpdir/cross1.o
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-scripts -g -O2 -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-scripts/cross2.c -o tmpdir/cross2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/cross1 -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-scripts/cross1.t tmpdir/cross1.o tmpdir/cross2.o
lt-ld-new: BFD 2.14.90 20030506 internal error, aborting at /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c line 2346 in elf32_sparc_relocate_section
lt-ld-new: Please report this bug.
FAIL: NOCROSSREFS 1
Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/srec.exp ...
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec -g -O2 -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c -o tmpdir/sr1.o
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec -g -O2 -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c -o tmpdir/sr2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/sr1 --traditional-format -Ttext 0x1000 tmpdir/sr1.o tmpdir/sr2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/sr2.sr --traditional-format -Ttext 0x1000 --oformat srec tmpdir/sr1.o tmpdir/sr2.o
tmpdir/sr1.o(.text+0xc): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:16: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr1.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:16: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr1.o(.text+0x1c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:17: relocation truncated to fit: R_SPARC_GOT13 ab
tmpdir/sr1.o(.text+0x24):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:18: relocation truncated to fit: R_SPARC_GOT13 .LLC0
tmpdir/sr1.o(.text+0x28):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: relocation truncated to fit: R_SPARC_GOT13 e1
tmpdir/sr1.o(.text+0x2c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: relocation truncated to fit: R_SPARC_GOT13 e2
tmpdir/sr1.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sr1.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: relocation truncated to fit: R_SPARC_GOT13 j
tmpdir/sr1.o(.text+0x48):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: relocation truncated to fit: R_SPARC_GOT13 k
tmpdir/sr1.o(.text+0x4c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: relocation truncated to fit: R_SPARC_GOT13 l
tmpdir/sr2.o(.text+0xc): In function `fn1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:9: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:9: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:10: relocation truncated to fit: R_SPARC_GOT13 e1
tmpdir/sr2.o(.text+0x34): In function `fn2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:16: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:16: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sr2.o(.text+0x40): In function `fn2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:17: relocation truncated to fit: R_SPARC_GOT13 e2
FAIL: S-records
g++ -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -g -O2 -fgnu-linker -fno-exceptions -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec -g -O2 -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc -o tmpdir/sr3.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/sr1 --traditional-format -Ttext 0x1000 tmpdir/sr3.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/sr2.sr --traditional-format -Ttext 0x1000 --oformat srec tmpdir/sr3.o
tmpdir/sr3.o(.text+0xc): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:24: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:24: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:25: relocation truncated to fit: R_SPARC_GOT13 .LLC0
tmpdir/sr3.o(.text+0xa8): In function `Foo::init_foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:87: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0xb0):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:87: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0xb4):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:88: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0xd0): In function `Foo::Foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:92: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0xd8):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:92: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sr3.o(.text+0xdc): In function `Foo::Foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:93: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x10c): In function `Foo::Foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:93: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x13c): In function `Foo::Foo(char*)':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:98: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x16c): In function `Foo::Foo(char*)':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:98: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x19c): In function `Foo::Foo(Foo const&)':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:103: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x1ec): In function `Foo::Foo(Foo const&)':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:103: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x268): In function `Foo::~Foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:117: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x294): In function `Foo::~Foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:117: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x2ec): In function `__static_initialization_and_destruction_0':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:20: relocation truncated to fit: R_SPARC_GOT13 static_foo
tmpdir/sr3.o(.text+0x2f0):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:20: relocation truncated to fit: R_SPARC_GOT13 .LLC1
tmpdir/sr3.o(.text+0x2fc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:20: relocation truncated to fit: R_SPARC_GOT13 __tcf_0
tmpdir/sr3.o(.text+0x300):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:20: relocation truncated to fit: R_SPARC_GOT13 __dso_handle
tmpdir/sr3.o(.text+0x328): In function `__tcf_0':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:20: relocation truncated to fit: R_SPARC_GOT13 static_foo
FAIL: S-records with constructors
> === ld Summary for unix/-fpic ===
>
> # of expected passes 165
> # of unexpected failures 15
> # of expected failures 2
>
> Running target unix
> FAIL: visibility (hidden_weak) (non PIC)
> FAIL: visibility (hidden_weak) (non PIC, load offset)
> FAIL: visibility (hidden_weak) (PIC main, non PIC so)
> FAIL: visibility (protected_weak) (non PIC)
> FAIL: visibility (protected_weak) (non PIC, load offset)
> FAIL: visibility (protected_weak) (PIC main, non PIC so)
> FAIL: ELF weak func first DSO
> FAIL: ELF weak func last DSO
> FAIL: ELF weak data first DSO
> FAIL: ELF weak data last DSO
> FAIL: ELF weak data first DSO common
> FAIL: ELF weak data last DSO common
finally, these are:
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -g -g -O2 -DHIDDEN_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -g -g -O2 -DHIDDEN_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -g -g -O2 -DHIDDEN_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/vnp.so -shared tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
FAIL: visibility (hidden_weak) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
FAIL: visibility (hidden_weak) (non PIC, load offset)
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -g -g -O2 -DHIDDEN_WEAK_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/vmpnp.so -shared tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
FAIL: visibility (hidden_weak) (PIC main, non PIC so)
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -g -g -O2 -DPROTECTED_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -g -g -O2 -DPROTECTED_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -g -g -O2 -DPROTECTED_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/vnp.so -shared tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
FAIL: visibility (protected_weak) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
FAIL: visibility (protected_weak) (non PIC, load offset)
gcc -m32 -L/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld -g -g -O2 -DPROTECTED_WEAK_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -o tmpdir/vmpnp.so -shared tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
lt-ld-new: BFD 2.14.90 20030506 assertion fail /usr/local/src/gcc-binutils/trunk/src/bfd/elf32-sparc.c:2472
FAIL: visibility (protected_weak) (PIC main, non PIC so)
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/main.o tmpdir/libbar.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weak.dat
1c1
< strong foo
---
> weak foo
child process exited abnormally
FAIL: ELF weak func first DSO
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/libbar.so tmpdir/main.o -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weak.dat
1c1
< strong foo
---
> weak foo
child process exited abnormally
FAIL: ELF weak func last DSO
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/main1.o tmpdir/libbar1a.so tmpdir/libfoo1a.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weakdata.dat
1c1
< strong deallocate_foo
---
> weak deallocate_foo
child process exited abnormally
FAIL: ELF weak data first DSO
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/libfoo1a.so tmpdir/main1.o tmpdir/libbar1a.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weakdata.dat
1c1
< strong deallocate_foo
---
> weak deallocate_foo
child process exited abnormally
FAIL: ELF weak data last DSO
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/main1.o tmpdir/libbar1a.so tmpdir/libfoo1b.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weakdata.dat
1c1
< strong deallocate_foo
---
> weak deallocate_foo
child process exited abnormally
FAIL: ELF weak data first DSO common
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/ld-new -m elf32_sparc -o tmpdir/foo -dynamic-linker /lib/ld-linux.so.2 /usr/lib/../lib/crt1.o /usr/lib/../lib/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtbegin.o -rpath . tmpdir/libfoo1b.so tmpdir/main1.o tmpdir/libbar1a.so -L/usr/lib/../lib /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-unknown-linux-gnu/3.3/32/crtend.o /usr/lib/../lib/crtn.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils32/ld/../binutils/objdump --dynamic-syms tmpdir/foo | grep foo$ > tmpdir/objdump.out
tmpdir/foo >tmpdir/foo.out
diff tmpdir/foo.out /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/weakdata.dat
1c1
< strong deallocate_foo
---
> weak deallocate_foo
child process exited abnormally
FAIL: ELF weak data last DSO common
testcase /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/elfweak.exp completed in 26 seconds
> === ld Summary for unix ===
>
> # of expected passes 168
> # of unexpected failures 12
> # of expected failures 2
>
> === ld Summary ===
>
> # of expected passes 504
> # of unexpected failures 36
> # of expected failures 6
>
> version: binutils 2.14.90 20030506
> Platform: sparc-unknown-linux-gnu
> configure flags: --prefix=/usr/local/gcc-binutils --enable-__cxa_atexit --enable-shared --enable-threads=posix
> Counting all warnings,
> there are 13 warnings in stage0 of this bootstrap.
>
> Number of warnings per file:
> 10 libiberty/regex.c
> 2 include/xregex2.h
> 1 lex.yy.c
>
> Number of warning types:
> 8 signed and unsigned type in conditional expression
> 2 unused parameter \`???'
> 2 ISO C90 does not support \`static' or type qualifiers in parameter array declarators
> 1 \`???' defined but not used
Cheers,
/ChJ