acinclude.m4 has a home-brewed rule to detect whether a target can support TLS.
 This rule incorrectly decides that NetBSD can support this.  The result is
that libgomp will not load, and faults with the error:
Unsupported relocation type 14 in non-PLT relocations

Rather than rolling its own rule, it should be using the rule in
$(topsrcdir)/config/tls.m4 -- namely GCC_CHECK_TLS.


-- 
           Summary: libgomp incorrectly detects support for TLS
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: libgomp
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rearnsha at gcc dot gnu dot org
GCC target triplet: *-*-netbsd


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

Reply via email to