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

Work around invalid register errors with 64-bit Windows #28449

Merged
merged 1 commit into from
Aug 6, 2018

Conversation

ararslan
Copy link
Member

@ararslan ararslan commented Aug 5, 2018

Adding -fno-asynchronous-unwind-tables to the C compiler flags passed to OpenBLAS works around errors claiming an invalid register for .seh_savexmm. We've been running into this on the 64-bit Windows buildbot.

See discussion in OpenMathLib/OpenBLAS#1708.

@ararslan ararslan added domain:building Build system, or building Julia or its dependencies system:windows Affects only Windows external dependencies Involves LLVM, OpenBLAS, or other linked libraries backport pending 0.7 labels Aug 5, 2018
@ararslan
Copy link
Member Author

ararslan commented Aug 5, 2018

I guess if/when this is merged, we should undo JuliaCI/julia-buildbot#86?

@vtjnash
Copy link
Sponsor Member

vtjnash commented Aug 5, 2018

Why does the BUILD_OS matter? This flag will possibly make profile broken of blas code, but that’s probably not a big issue.

@ararslan
Copy link
Member Author

ararslan commented Aug 5, 2018

Why does the BUILD_OS matter?

The issue seems to be specific to Cygwin, so I figured I'd just apply it to Cygwin.

This flag will possibly make profile broken of blas code, but that’s probably not a big issue.

Interesting. I guess we don't have a test for that? Would it make more sense then to just disable AVX-512 by default for 64-bit Windows (or just Cygwin)?

Adding `-fno-asynchronous-unwind-tables` to the C compiler flags passed
to OpenBLAS works around errors claiming an invalid register for
`.seh_savexmm`. We've been running into this on the 64-bit Windows
buildbots.

See discussion in OpenMathLib/OpenBLAS#1708.
@ararslan ararslan changed the title Work around invalid register errors with Cygwin Work around invalid register errors with 64-bit Windows Aug 6, 2018
@ararslan
Copy link
Member Author

ararslan commented Aug 6, 2018

Changed to be 64-bit Windows more generally, not just Cygwin.

@ararslan ararslan mentioned this pull request Aug 6, 2018
3 tasks
@ararslan
Copy link
Member Author

ararslan commented Aug 6, 2018

Keno said, "Merge it."

@ararslan ararslan merged commit 651a727 into master Aug 6, 2018
@ararslan ararslan deleted the aa/cygwin-unwind-tables branch August 6, 2018 18:44
ararslan added a commit that referenced this pull request Aug 6, 2018
Adding `-fno-asynchronous-unwind-tables` to the C compiler flags passed
to OpenBLAS works around errors claiming an invalid register for
`.seh_savexmm`. We've been running into this on the 64-bit Windows
buildbots.

See discussion in OpenMathLib/OpenBLAS#1708.

(cherry picked from commit 651a727)
KristofferC pushed a commit that referenced this pull request Feb 11, 2019
Adding `-fno-asynchronous-unwind-tables` to the C compiler flags passed
to OpenBLAS works around errors claiming an invalid register for
`.seh_savexmm`. We've been running into this on the 64-bit Windows
buildbots.

See discussion in OpenMathLib/OpenBLAS#1708.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:building Build system, or building Julia or its dependencies external dependencies Involves LLVM, OpenBLAS, or other linked libraries system:windows Affects only Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants