[Bug libstdc++/119673] MinGW-w64 GCC with win32 thread model cannot compile 'std' module

2025-04-08 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119673

Eric Botcazou  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |ebotcazou at gcc dot 
gnu.org
 CC||ebotcazou at gcc dot gnu.org

--- Comment #3 from Eric Botcazou  ---
Thanks for the pointer, I'll mimic this fix.

[Bug libstdc++/119673] MinGW-w64 GCC with win32 thread model cannot compile 'std' module

2025-04-08 Thread c at cyano dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119673

--- Comment #1 from Cyano Hao  ---
Command to compile std module:

```
Z:\tmp\test\mingw64-win32-15\mingw64-win32-15\bin\x86_64-w64-mingw32-g++ -c
-m64 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -std=c++23
-fmodules-ts -D_GLIBCXX_USE_CXX11_ABI=1 -DNDEBUG
-fmodule-mapper=C:\users\cyano\Temp\.xmake\250408\c++23\import-std\Z:\tmp\test\mingw64-win32-15\mingw64-win32-15\bin\..\lib
```

[Bug libstdc++/119673] MinGW-w64 GCC with win32 thread model cannot compile 'std' module

2025-04-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119673

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   See Also||https://gcc.gnu.org/bugzill
   ||a/show_bug.cgi?id=115126
 Ever confirmed|0   |1
   Last reconfirmed||2025-04-08

--- Comment #2 from Andrew Pinski  ---
gthr-posix.h was fixed in r15-3906-g6a4d1c374eed17 ;
libgcc/config/i386/gthr-win32.h needs a similar fix.