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
Compiler error on SSE intrinsics with GCC 32-bit #541
Comments
Bruteforce approach worked:
That's equivalent to |
Are you able to show the command line it tried to use when it failed? The foreach(flag_var ${SSE_FLAGS})
set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} ${flag_var}")
endforeach()
check_c_source_compiles("#include <emmintrin.h>
int main() {_mm_pause(); return 0;}" HAVE_SSE_INTRINSICS) succeeds in CMake. The |
I started putting Sorry for bothering. |
Here is the conan issue: conan-io/conan-center-index#4889 |
Tried to build OpenAL 1.21.1 with gcc 5.4.0 for x86/32-bit, using Linux x86/64-bit.
To be honest, can't say for sure how exactly 32-bit option is set: I pass
-s arch=x86
to conan build. If it is important, I can look it up.I get compile errors due to SSE intrinsics. The errors look pretty weird to me:
As far as I understand, it means that SSE intrinsics are compiled without setting
-msse
compiler flag. For some reason, it is required by GCC. The problem seems to be similar to the old issue.Here is CMakeCache.txt from the build.
Passing "ALSOFT_REQUIRE_SSE2" to CMake does not help. "ALSOFT_ENABLE_SSE2_CODEGEN" does not help either.
The text was updated successfully, but these errors were encountered: