Vc 0.7.2 with gcc 4.8.0
Kulakov, Igor
[please enable javascript to see the address]
Fri Aug 16 16:21:05 CEST 2013
Hi,
I tried to compile Vc 0.7.2 with gcc 4.8.0 on Intel(R) Xeon(R) CPU E7- 4860 and the compilation fails. See the logs below.
What can be wrong?
Regards,
Igor
[16:17:11]~/Vc/Vc-0.7.2/build$ more cmake.log
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /cvmfs/it.gsi.de/compiler/gcc/4.8/bin/gcc
-- Check for working C compiler: /cvmfs/it.gsi.de/compiler/gcc/4.8/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /cvmfs/it.gsi.de/compiler/gcc/4.8/bin/g++
-- Check for working CXX compiler: /cvmfs/it.gsi.de/compiler/gcc/4.8/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detected Compiler: GCC 4.8.0
-- Performing Test check_c_compiler_flag__Wundef
-- Performing Test check_c_compiler_flag__Wundef - Success
-- Performing Test check_cxx_compiler_flag__Wundef
-- Performing Test check_cxx_compiler_flag__Wundef - Success
-- Performing Test check_c_compiler_flag__Wold_style_cast
-- Performing Test check_c_compiler_flag__Wold_style_cast - Failed
-- Performing Test check_cxx_compiler_flag__Wold_style_cast
-- Performing Test check_cxx_compiler_flag__Wold_style_cast - Success
-- Performing Test check_c_compiler_flag__Wno_variadic_macros
-- Performing Test check_c_compiler_flag__Wno_variadic_macros - Success
-- Performing Test check_cxx_compiler_flag__Wno_variadic_macros
-- Performing Test check_cxx_compiler_flag__Wno_variadic_macros - Success
-- Performing Test check_c_compiler_flag__Wno_unused_local_typedefs
-- Performing Test check_c_compiler_flag__Wno_unused_local_typedefs - Success
-- Performing Test check_cxx_compiler_flag__Wno_unused_local_typedefs
-- Performing Test check_cxx_compiler_flag__Wno_unused_local_typedefs - Success
-- Performing Test check_c_compiler_flag__Wabi
-- Performing Test check_c_compiler_flag__Wabi - Success
-- Performing Test check_cxx_compiler_flag__Wabi
-- Performing Test check_cxx_compiler_flag__Wabi - Success
-- Performing Test check_c_compiler_flag__fabi_version_0
-- Performing Test check_c_compiler_flag__fabi_version_0 - Success
-- Performing Test check_cxx_compiler_flag__fabi_version_0
-- Performing Test check_cxx_compiler_flag__fabi_version_0 - Success
CMake Warning at cmake/UserWarning.cmake:4 (message):
GCC 4.8.0 miscompiles at -O3, adding -fno-tree-vectorize to the compiler
flags as workaround
Call Stack (most recent call first):
cmake/VcMacros.cmake:292 (UserWarning)
CMakeLists.txt:92 (vc_set_preferred_compiler_flags)
-- Performing Test Vc_VOID_PTR_IS_64BIT
-- Performing Test Vc_VOID_PTR_IS_64BIT - Success
-- Performing Test check_c_compiler_flag__ffp_contract_fast
-- Performing Test check_c_compiler_flag__ffp_contract_fast - Success
-- Performing Test check_cxx_compiler_flag__ffp_contract_fast
-- Performing Test check_cxx_compiler_flag__ffp_contract_fast - Success
-- target changed from "" to "auto"
CMake Warning at cmake/OptimizeForArchitecture.cmake:106 (message):
Your CPU (family 6, model 47) is not known. Auto-detection of optimization
flags failed and will use the 65nm Core 2 CPU settings.
Call Stack (most recent call first):
cmake/OptimizeForArchitecture.cmake:152 (AutodetectHostArchitecture)
cmake/VcMacros.cmake:380 (OptimizeForArchitecture)
CMakeLists.txt:92 (vc_set_preferred_compiler_flags)
-- Detected CPU: merom
-- Performing Test check_c_compiler_flag__march_merom
-- Performing Test check_c_compiler_flag__march_merom - Failed
-- Performing Test check_cxx_compiler_flag__march_merom
-- Performing Test check_cxx_compiler_flag__march_merom - Failed
-- Performing Test check_c_compiler_flag__march_core2
-- Performing Test check_c_compiler_flag__march_core2 - Success
-- Performing Test check_cxx_compiler_flag__march_core2
-- Performing Test check_cxx_compiler_flag__march_core2 - Success
-- Performing Test check_c_compiler_flag__msse2
-- Performing Test check_c_compiler_flag__msse2 - Success
-- Performing Test check_cxx_compiler_flag__msse2
-- Performing Test check_cxx_compiler_flag__msse2 - Success
-- Performing Test check_c_compiler_flag__msse3
-- Performing Test check_c_compiler_flag__msse3 - Success
-- Performing Test check_cxx_compiler_flag__msse3
-- Performing Test check_cxx_compiler_flag__msse3 - Success
-- Looking for pmmintrin.h
-- Looking for pmmintrin.h - found
-- Performing Test check_c_compiler_flag__mssse3
-- Performing Test check_c_compiler_flag__mssse3 - Success
-- Performing Test check_cxx_compiler_flag__mssse3
-- Performing Test check_cxx_compiler_flag__mssse3 - Success
-- Looking for tmmintrin.h
-- Looking for tmmintrin.h - found
-- Performing Test check_c_compiler_flag__mno_sse4_1
-- Performing Test check_c_compiler_flag__mno_sse4_1 - Success
-- Performing Test check_cxx_compiler_flag__mno_sse4_1
-- Performing Test check_cxx_compiler_flag__mno_sse4_1 - Success
-- Performing Test check_c_compiler_flag__mno_sse4_2
-- Performing Test check_c_compiler_flag__mno_sse4_2 - Success
-- Performing Test check_cxx_compiler_flag__mno_sse4_2
-- Performing Test check_cxx_compiler_flag__mno_sse4_2 - Success
-- Performing Test check_c_compiler_flag__mno_sse4a
-- Performing Test check_c_compiler_flag__mno_sse4a - Success
-- Performing Test check_cxx_compiler_flag__mno_sse4a
-- Performing Test check_cxx_compiler_flag__mno_sse4a - Success
-- Performing Test check_c_compiler_flag__mno_avx
-- Performing Test check_c_compiler_flag__mno_avx - Success
-- Performing Test check_cxx_compiler_flag__mno_avx
-- Performing Test check_cxx_compiler_flag__mno_avx - Success
-- Performing Test check_c_compiler_flag__mno_xop
-- Performing Test check_c_compiler_flag__mno_xop - Success
-- Performing Test check_cxx_compiler_flag__mno_xop
-- Performing Test check_cxx_compiler_flag__mno_xop - Success
-- Performing Test check_c_compiler_flag__mno_fma4
-- Performing Test check_c_compiler_flag__mno_fma4 - Success
-- Performing Test check_cxx_compiler_flag__mno_fma4
-- Performing Test check_cxx_compiler_flag__mno_fma4 - Success
-- Performing Test check_c_compiler_flag__fPIC
-- Performing Test check_c_compiler_flag__fPIC - Success
-- Performing Test check_cxx_compiler_flag__fPIC
-- Performing Test check_cxx_compiler_flag__fPIC - Success
-- Performing Test check_c_compiler_flag__msse4_1
-- Performing Test check_c_compiler_flag__msse4_1 - Success
-- Performing Test check_cxx_compiler_flag__msse4_1
-- Performing Test check_cxx_compiler_flag__msse4_1 - Success
-- Performing Test check_c_compiler_flag__mavx
-- Performing Test check_c_compiler_flag__mavx - Success
-- Performing Test check_cxx_compiler_flag__mavx
-- Performing Test check_cxx_compiler_flag__mavx - Success
-- Performing Test check_c_compiler_flag__mxop
-- Performing Test check_c_compiler_flag__mxop - Success
-- Performing Test check_cxx_compiler_flag__mxop
-- Performing Test check_cxx_compiler_flag__mxop - Success
-- Performing Test check_c_compiler_flag__mfma4
-- Performing Test check_c_compiler_flag__mfma4 - Success
-- Performing Test check_cxx_compiler_flag__mfma4
-- Performing Test check_cxx_compiler_flag__mfma4 - Success
-- Performing Test check_cxx_compiler_flag_-xAVX
-- Performing Test check_cxx_compiler_flag_-xAVX - Failed
-- Performing Test check_cxx_compiler_flag_-mavx
-- Performing Test check_cxx_compiler_flag_-mavx - Success
-- Performing Test check_cxx_compiler_flag__std_c__11
-- Performing Test check_cxx_compiler_flag__std_c__11 - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /u/ikulakov/Vc/Vc-0.7.2/build
[16:19:10]~/Vc/Vc-0.7.2/build$ more make.log
[ 1%] Building CXX object trigonometric_AVX+XOP+FMA4.cpp.o
/tmp/ccJMPTRZ.s: Assembler messages:
/tmp/ccJMPTRZ.s:36: Error: no such instruction: `vpcomeqd %xmm2,%xmm0,%xmm0'
/tmp/ccJMPTRZ.s:37: Error: no such instruction: `vpcomeqd %xmm2,%xmm8,%xmm2'
/tmp/ccJMPTRZ.s:67: Error: no such instruction: `vpcomgtd %xmm6,%xmm3,%xmm0'
/tmp/ccJMPTRZ.s:68: Error: no such instruction: `vpcomgtd %xmm6,%xmm1,%xmm6'
/tmp/ccJMPTRZ.s:85: Error: no such instruction: `vpcomeqd %xmm3,%xmm7,%xmm8'
/tmp/ccJMPTRZ.s:86: Error: no such instruction: `vpcomeqd %xmm3,%xmm6,%xmm3'
/tmp/ccJMPTRZ.s:87: Error: no such instruction: `vpcomeqd %xmm4,%xmm7,%xmm7'
/tmp/ccJMPTRZ.s:90: Error: no such instruction: `vpcomeqd %xmm3,%xmm6,%xmm6'
/tmp/ccJMPTRZ.s:162: Error: no such instruction: `vpcomeqd %xmm2,%xmm1,%xmm1'
/tmp/ccJMPTRZ.s:163: Error: no such instruction: `vpcomeqd %xmm2,%xmm7,%xmm2'
/tmp/ccJMPTRZ.s:190: Error: no such instruction: `vpcomgtd %xmm7,%xmm4,%xmm1'
/tmp/ccJMPTRZ.s:196: Error: no such instruction: `vpcomgtd %xmm7,%xmm3,%xmm7'
/tmp/ccJMPTRZ.s:211: Error: no such instruction: `vpcomgtd %xmm8,%xmm5,%xmm0'
/tmp/ccJMPTRZ.s:212: Error: no such instruction: `vpcomgtd %xmm7,%xmm4,%xmm3'
/tmp/ccJMPTRZ.s:221: Error: no such instruction: `vpcomeqd %xmm3,%xmm5,%xmm9'
/tmp/ccJMPTRZ.s:222: Error: no such instruction: `vpcomeqd %xmm3,%xmm4,%xmm3'
/tmp/ccJMPTRZ.s:223: Error: no such instruction: `vpcomeqd %xmm7,%xmm4,%xmm4'
/tmp/ccJMPTRZ.s:226: Error: no such instruction: `vpcomeqd %xmm8,%xmm5,%xmm3'
/tmp/ccJMPTRZ.s:296: Error: no such instruction: `vpcomeqd %xmm1,%xmm0,%xmm0'
/tmp/ccJMPTRZ.s:297: Error: no such instruction: `vpcomeqd %xmm1,%xmm7,%xmm1'
/tmp/ccJMPTRZ.s:322: Error: no such instruction: `vpcomgtd %xmm0,%xmm7,%xmm3'
/tmp/ccJMPTRZ.s:332: Error: no such instruction: `vpcomgtd %xmm0,%xmm2,%xmm0'
/tmp/ccJMPTRZ.s:376: Error: no such instruction: `vpcomeqd %xmm4,%xmm3,%xmm5'
/tmp/ccJMPTRZ.s:378: Error: no such instruction: `vpcomeqd %xmm8,%xmm3,%xmm1'
/tmp/ccJMPTRZ.s:379: Error: no such instruction: `vpcomeqd %xmm8,%xmm2,%xmm8'
/tmp/ccJMPTRZ.s:381: Error: no such instruction: `vpcomeqd %xmm9,%xmm2,%xmm1'
/tmp/ccJMPTRZ.s:387: Error: no such instruction: `vpcomgtd %xmm9,%xmm2,%xmm9'
/tmp/ccJMPTRZ.s:388: Error: no such instruction: `vpcomgtd %xmm4,%xmm3,%xmm4'
/tmp/ccJMPTRZ.s:402: Error: no such instruction: `vpcomeqd %xmm4,%xmm3,%xmm3'
/tmp/ccJMPTRZ.s:403: Error: no such instruction: `vpcomeqd %xmm1,%xmm2,%xmm2'
/tmp/ccJMPTRZ.s:763: Error: no such instruction: `vpcomgtd %xmm7,%xmm5,%xmm0'
/tmp/ccJMPTRZ.s:765: Error: no such instruction: `vpcomgtd %xmm7,%xmm1,%xmm7'
/tmp/ccJMPTRZ.s:780: Error: no such instruction: `vpcomeqd %xmm7,%xmm6,%xmm8'
/tmp/ccJMPTRZ.s:781: Error: no such instruction: `vpcomeqd %xmm3,%xmm6,%xmm6'
/tmp/ccJMPTRZ.s:782: Error: no such instruction: `vpcomeqd %xmm7,%xmm5,%xmm7'
/tmp/ccJMPTRZ.s:786: Error: no such instruction: `vpcomeqd %xmm8,%xmm5,%xmm5'
/tmp/ccJMPTRZ.s:854: Error: no such instruction: `vpcomgtw .LC7(%rip),%xmm1,%xmm2'
/tmp/ccJMPTRZ.s:865: Error: no such instruction: `vpcomeqw %xmm5,%xmm6,%xmm2'
/tmp/ccJMPTRZ.s:869: Error: no such instruction: `vpcomeqw .LC9(%rip),%xmm6,%xmm7'
/tmp/ccJMPTRZ.s:937: Error: no such instruction: `vpcomgtd %xmm1,%xmm6,%xmm4'
/tmp/ccJMPTRZ.s:938: Error: no such instruction: `vpcomgtd %xmm1,%xmm3,%xmm1'
/tmp/ccJMPTRZ.s:948: Error: no such instruction: `vpcomgtd %xmm0,%xmm4,%xmm8'
/tmp/ccJMPTRZ.s:949: Error: no such instruction: `vpcomgtd %xmm6,%xmm3,%xmm7'
/tmp/ccJMPTRZ.s:951: Error: no such instruction: `vpcomeqd %xmm0,%xmm4,%xmm0'
/tmp/ccJMPTRZ.s:952: Error: no such instruction: `vpcomeqd %xmm6,%xmm3,%xmm6'
/tmp/ccJMPTRZ.s:957: Error: no such instruction: `vpcomeqd %xmm7,%xmm4,%xmm9'
/tmp/ccJMPTRZ.s:958: Error: no such instruction: `vpcomeqd %xmm7,%xmm3,%xmm7'
/tmp/ccJMPTRZ.s:1028: Error: no such instruction: `vpcomgtw .LC7(%rip),%xmm0,%xmm2'
/tmp/ccJMPTRZ.s:1038: Error: no such instruction: `vpcomgtw %xmm4,%xmm5,%xmm1'
/tmp/ccJMPTRZ.s:1042: Error: no such instruction: `vpcomeqw %xmm4,%xmm5,%xmm2'
/tmp/ccJMPTRZ.s:1044: Error: no such instruction: `vpcomeqw .LC9(%rip),%xmm5,%xmm6'
/tmp/ccJMPTRZ.s:1112: Error: no such instruction: `vpcomgtd %xmm3,%xmm5,%xmm2'
/tmp/ccJMPTRZ.s:1114: Error: no such instruction: `vpcomgtd %xmm3,%xmm0,%xmm3'
/tmp/ccJMPTRZ.s:1143: Error: no such instruction: `vpcomeqd %xmm8,%xmm1,%xmm9'
/tmp/ccJMPTRZ.s:1144: Error: no such instruction: `vpcomgtd %xmm8,%xmm1,%xmm8'
/tmp/ccJMPTRZ.s:1146: Error: no such instruction: `vpcomeqd %xmm6,%xmm2,%xmm7'
/tmp/ccJMPTRZ.s:1147: Error: no such instruction: `vpcomeqd %xmm6,%xmm1,%xmm6'
/tmp/ccJMPTRZ.s:1149: Error: no such instruction: `vpcomeqd %xmm4,%xmm2,%xmm7'
/tmp/ccJMPTRZ.s:1154: Error: no such instruction: `vpcomgtd %xmm4,%xmm2,%xmm4'
/tmp/ccJMPTRZ.s:1162: Error: no such instruction: `vpcomeqd %xmm4,%xmm2,%xmm2'
/tmp/ccJMPTRZ.s:1164: Error: no such instruction: `vpcomeqd %xmm7,%xmm1,%xmm1'
/tmp/ccJMPTRZ.s:1222: Error: no such instruction: `vpcomgtw .LC7(%rip),%xmm2,%xmm1'
/tmp/ccJMPTRZ.s:1247: Error: no such instruction: `vpcomeqw %xmm3,%xmm2,%xmm4'
/tmp/ccJMPTRZ.s:1248: Error: no such instruction: `vpcomeqw .LC9(%rip),%xmm2,%xmm7'
/tmp/ccJMPTRZ.s:1255: Error: no such instruction: `vpcomgtw %xmm3,%xmm2,%xmm3'
/tmp/ccJMPTRZ.s:1264: Error: no such instruction: `vpcomeqw %xmm1,%xmm2,%xmm1'
make[2]: *** [trigonometric_AVX+XOP+FMA4.cpp.o] Error 1
make[1]: *** [CMakeFiles/Vc.dir/all] Error 2
make: *** [all] Error 2
More information about the Vc-devel
mailing list