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

            Bug ID: 98528
           Summary: g++.dg/modules/hello-1 FAILs
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: nathan at gcc dot gnu.org
  Target Milestone: ---
            Target: i386-pc-solaris2.11, sparc-sun-solaris2.11,
                    i586-unknown-freebsd11.4, x86_64-unknown-freebsd11.4

The new g++.dg/modules/hello-1 test FAILs on Solaris and FreeBSD:

+UNRESOLVED: g++.dg/modules/hello-1 execute
+UNRESOLVED: g++.dg/modules/hello-1 execute
+FAIL: g++.dg/modules/hello-1 link
+FAIL: g++.dg/modules/hello-1 link

Undefined                       first referenced
 symbol                             in file
_ZL16__gthread_active               /var/tmp//ccAd8Hnb.o
ld: fatal: symbol referencing errors

This should be extern "C" __gthread_active instead, there's no mangled version
in libgcc.

Besides, the UNRESOLVED and FAIL lines are identical for both the -std=c++17
and
c++2a.  However, different tests are supposed to have different test names.

Reply via email to