This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug c++/56326] New: g++.dg/gomp/tls-wrap4.C and g++.dg/tls/thread_local-wrap4.C FAIL on Solaris 9/x86


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56326

             Bug #: 56326
           Summary: g++.dg/gomp/tls-wrap4.C and
                    g++.dg/tls/thread_local-wrap4.C FAIL on Solaris 9/x86
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ro@gcc.gnu.org
              Host: i386-pc-solaris2.9
            Target: i386-pc-solaris2.9
             Build: i386-pc-solaris2.9


Two g++.dg tests FAIL on Solaris 9/x86 with Sun as, where emutls is used:

FAIL: g++.dg/gomp/tls-wrap4.C scan-assembler-not _ZTW1i@PLT
FAIL: g++.dg/tls/thread_local-wrap4.C scan-assembler-not _ZTW1i@PLT

In the first case, the relevant diff between the as (emutls) and gas (native
tls)
versions is

-.LCFI2:
-       call    .LPR3
-       addl    $_GLOBAL_OFFSET_TABLE_, %ebx
-       call    _ZTW1i@PLT
+       call    _ZTW1i

I think I even tried a gas build with --disable-tls on Linux/x86_64, but there
the test didn't fail, so I'm not sure it's a emutls/native tls issue at all.

  Rainer


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