[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2025-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #9 from Jonathan Wakely --- Libstdc++ does this for mingw-w64: // Make sure that POSIX printf/scanf functions are activated. As // libstdc++ depends on POSIX-definitions of those functions, we define // it unconditionally. #undef _

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2025-01-03 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 Brecht Sanders changed: What|Removed |Added Resolution|--- |WORKSFORME Status|UNCONFIR

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #7 from Brecht Sanders --- This somehow did allow the build to proceed: make -Cbuild_mingw/$RUNPLATFORM/libstdc++-v3 LDFLAGS="-L$PWD/build_mingw/gcc -lcommon"

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #6 from Brecht Sanders --- I tried building without '-D__USE_MINGW_ANSI_STDIO=0' and I still get the same undefined references.

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #5 from Brecht Sanders --- The purpose of CFLAGS=-D__USE_MINGW_ANSI_STDIO=0 was to speed up console output, because MinGW's own printf is quite slow. I only want to speed up console output of GCC tools. Is there a better place to s

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #3 from Andrew Pinski --- config/io/basic_file_stdio.cc has not changed in this area in since 2004-04-07. I am suspecting you have some incorrect library path set or something because it is not linking against the library which cont

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #2 from Brecht Sanders --- ../configure --prefix=/R/winlibs14.2.0msvcrt64/inst_gcc-14.2.0/share/gcc --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --enable-offload-targets=nvptx-none --with-pkgversion=MinGW-W64 x86_64-msvcrt-p

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #4 from Andrew Pinski --- (In reply to Brecht Sanders from comment #2) > ../configure --prefix=/R/winlibs14.2.0msvcrt64/inst_gcc-14.2.0/share/gcc > --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 > --enable-offload-targets=nvptx

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #1 from Andrew Pinski --- >I'm trying a native Windows MinGW-w64 build of GCC15 (snapshot 15-20241229) >and I get errors when building libstdc++-v3: What configure options are you supplying?