-
Notifications
You must be signed in to change notification settings - Fork 419
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
error: inlining failed in call to always_inline ‘long long int _mm_popcnt_u64(long long unsigned int)’: target specific option mismatch #359
Comments
The compile command doesn't activate the popcount intrinsic. What build system do you use? |
This is with the make build system. Here, should have provided the entire build log. |
If you use the Makefile provided by MVE this should be the compiler call:
There's definitely something wrong with your build system. |
Are you compiling on a 32 bit system? What does |
Out of topic but Ubuntu 17.04 is not LTS and it will never be stable thus you will straggle using it a specially if you are working on computer graphics and vision problem ( lack of good gpu drivers) i suggest you use 14.04 LTS so stable version of Ubuntu |
Ok, seems the build system has overridden the defaults in Makefile.inc. Had to apply this patch to make it work: Thanks for your hints. Now the build succeeds on amd64. But there is this build error now on i386:
Could you please have a look? Here is the build log: |
just a guess but this is the only thing I could find: |
As @flanggut guessed correctly, |
It was never explicitly unsupported, as we were not aware that it doesn't compile on 32 bit anymore. But using it on a 32 bit system is somewhat useless, since it allows you to make use of 4 GB of memory only. Which is usually not enough. It would be nice if we could replace (or ifdef) this function to make it work on 32 bit machines, but if it's not possible, it's not the worst thing in the world to drop 32 bit support. |
@andre-schulz, can we make this work on 32 bit machines? |
Yes, I just have to find a way to do this cleanly. |
You could use
You can explore resulting binaries here: https://godbolt.org/g/McZWwU |
Hi,
on Ubuntu 17.04 there is this compilation error:
The text was updated successfully, but these errors were encountered: