You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building CXX object src/CMakeFiles/common.dir/common/CRC32C.cpp.o
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/nmmintrin.h:31:0,
from /tmp/firebird/src/common/CRC32C.cpp:34:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/smmintrin.h: In function 'unsigned int CRC32C(unsigned int, const unsigned char*)':
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/smmintrin.h:827:1: error: inlining failed in call to always_inline 'unsigned int _mm_crc32_u8(unsigned int, unsigned char)': target specific option mismatch
_mm_crc32_u8 (unsigned int __C, unsigned char __V)
^
/tmp/firebird/src/common/CRC32C.cpp:41:41: error: called from here
return _mm_crc32_u8(hash_value, *value);
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/nmmintrin.h:31:0,
from /tmp/firebird/src/common/CRC32C.cpp:34:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/smmintrin.h:833:1: error: inlining failed in call to always_inline 'unsigned int _mm_crc32_u16(unsigned int, short unsigned int)': target specific option mismatch
_mm_crc32_u16 (unsigned int __C, unsigned short __V)
^
/tmp/firebird/src/common/CRC32C.cpp:44:60: error: called from here
return _mm_crc32_u16(hash_value, *(unsigned short*) value);
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/nmmintrin.h:31:0,
from /tmp/firebird/src/common/CRC32C.cpp:34:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/smmintrin.h:839:1: error: inlining failed in call to always_inline 'unsigned int _mm_crc32_u32(unsigned int, unsigned int)': target specific option mismatch
_mm_crc32_u32 (unsigned int __C, unsigned int __V)
^
/tmp/firebird/src/common/CRC32C.cpp:48:65: error: called from here
hash_value = _mm_crc32_u32(hash_value, *(unsigned int*) value);
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/nmmintrin.h:31:0,
from /tmp/firebird/src/common/CRC32C.cpp:34:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/smmintrin.h:833:1: error: inlining failed in call to always_inline 'unsigned int _mm_crc32_u16(unsigned int, short unsigned int)': target specific option mismatch
_mm_crc32_u16 (unsigned int __C, unsigned short __V)
^
/tmp/firebird/src/common/CRC32C.cpp:55:67: error: called from here
hash_value = _mm_crc32_u16(hash_value, *(unsigned short*) value);
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/nmmintrin.h:31:0,
from /tmp/firebird/src/common/CRC32C.cpp:34:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/smmintrin.h:827:1: error: inlining failed in call to always_inline 'unsigned int _mm_crc32_u8(unsigned int, unsigned char)': target specific option mismatch
_mm_crc32_u8 (unsigned int __C, unsigned char __V)
^
/tmp/firebird/src/common/CRC32C.cpp:62:48: error: called from here
hash_value = _mm_crc32_u8(hash_value, *value);
^
src/CMakeFiles/common.dir/build.make:537: recipe for target 'src/CMakeFiles/common.dir/common/CRC32C.cpp.o' failed
make: *** [src/CMakeFiles/common.dir/common/CRC32C.cpp.o] Error 1
This happens because CMake compiles this file without -msse4 option used by autoconf-based build system. I don't know how to add this option for just this file using CMake, but adding it globally would at least fix the build for now.
BTW, I'd gladly avoid using CMake in the first place if only autoconf supported building out of the source directory, which it currently doesn't, unfortunately...
The text was updated successfully, but these errors were encountered:
Submitted by: Vadim Zeitlin (vz)
Votes: 1
Trying to build with CMake fails with
Building CXX object src/CMakeFiles/common.dir/common/CRC32C.cpp.o
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/nmmintrin.h:31:0,
from /tmp/firebird/src/common/CRC32C.cpp:34:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/smmintrin.h: In function 'unsigned int CRC32C(unsigned int, const unsigned char*)':
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/smmintrin.h:827:1: error: inlining failed in call to always_inline 'unsigned int _mm_crc32_u8(unsigned int, unsigned char)': target specific option mismatch
_mm_crc32_u8 (unsigned int __C, unsigned char __V)
^
/tmp/firebird/src/common/CRC32C.cpp:41:41: error: called from here
return _mm_crc32_u8(hash_value, *value);
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/nmmintrin.h:31:0,
from /tmp/firebird/src/common/CRC32C.cpp:34:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/smmintrin.h:833:1: error: inlining failed in call to always_inline 'unsigned int _mm_crc32_u16(unsigned int, short unsigned int)': target specific option mismatch
_mm_crc32_u16 (unsigned int __C, unsigned short __V)
^
/tmp/firebird/src/common/CRC32C.cpp:44:60: error: called from here
return _mm_crc32_u16(hash_value, *(unsigned short*) value);
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/nmmintrin.h:31:0,
from /tmp/firebird/src/common/CRC32C.cpp:34:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/smmintrin.h:839:1: error: inlining failed in call to always_inline 'unsigned int _mm_crc32_u32(unsigned int, unsigned int)': target specific option mismatch
_mm_crc32_u32 (unsigned int __C, unsigned int __V)
^
/tmp/firebird/src/common/CRC32C.cpp:48:65: error: called from here
hash_value = _mm_crc32_u32(hash_value, *(unsigned int*) value);
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/nmmintrin.h:31:0,
from /tmp/firebird/src/common/CRC32C.cpp:34:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/smmintrin.h:833:1: error: inlining failed in call to always_inline 'unsigned int _mm_crc32_u16(unsigned int, short unsigned int)': target specific option mismatch
_mm_crc32_u16 (unsigned int __C, unsigned short __V)
^
/tmp/firebird/src/common/CRC32C.cpp:55:67: error: called from here
hash_value = _mm_crc32_u16(hash_value, *(unsigned short*) value);
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/nmmintrin.h:31:0,
from /tmp/firebird/src/common/CRC32C.cpp:34:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/smmintrin.h:827:1: error: inlining failed in call to always_inline 'unsigned int _mm_crc32_u8(unsigned int, unsigned char)': target specific option mismatch
_mm_crc32_u8 (unsigned int __C, unsigned char __V)
^
/tmp/firebird/src/common/CRC32C.cpp:62:48: error: called from here
hash_value = _mm_crc32_u8(hash_value, *value);
^
src/CMakeFiles/common.dir/build.make:537: recipe for target 'src/CMakeFiles/common.dir/common/CRC32C.cpp.o' failed
make: *** [src/CMakeFiles/common.dir/common/CRC32C.cpp.o] Error 1
This happens because CMake compiles this file without -msse4 option used by autoconf-based build system. I don't know how to add this option for just this file using CMake, but adding it globally would at least fix the build for now.
BTW, I'd gladly avoid using CMake in the first place if only autoconf supported building out of the source directory, which it currently doesn't, unfortunately...
The text was updated successfully, but these errors were encountered: