Skip to content
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

disable avx512 on msys2 mingw64 #1801

Closed
hjbreg opened this issue Oct 9, 2018 · 2 comments · Fixed by #1802
Closed

disable avx512 on msys2 mingw64 #1801

hjbreg opened this issue Oct 9, 2018 · 2 comments · Fixed by #1802

Comments

@hjbreg
Copy link

hjbreg commented Oct 9, 2018

workaround #1717 for avx512 on cygwin in #1708 does not work for msys2 mingw64
building OpenBLAS on 64-bit windows with msys2 failed with the same error message
Error: invalid register for .seh_savexmm

@martin-frbg
Copy link
Collaborator

martin-frbg commented Oct 9, 2018

Does it work when you add the -fno-asynchronous-unwind-tables option to CFLAGS ? (The CYGWIN_NT condition may not trigger for msys2, though I have not checked this yet - probably needs to be something like ifeq ($(OS), WINNT)...ifeq($(C_COMPILER),GCC) to match msys2/mingw64)

@hjbreg
Copy link
Author

hjbreg commented Oct 9, 2018

Building successfully with CFLAGS=-fno-asynchronous-unwind-tables.
In MSYS2 MinGW 64-bit launcher, uname output MINGW64_NT-10.0, for your reference.
There is also another workaround in JuliaLang/julia@651a727

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants