Re: gcc with the new WIN32 threads fails to compile libstdc++

2023-04-10 Thread Julian Waters via Gcc
Sorry, I omitted the linker command since it was absolutely massive: libtool: link: /d/Eclipse/MINGW-packages/mingw-w64-gcc/src/build-UCRT64/./gcc/xgcc -shared-libgcc -B/d/Eclipse/MINGW-packages/mingw-w64-gcc/src/build-UCRT64/./gcc -nostdinc++

Re: gcc with the new WIN32 threads fails to compile libstdc++

2023-04-10 Thread Eric Botcazou via Gcc
> I'm assuming the problem also extends to the other __gthr_win32 routines as > well, __gthr_win32_create just happens to be the first symbol it cannot > find. > > Is there a way to fix this issue? How did you configure the compiler and what version of MinGW64 do you use? -- Eric Botcazou

Re: gcc with the new WIN32 threads fails to compile libstdc++

2023-04-10 Thread Andrew Pinski via Gcc
On Mon, Apr 10, 2023 at 12:16 AM Julian Waters via Gcc wrote: > > Hi all, > > When trying to compile gcc with the revamped WIN32 threading model which > supports C++11 threads, libstdc++ always fails to link with the following > error: those functions should have been included in newly built

gcc with the new WIN32 threads fails to compile libstdc++

2023-04-10 Thread Julian Waters via Gcc
Hi all, When trying to compile gcc with the revamped WIN32 threading model which supports C++11 threads, libstdc++ always fails to link with the following error: C:\msys64\ucrt64\x86_64-w64-mingw32\bin\ld.exe: ../src/c++11/.libs/libc++11convenience.a(thread.o): in function `__gthread_join':