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

            Bug ID: 104738
           Summary: gdc.test/runnable_cxx/stdint.d FAILs on Solaris
           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, gdc.test/runnable_cxx/stdint.d FAILs on Solaris:

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

For 32-bit:

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

This is

testCppI8Mangle(signed char, unsigned char, signed char, unsigned char, signed
char, unsigned char)

while stdint.d has

int testCppI8Mangle (int8_t,  uint8_t,  int_least8_t,  uint_least8_t, 
int_fast8_t,  uint_fast8_t);

E.g. int8_t on Solaris is char because char is signed by default.

64-bit:

Undefined                       first referenced
 symbol                             in file
_Z15testCppI8Mangleahahah           /var/tmp//ccgtdvZb.o
_Z16testCppI16Mangleststlm          /var/tmp//ccgtdvZb.o
_Z16testCppI32Mangleijijlm          /var/tmp//ccgtdvZb.o
ld: fatal: symbol referencing errors

Reply via email to