https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80992

            Bug ID: 80992
           Summary: libstdc++ cross-build on solaris is missing
                    GCC_CHECK_TLS
           Product: gcc
           Version: 5.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danek.duvall at oracle dot com
  Target Milestone: ---
             Build: solaris

The libstdc++ cross-build on Solaris never checks to see if thread-local
storage works.  There's a check missing from the solaris section of
crossconfig.m4 -- GCC_CHECK_TLS.

If I simply copy the shell code that comes from that from the linux section of
the resulting configure script into the solaris portion of the case statement,
TLS is discovered properly.  I was unable to confirm that the right thing
happened if I just added GCC_CHECK_TLS to crossconfig.m4 because we don't have
the ancient version of autoconf necessary.

Reply via email to