[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/20308] Gold should support i386 TLS code sequences without PLT
From: |
ncahill_alt at yahoo dot com |
Subject: |
[Bug gold/20308] Gold should support i386 TLS code sequences without PLT |
Date: |
Wed, 17 Aug 2016 18:07:18 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20308
--- Comment #12 from ncahill_alt at yahoo dot com ---
(In reply to H.J. Lu from comment #10)
> (In reply to ncahill_alt from comment #9)
> > Relocation section '.rel.text' at offset 0x2ec contains 12 entries:
> > Offset Info Type Sym.Value Sym. Name
> > 00000002 00000b02 R_386_PC32 00000000 __x86.get_pc_thunk.bx
> > 00000008 00000c0a R_386_GOTPC 00000000 _GLOBAL_OFFSET_TABLE_
> > 00000012 00000d12 R_386_TLS_GD 00000000 gd
> > 00000017 00000e04 R_386_PLT32 00000000 ___tls_get_addr
> > 00000022 00000b02 R_386_PC32 00000000 __x86.get_pc_thunk.bx
> > 00000028 00000c0a R_386_GOTPC 00000000 _GLOBAL_OFFSET_TABLE_
> > 00000031 00000d12 R_386_TLS_GD 00000000 gd
> > 00000036 00000e04 R_386_PLT32 00000000 ___tls_get_addr
> > 00000051 00001102 R_386_PC32 00000000 __x86.get_pc_thunk.cx
> > 00000057 00000c0a R_386_GOTPC 00000000 _GLOBAL_OFFSET_TABLE_
> > 00000060 00000d12 R_386_TLS_GD 00000000 gd
> > 00000066 00000e03 R_386_GOT32 00000000 ___tls_get_addr
> >
> > CFLAGS = -O2 -fno-tree-slsr -march=athlon64 -mtune=core2 -fno-inline -pipe
> > -funroll-loops -funswitch-loops
> > CXXFLAGS = -g -O2
> > LDFLAGS = -Wl,-O1
> >
> > GCC is 5.2.0, i686-pc-linux-gnu-gcc
>
> Please show the command line used to compile pr20308_gd.o.
i686-pc-linux-gnu-gcc -Bgcctestdir/ -fPIE -O2 -fno-tree-slsr -march=athlon64
-mtune=core2 -fno-inline -pipe -funroll-loops -funswitch-loops -Bgcctestdir/
-Wl,-R,. -Wl,-O1 -o pr20308a_test pr20308a_test-pr20308_main.o
pr20308a_test-pr20308_def.o pr20308_gd.o pr20308_ld.o -ldl
>
> BTW, did you run "make clean" first?
Yes, I built binutils from scratch each time. This all looks odd but
basically...
1. CFLAGS is very well tested, I won't go into it but it gives helpful
profiling results, for example I was able to report performance issues with
GCC.
2. CXXFLAGS should have been the same, I had a script that set everything but
I had to recreate it and forgot to set CXXFLAGS.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/20308] Gold should support i386 TLS code sequences without PLT, ncahill_alt at yahoo dot com, 2016/08/17
- [Bug gold/20308] Gold should support i386 TLS code sequences without PLT, ncahill_alt at yahoo dot com, 2016/08/17
- [Bug gold/20308] Gold should support i386 TLS code sequences without PLT, hjl.tools at gmail dot com, 2016/08/17
- [Bug gold/20308] Gold should support i386 TLS code sequences without PLT, ncahill_alt at yahoo dot com, 2016/08/17
- [Bug gold/20308] Gold should support i386 TLS code sequences without PLT, hjl.tools at gmail dot com, 2016/08/17
- [Bug gold/20308] Gold should support i386 TLS code sequences without PLT, ncahill_alt at yahoo dot com, 2016/08/17
- [Bug gold/20308] Gold should support i386 TLS code sequences without PLT, hjl.tools at gmail dot com, 2016/08/17
- [Bug gold/20308] Gold should support i386 TLS code sequences without PLT, ccoutant at gmail dot com, 2016/08/17
- [Bug gold/20308] Gold should support i386 TLS code sequences without PLT,
ncahill_alt at yahoo dot com <=
- [Bug gold/20308] Gold should support i386 TLS code sequences without PLT, ncahill_alt at yahoo dot com, 2016/08/17
- [Bug gold/20308] Gold should support i386 TLS code sequences without PLT, hjl.tools at gmail dot com, 2016/08/17
- [Bug gold/20308] Gold should support i386 TLS code sequences without PLT, ncahill_alt at yahoo dot com, 2016/08/18
- [Bug gold/20308] Gold should support i386 TLS code sequences without PLT, ncahill_alt at yahoo dot com, 2016/08/18
- [Bug gold/20308] Gold should support i386 TLS code sequences without PLT, hjl.tools at gmail dot com, 2016/08/18
- [Bug gold/20308] Gold should support i386 TLS code sequences without PLT, ncahill_alt at yahoo dot com, 2016/08/18