Closed 1480c1 closed 7 months ago
I have learned why it doesn't fail with gcc
From https://github.com/mesonbuild/meson/pull/13124#issuecomment-2071651121
https://github.com/gcc-mirror/gcc/blob/aa73eb97a1e3c84564fa71158d09f9c5582c4d2e/gcc/config/i386/mingw-pthread.h#L21 https://github.com/gcc-mirror/gcc/blob/aa73eb97a1e3c84564fa71158d09f9c5582c4d2e/gcc/config/i386/mingw32.h#L62
Thanks for raising this, I don't have a handy way to test this but seems OK to add. Do you want to make a PR for this?
Sure, give me a few seconds
thank you very much for the contribution @1480c1 !
Using clang64 with msys2 (thus using clang+ldd by default) shows the following error
I'm pretty sure the fix would be
But I'm not sure why it doesn't fail with gcc from the other envs.
My meson command line is
meson setup --default-library=static --buildtype=release bui .
There are additionally some warnings that are low-hanging fruit, I've attached the full log. clang64-build.log