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

            Bug ID: 104735
           Summary: [12 regression] gdc.test/runnable/complex.d etc. FAIL
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---
            Target: *-*-solaris2.11

Since 20211130, two tests FAIL on Solaris (sparc and x86, 32 and 64-bit):

+UNRESOLVED: gdc.test/runnable/complex.d   compilation failed to produce
executable
+UNRESOLVED: gdc.test/runnable/complex.d -shared-libphobos   compilation failed
to produce executable

runnable/complex.d:8:8: error: module 'core.stdc.math' import 'signbit' not
found

+UNRESOLVED: gdc.test/runnable/constfold.d   compilation failed to produce
executable
+UNRESOLVED: gdc.test/runnable/constfold.d -shared-libphobos   compilation
failed to produce executable

runnable/constfold.d:5:8: error: module 'core.stdc.math' import 'signbit' not
found

Compared to other targets, libdruntime/core/stdc/math.d lacks support for
anything
but isnan.

I thought I had the beginnings of a patch, but cannot find it any longer.

The situation is a bit complicated since not all of those functions are
available
as external identifiers in libm/libc.  <iso/math_c99.h> has the gory details.

Reply via email to