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 regression/25816] New: [4.1/4.2 Regression] Configure detects TLS, but glibc does not support it.


I have a mipsel-linux system with glibc 2.3.3 which does not support TLS.  Due
to bugs in earlier binutils versions, I must use a binutils version that does
support TLS on mips.  The GCC configure does an assembler check to see if TLS
is supported and then generates code based on that decision.

When this happens with no TLS support in glibc, there is a link error due to
lack of TLS support in glibc.

I am testing a patch that adds a --disable-tls option to configure to force it
to not use TLS.

This was not a problem on 4.0 and earlier as there was no mips TLS support in
GCC in those versions.  I am calling it a regression as I used to be able to
use GCC and with 4.1 I cannot.

The test case is to compile any java program with mipsel-linux-gcj.  A linker
error results.


-- 
           Summary: [4.1/4.2 Regression] Configure detects TLS, but glibc
                    does not support it.
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: link-failure
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: daney at gcc dot gnu dot org
        ReportedBy: daney at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: mipsel-linux


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


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