http://sourceware.org/bugzilla/show_bug.cgi?id=14858

             Bug #: 14858
           Summary: X32 TLS relocations are incorrectly handled
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: i...@airs.com
        ReportedBy: hjl.to...@gmail.com
                CC: ccout...@google.com
    Classification: Unclassified


With GCC 4.7 on x32, gold causes:

FAIL: gcc.dg/torture/tls/run-ld.c  -O1  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O2  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O3 -fomit-frame-pointer  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O3 -g  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -Os  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O1  -fpic  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O2  -fpic  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O3 -fomit-frame-pointer  -fpic  execution
test
FAIL: gcc.dg/torture/tls/run-ld.c  -O3 -g  -fpic  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -Os  -fpic  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O1  -fPIC  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O2  -fPIC  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O3 -fomit-frame-pointer  -fPIC  execution
test
FAIL: gcc.dg/torture/tls/run-ld.c  -O3 -g  -fPIC  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -Os  -fPIC  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O1  -pie -fpie  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O2  -pie -fpie  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O3 -fomit-frame-pointer  -pie -fpie 
execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O3 -g  -pie -fpie  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -Os  -pie -fpie  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O1  -pie -fPIE  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O2  -pie -fPIE  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O3 -fomit-frame-pointer  -pie -fPIE 
execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O3 -g  -pie -fPIE  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -Os  -pie -fPIE  execution test
FAIL: gcc.dg/torture/tls/run-ld.c  -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: gcc.dg/torture/tls/thr-init-1.c  -O1  -fpic  execution test
FAIL: gcc.dg/torture/tls/thr-init-1.c  -O2  -fpic  execution test
FAIL: gcc.dg/torture/tls/thr-init-1.c  -O3 -fomit-frame-pointer  -fpic 
execution test
FAIL: gcc.dg/torture/tls/thr-init-1.c  -O3 -g  -fpic  execution test
FAIL: gcc.dg/torture/tls/thr-init-1.c  -Os  -fpic  execution test
FAIL: gcc.dg/torture/tls/thr-init-1.c  -O1  -fPIC  execution test
FAIL: gcc.dg/torture/tls/thr-init-1.c  -O2  -fPIC  execution test
FAIL: gcc.dg/torture/tls/thr-init-1.c  -O3 -fomit-frame-pointer  -fPIC 
execution test
FAIL: gcc.dg/torture/tls/thr-init-1.c  -O3 -g  -fPIC  execution test
FAIL: gcc.dg/torture/tls/thr-init-1.c  -Os  -fPIC  execution test
FAIL: gcc.dg/torture/tls/thr-init-2.c  -O1  -fpic  execution test
FAIL: gcc.dg/torture/tls/thr-init-2.c  -O2  -fpic  execution test
FAIL: gcc.dg/torture/tls/thr-init-2.c  -O3 -fomit-frame-pointer  -fpic 
execution test
FAIL: gcc.dg/torture/tls/thr-init-2.c  -O3 -g  -fpic  execution test
FAIL: gcc.dg/torture/tls/thr-init-2.c  -Os  -fpic  execution test
FAIL: gcc.dg/torture/tls/thr-init-2.c  -O1  -fPIC  execution test
FAIL: gcc.dg/torture/tls/thr-init-2.c  -O2  -fPIC  execution test
FAIL: gcc.dg/torture/tls/thr-init-2.c  -O3 -fomit-frame-pointer  -fPIC 
execution test
FAIL: gcc.dg/torture/tls/thr-init-2.c  -O3 -g  -fPIC  execution test
FAIL: gcc.dg/torture/tls/thr-init-2.c  -Os  -fPIC  execution test

BFD linker is OK.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to