www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23759] New: [REG 2.103][FTBFS] Undefined symbols for

https://issues.dlang.org/show_bug.cgi?id=23759

          Issue ID: 23759
           Summary: [REG 2.103][FTBFS] Undefined symbols for architecture
                    i386:  "__ZN7CTFloat6sprintEPcjc10longdouble"
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

Building the D front-end on i386 macOS (i686-apple-darwin17) fails with link
error.

Undefined symbols for architecture i386:
  "__ZN7CTFloat6sprintEPcjc10longdouble", referenced from:
     
__D3dmd7dmangle18realToMangleBufferFPSQBj6common9outbuffer9OutBufferSQCo4root10longdoubleQmZv
in dmangle.o
     
__D3dmd6hdrgen13floatToBufferFCQBc5mtype4TypexSQBs4root10longdoubleQmPSQCq6common9outbuffer9OutBufferxbZv
in hdrgen.o
      __ZNK5Token7toCharsEv in tokens.o
ld: symbol(s) not found for architecture i386
collect2: error: ld returned 1 exit status

---- demangled -----

Undefined symbols for architecture i386:
  "CTFloat::sprint(char*, unsigned int, char, longdouble)", referenced from:
      dmd.dmangle.realToMangleBuffer in dmangle.o
      dmd.hdrgen.floatToBuffer in hdrgen.o
      Token::toChars in tokens.o
ld: symbol(s) not found for architecture i386
collect2: error: ld returned 1 exit status

--
Mar 03 2023