[Bug libstdc++/107693] New: undefined reference to `_ZSt8to_charsPcS_DF128_St12chars_formati' std::format does not work on x86_64-w64-mingw32

unlvsur at live dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 15 05:29:11 GMT 2022


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

            Bug ID: 107693
           Summary: undefined reference to
                    `_ZSt8to_charsPcS_DF128_St12chars_formati' std::format
                    does not work on x86_64-w64-mingw32
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

g++ -o fstream_std_format fstream_std_format.cc -Ofast -std=c++23 -s -flto
-march=native -I../../../include -static-libstdc++
lto-wrapper.exe: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more
information
d:/x86_64-windows-gnu/x86_64-w64-mingw32/bin/../lib/gcc/x86_64-w64-mingw32/13.0.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\unlvs\AppData\Local\Temp\ccc9ergr.ltrans0.ltrans.o:<artificial>:(.text+0x7243):
undefined reference to `_ZSt8to_charsPcS_DF128_'
d:/x86_64-windows-gnu/x86_64-w64-mingw32/bin/../lib/gcc/x86_64-w64-mingw32/13.0.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\Users\unlvs\AppData\Local\Temp\ccc9ergr.ltrans0.ltrans.o:<artificial>:(.text+0x7906):
undefined reference to `_ZSt8to_charsPcS_DF128_St12chars_formati'
....


More information about the Gcc-bugs mailing list