-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i686 intrinsics definitions conflict with mingw-w64 definitions #9052
Comments
A workaround that seemed to help was adding |
Okay I think know what is wrong. Going to work on it in the evening. |
Minimal reproducer: #include <intrin.h>
int main() {
return 0;
} |
In the upstream repo now: https://sourceforge.net/p/mingw-w64/mingw-w64/ci/c1804804aff14f1b0333d782c9fac1cc904fcd9f/ |
See https://github.com/msys2/CLANG-packages/issues/6 for the details The intrin.h header tries to define types like e.g. __m64 if __MMX__ isn't defined. With Clang, mmintrin.h does define such a type even if __MMX__ isn't defined (and mmintrin.h is included implicitly via x86intrin.h). This fixes including intrin.h if building with Clang with -march=i686, which makes __MMX__ not be defined. Signed-off-by: Martin Storsjö <martin@martin.st>
I plan to wait for the time stuff (from msys2/CLANG-packages#21) to land and rebuild for both at the same time. |
This should include fixes for msys2/CLANG-packages#6 and msys2/CLANG-packages#21
This should include fixes for msys2/CLANG-packages#6 and msys2/CLANG-packages#21 Also remove patch from mingw-w64-headers-git which was already applied upstream.
This should include fixes for msys2/CLANG-packages#6 and msys2/CLANG-packages#21 Synced PKGBUILDs with MINGW-packages.
This should include fixes for msys2/CLANG-packages#6 and msys2/CLANG-packages#21 Synced PKGBUILDs with MINGW-packages.
This should include fixes for msys2/CLANG-packages#6 and msys2/CLANG-packages#21 Also remove patch from mingw-w64-headers-git which was already applied upstream.
I've confirmed this is fixed now. |
This should include fixes for msys2/CLANG-packages#6, msys2/CLANG-packages#21, and msys2/MINGW-packages#8310
This should include fixes for msys2/CLANG-packages#6, msys2/CLANG-packages#21, and msys2/MINGW-packages#8310
I encountered this building libuv, but is an issue with clang when building with
-march=i686
(which is specified inmakepkg_clang32.conf
), where SSE is disabled.The text was updated successfully, but these errors were encountered: