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
Build fails with -march=native on Intel Skylake #15
Comments
Thanks for reporting this. This appears to be an issue with Clang/Xcode. I don't have a 6th Gen Core (aka Skylake) machine running OS X, but I can replicate this using clang-3.6 on Linux on a Core i5-6600K. Running Clang-3.7 currently reports the target cpu as "broadwell", which is more accurate. There is no guarantee for when these processor detection improvements will make it into Xcode builds, though. We will improve our CMake feature testing so we can pick this up earlier in the build process - relying on A workaround right now is to add I'm no homebrew expert - far from it, in fact - but I was able to test this by running |
Unfortunately, that will still fail:
That, of course, is not your fault, but fixing it will require more intervention than that. It would be good if the source itself could be tweaked in some way not to fail with |
@mdb256 OK, good news!
and the problem is fixed. Xcode 7.3 will probably be released simultaneously with OS X 10.11.4 which is currently at So the final release should be within days, not weeks. |
Building with
-march=native
fails on Intel Skylake (both v4.1.0 and HEAD)939270559 -> 0x37fc219f -> Skylake
Full log:
https://gist.github.com/ilovezfs/867f9df96dc5b054cc99
Excerpt of the failure:
The text was updated successfully, but these errors were encountered: