[Bug libstdc++/108225] cross build gdb error for libstdc++'s std_mutex.h on x86_64-w64-mingw32 host
unlvsur at live dot com
gcc-bugzilla@gcc.gnu.org
Sat Dec 31 18:54:11 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108225
--- Comment #1 from cqwrteur <unlvsur at live dot com> ---
a.cc include mutex
#include<mutex>
x86_64-w64-mingw32-g++ -o a a.cc -Ofast -std=c++23 -s -flto -march=native
-D_WIN32_WINNT=0x0500
(Any value which is below 0x0500 since GDB defines it with a lower value)
More information about the Gcc-bugs
mailing list