This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cvs HEAD ld TLS test failure on i686-linux


On Mon, Apr 21, 2003 at 08:46:07AM +0200, Christian Joensson wrote:
> On Sun, Apr 20, 2003 at 04:27:57PM -0700, H. J. Lu wrote:
> > On Sun, Apr 20, 2003 at 02:40:46PM +0200, Christian Joensson wrote:
> > > In http://gcc.gnu.org/ml/gcc-testresults/2003-04/msg01250.html and it has been like that for quite a while, I get test suite failures in the ld test suite:
> > > 
> > > 		=== ld tests ===
> > > 
> > > 
> > > Running target unix
> > > FAIL: TLS -fpic -shared transitions
> > > FAIL: TLS -fpic and -fno-pic exec transitions
> > > FAIL: TLS -fno-pic -shared
> > > 
> > > 		=== ld Summary ===
> > > 
> > > # of expected passes		158
> > > # of unexpected failures	3
> > > # of expected failures		13
> > > 
> > > Is this waht to expect?
> > > 
> > 
> > I didn't see it on RedHat 9 as of 20030418.
> > 
> 
> hmm, interesting... I'll post to the list a recent build (starting it
> right now)...
> 
> http://sources.redhat.com/ml/binutils/2003-04/msg00388.html
> 
> from the 030421 snapshot.
> 
> The configure was done like this:
> 
> --prefix=/usr/local/gcc-binutils --enable-__cxa_atexit --enable-shared --enable-threads=posix
> 
> The tests that fail 
> 
> Running /usr/local/src/gcc-binutils/binutils-030421/ld/testsuite/ld-i386/i386.exp ...
> /usr/local/src/gcc-binutils/objdir/ld/../gas/as-new   -o tmpdir/tlspic1.o --32 /usr/local/src/gcc-binutils/binutils-030421/ld/testsuite/ld-i386/tlspic1.s
> /usr/local/src/gcc-binutils/objdir/ld/../gas/as-new   -o tmpdir/tlspic2.o --32 /usr/local/src/gcc-binutils/binutils-030421/ld/testsuite/ld-i386/tlspic2.s
> /usr/local/src/gcc-binutils/objdir/ld/ld-new  -o tmpdir/libtlspic.so -L/usr/local/src/gcc-binutils/binutils-030421/ld/testsuite/ld-i386 -shared -melf_i386 tmpdir/tlspic1.o tmpdir/tlspic2.o
> /usr/local/src/gcc-binutils/objdir/ld/../binutils/readelf -Ssrl tmpdir/libtlspic.so > dump.out
> regexp_diff match failure
> regexp "^Relocation section '.rel.plt' at offset 0x480 contains 1 entries:$"
> line   "Relocation section '.rel.plt' at offset 0x4b0 contains 1 entries:"
> FAIL: TLS -fpic -shared transitions
> 
> /usr/local/src/gcc-binutils/objdir/ld/../gas/as-new   -o tmpdir/tlsbinpic.o --32 /usr/local/src/gcc-binutils/binutils-030421/ld/testsuite/ld-i386/tlsbinpic.s
> /usr/local/src/gcc-binutils/objdir/ld/../gas/as-new   -o tmpdir/tlsbin.o --32 /usr/local/src/gcc-binutils/binutils-030421/ld/testsuite/ld-i386/tlsbin.s
> /usr/local/src/gcc-binutils/objdir/ld/ld-new  -o tmpdir/tlsbin -L/usr/local/src/gcc-binutils/binutils-030421/ld/testsuite/ld-i386 -melf_i386 tmpdir/libtlslib.so tmpdir/tlsbinpic.o tmpdir/tlsbin.o
> /usr/local/src/gcc-binutils/objdir/ld/../binutils/readelf -Ssrl tmpdir/tlsbin > dump.out
> regexp_diff match failure
> regexp "^  \[13\] \.got +PROGBITS +0+804a100 .*$"
> line   "  [13] .got              PROGBITS        0804a108 002108 000034 04  WA  0   0  4"
> regexp_diff match failure
> regexp "^0+804a110  0000010e R_386_TLS_TPOFF +0+ +sG3$"
> line   "0804a118  0000010e R_386_TLS_TPOFF   00000000   sG3"
> regexp_diff match failure
> regexp "^0+804a114  0000020e R_386_TLS_TPOFF +0+ +sG5$"
> line   "0804a11c  0000020e R_386_TLS_TPOFF   00000000   sG5"
> regexp_diff match failure
> regexp "^0+804a118  0000040e R_386_TLS_TPOFF +0+ +sG7$"
> line   "0804a120  0000040e R_386_TLS_TPOFF   00000000   sG7"
> regexp_diff match failure
> regexp "^0+804a11c  00000525 R_386_TLS_TPOFF32 0+ +sG2$"
> line   "0804a124  00000525 R_386_TLS_TPOFF32 00000000   sG2"
> regexp_diff match failure
> regexp "^0+804a120  00000625 R_386_TLS_TPOFF32 0+ +sG4$"
> line   "0804a128  00000625 R_386_TLS_TPOFF32 00000000   sG4"
> regexp_diff match failure
> regexp "^0+804a124  0000060e R_386_TLS_TPOFF +0+ +sG4$"
> line   "0804a12c  0000060e R_386_TLS_TPOFF   00000000   sG4"
> regexp_diff match failure
> regexp "^0+804a128  00000825 R_386_TLS_TPOFF32 0+ +sG6$"
> line   "0804a130  00000825 R_386_TLS_TPOFF32 00000000   sG6"
> regexp_diff match failure
> regexp "^0+804a12c  00000925 R_386_TLS_TPOFF32 0+ +sG1$"
> line   "0804a134  00000925 R_386_TLS_TPOFF32 00000000   sG1"
> regexp_diff match failure
> regexp "^0+804a130  00000d0e R_386_TLS_TPOFF +0+ +sG8$"
> line   "0804a138  00000d0e R_386_TLS_TPOFF   00000000   sG8"
> regexp_diff match failure
> regexp "^Relocation section '.rel.plt' at offset 0x30c contains 1 entries:$"
> line   "Relocation section '.rel.plt' at offset 0x33c contains 1 entries:"
> regexp_diff match failure
> regexp "^0+804a10c  00000e07 R_386_JUMP_SLOT +[0-9a-f]+ +___tls_get_addr$"
> line   "0804a114  00000e07 R_386_JUMP_SLOT   08048354   ___tls_get_addr"
> regexp_diff match failure
> regexp "^ +11: 0+804a100 +0 OBJECT  GLOBAL DEFAULT  ABS _GLOBAL_OFFSET_TABLE_$"
> line   "    11: 0804a108     0 OBJECT  GLOBAL DEFAULT  ABS _GLOBAL_OFFSET_TABLE_"
> regexp_diff match failure
> regexp "^ +56: 0+804a134 +0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start$"
> line   "    56: 0804a13c     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start"
> regexp_diff match failure
> regexp "^ +65: 0+804a100 +0 OBJECT  GLOBAL DEFAULT  ABS _GLOBAL_OFFSET_TABLE_$"
> line   "    65: 0804a108     0 OBJECT  GLOBAL DEFAULT  ABS _GLOBAL_OFFSET_TABLE_"
> FAIL: TLS -fpic and -fno-pic exec transitions
> /usr/local/src/gcc-binutils/objdir/ld/../gas/as-new   -o tmpdir/tlsnopic1.o --32 /usr/local/src/gcc-binutils/binutils-030421/ld/testsuite/ld-i386/tlsnopic1.s
> /usr/local/src/gcc-binutils/objdir/ld/../gas/as-new   -o tmpdir/tlsnopic2.o --32 /usr/local/src/gcc-binutils/binutils-030421/ld/testsuite/ld-i386/tlsnopic2.s
> /usr/local/src/gcc-binutils/objdir/ld/ld-new  -o tmpdir/libtlsnopic.so -L/usr/local/src/gcc-binutils/binutils-030421/ld/testsuite/ld-i386 -shared -melf_i386 tmpdir/tlsnopic1.o tmpdir/tlsnopic2.o
> /usr/local/src/gcc-binutils/objdir/ld/../binutils/readelf -Ssrl tmpdir/libtlsnopic.so > dump.out
> regexp_diff match failure
> regexp "^  \[ 9\] \.got +PROGBITS +0+2080 .*$"
> line   "  [ 9] .got              PROGBITS        00002088 002088 000024 04  WA  0   0  4"
> regexp_diff match failure
> regexp "^0+208c  0+e R_386_TLS_TPOFF +$"
> line   "00002094  0000000e R_386_TLS_TPOFF  "
> regexp_diff match failure
> regexp "^0+2090  0+e R_386_TLS_TPOFF +$"
> line   "00002098  0000000e R_386_TLS_TPOFF  "
> regexp_diff match failure
> regexp "^0+209c  0+e R_386_TLS_TPOFF +$"
> line   "000020a4  0000000e R_386_TLS_TPOFF  "
> regexp_diff match failure
> regexp "^0+20a0  0+e R_386_TLS_TPOFF +$"
> line   "000020a8  0000000e R_386_TLS_TPOFF  "
> regexp_diff match failure
> regexp "^0+2094  0+100e R_386_TLS_TPOFF   0+   sg1$"
> line   "0000209c  0000100e R_386_TLS_TPOFF   00000000   sg1"
> regexp_diff match failure
> regexp "^0+2098  0+120e R_386_TLS_TPOFF   0+   sg2$"
> line   "000020a0  0000120e R_386_TLS_TPOFF   00000000   sg2"
> regexp_diff match failure
> regexp "^ +20: 0+2080 +0 OBJECT  GLOBAL DEFAULT  ABS _GLOBAL_OFFSET_TABLE_$"
> line   "    20: 00002088     0 OBJECT  GLOBAL DEFAULT  ABS _GLOBAL_OFFSET_TABLE_"
> regexp_diff match failure
> regexp "^ +32: 0+2080 +0 OBJECT  GLOBAL DEFAULT  ABS _GLOBAL_OFFSET_TABLE_$"
> line   "    32: 00002088     0 OBJECT  GLOBAL DEFAULT  ABS _GLOBAL_OFFSET_TABLE_"
> FAIL: TLS -fno-pic -shared
> 
> Cheers,
> 

As of CVS at 8am PDT on 2003-04-22, they are clean for me on RedHat 9
with all updates applied.



H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]