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

Build fails on Mac OS X Mavericks due to AVX instructions #48

Closed
muellermartin opened this issue Jul 4, 2016 · 1 comment
Closed

Build fails on Mac OS X Mavericks due to AVX instructions #48

muellermartin opened this issue Jul 4, 2016 · 1 comment

Comments

@muellermartin
Copy link
Contributor

muellermartin commented Jul 4, 2016

Despite the known fact that liquid-dsp does not build with LLVM/Clang (documented in the troubleshooting section), building liquid-dsp on a specific version of Mac OS X does fail with multiple errors like:

{standard input}:25:no such instruction: `vmovss LC1(%rip), %xmm2'

Currently the full error log available at: http://bot.brew.sh/job/Homebrew%20Core%20Pull%20Requests/4200/version=mavericks/testReport/junit/brew-test-bot/mavericks/install_liquid_dsp/

I don't know why this only happens on Mavericks (10.9.x) while building on Yosemite (10.10.x) and El Capitan (10.11.x) does work flawlessly when building with GCC instead of LLVM/Clang.

Possible fix:
By adding the compiler flag -Wa,-q this issue can be resolved while it also works on newer versions of Mac OS X. This was suggested as a solution for a similar issue OP2/PyOP2#471 and this thread on StackOverflow.

Note:
I came across this bug while submitting a package for Homebrew (third party package manager for OS X). The corresponding pull request is Homebrew/homebrew-core#2664

Update: This only affects version liquid-dsp 1.2.0 when building with GCC instead of LLVM/Clang

@muellermartin
Copy link
Contributor Author

muellermartin commented Mar 26, 2017

I just tested building liquid-dsp 1.3.0 on macOS 10.12.3 (Sierra) and this issue seems to be resolved.

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

No branches or pull requests

1 participant