fireice-uk / xmr-stak-cpu

Monero CPU miner
GNU General Public License v3.0
1.11k stars 478 forks source link

GCC version must be at least 5.1! but gcc 6.3.0 #206

Closed iamjenechka closed 7 years ago

iamjenechka commented 7 years ago

gcc --version gcc (Gentoo 6.3.0 p1.0) 6.3.0 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

cmake . CMake Error at CMakeLists.txt:27 (message): GCC version must be at least 5.1!

-- Configuring incomplete, errors occurred! See also "/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeOutput.log".

psychocrypt commented 7 years ago

Please post the full cmake output plus the output of g++ --version It looks like your c++ compiler is not 5.x

iamjenechka commented 7 years ago

The system is: Linux - 4.9.16-gentoo - x86_64 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: /usr/bin/cc Build flags: Id flags:

The output was: 0

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"

The C compiler identification is GNU, found in "/home/jim/monero/xmr-stak-cpu/CMakeFiles/3.8.0/CompilerIdC/a.out"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: /usr/bin/c++ Build flags: Id flags:

The output was: 0

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"

The CXX compiler identification is GNU, found in "/home/jim/monero/xmr-stak-cpu/CMakeFiles/3.8.0/CompilerIdCXX/a.out"

Determining if the C compiler works passed with the following output: Change Dir: /home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_577e3/fast" /usr/bin/gmake -f CMakeFiles/cmTC_577e3.dir/build.make CMakeFiles/cmTC_577e3.dir/build gmake[1]: Entering directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_577e3.dir/testCCompiler.c.o /usr/bin/cc -o CMakeFiles/cmTC_577e3.dir/testCCompiler.c.o -c /home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTC_577e3 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_577e3.dir/link.txt --verbose=1 /usr/bin/cc -rdynamic CMakeFiles/cmTC_577e3.dir/testCCompiler.c.o -o cmTC_577e3 gmake[1]: Leaving directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp'

Detecting C compiler ABI info compiled with the following output: Change Dir: /home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_380b2/fast" /usr/bin/gmake -f CMakeFiles/cmTC_380b2.dir/build.make CMakeFiles/cmTC_380b2.dir/build gmake[1]: Entering directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_380b2.dir/CMakeCCompilerABI.c.o /usr/bin/cc -o CMakeFiles/cmTC_380b2.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c Linking C executable cmTC_380b2 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_380b2.dir/link.txt --verbose=1 /usr/bin/cc -v -rdynamic CMakeFiles/cmTC_380b2.dir/CMakeCCompilerABI.c.o -o cmTC_380b2 Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.9.3 p1.2, pie-0.6.3' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --enable-lto --without-cloog --enable-libsanitizer Thread model: posix gcc version 4.9.3 (Gentoo 4.9.3 p1.2, pie-0.6.3) COMPILER_PATH=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/libexec/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_380b2' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/collect2 -plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapper -plugin-opt=-fresolution=/tmp/ccl025h9.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_380b2 /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/crtbegin.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../.. CMakeFiles/cmTC_380b2.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/crtend.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crtn.o gmake[1]: Leaving directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp'

Parsed C implicit link information from above output: link line regex: [^( |.[/])(ld|([^/]+-)?ld|collect2)[^/]*( |$)] ignore line: [Change Dir: /home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command:"/usr/bin/gmake" "cmTC_380b2/fast"] ignore line: [/usr/bin/gmake -f CMakeFiles/cmTC_380b2.dir/build.make CMakeFiles/cmTC_380b2.dir/build] ignore line: [gmake[1]: Entering directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp'] ignore line: [Building C object CMakeFiles/cmTC_380b2.dir/CMakeCCompilerABI.c.o] ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_380b2.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c] ignore line: [Linking C executable cmTC_380b2] ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_380b2.dir/link.txt --verbose=1] ignore line: [/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_380b2.dir/CMakeCCompilerABI.c.o -o cmTC_380b2 ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/gcc] ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapper] ignore line: [Target: x86_64-pc-linux-gnu] ignore line: [Configured with: /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.9.3 p1.2, pie-0.6.3' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --enable-lto --without-cloog --enable-libsanitizer] ignore line: [Thread model: posix] ignore line: [gcc version 4.9.3 (Gentoo 4.9.3 p1.2, pie-0.6.3) ] ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/libexec/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../:/lib/:/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_380b2' '-mtune=generic' '-march=x86-64'] link line: [ /usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/collect2 -plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapper -plugin-opt=-fresolution=/tmp/ccl025h9.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_380b2 /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/crtbegin.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../.. CMakeFiles/cmTC_380b2.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/crtend.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crtn.o] arg [/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/collect2] ==> ignore arg [-plugin] ==> ignore arg [/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/liblto_plugin.so] ==> ignore arg [-plugin-opt=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapper] ==> ignore arg [-plugin-opt=-fresolution=/tmp/ccl025h9.res] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [-m] ==> ignore arg [elf_x86_64] ==> ignore arg [-export-dynamic] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib64/ld-linux-x86-64.so.2] ==> ignore arg [-o] ==> ignore arg [cmTC_380b2] ==> ignore arg [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crt1.o] ==> ignore arg [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crti.o] ==> ignore arg [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/crtbegin.o] ==> ignore arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3] arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64] arg [-L/lib/../lib64] ==> dir [/lib/../lib64] arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64] arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib] arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../..] arg [CMakeFiles/cmTC_380b2.dir/CMakeCCompilerABI.c.o] ==> ignore arg [-lgcc] ==> lib [gcc] arg [--as-needed] ==> ignore arg [-lgcc_s] ==> lib [gcc_s] arg [--no-as-needed] ==> ignore arg [-lc] ==> lib [c] arg [-lgcc] ==> lib [gcc] arg [--as-needed] ==> ignore arg [-lgcc_s] ==> lib [gcc_s] arg [--no-as-needed] ==> ignore arg [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/crtend.o] ==> ignore arg [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crtn.o] ==> ignore remove lib [gcc] remove lib [gcc_s] remove lib [gcc] remove lib [gcc_s] collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3] collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64] ==> [/usr/lib64] collapse library dir [/lib/../lib64] ==> [/lib64] collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64] collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib] ==> [/usr/x86_64-pc-linux-gnu/lib] collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../..] ==> [/usr/lib] implicit libs: [c] implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3;/usr/lib64;/lib64;/usr/x86_64-pc-linux-gnu/lib;/usr/lib] implicit fwks: []

Detecting C [-std=c11] compiler features compiled with the following output: Change Dir: /home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_01ee0/fast" /usr/bin/gmake -f CMakeFiles/cmTC_01ee0.dir/build.make CMakeFiles/cmTC_01ee0.dir/build gmake[1]: Entering directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_01ee0.dir/feature_tests.c.o /usr/bin/cc -std=c11 -o CMakeFiles/cmTC_01ee0.dir/feature_tests.c.o -c /home/jim/monero/xmr-stak-cpu/CMakeFiles/feature_tests.c Linking C executable cmTC_01ee0 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_01ee0.dir/link.txt --verbose=1 /usr/bin/cc -rdynamic CMakeFiles/cmTC_01ee0.dir/feature_tests.c.o -o cmTC_01ee0 gmake[1]: Leaving directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp'

Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:1c_static_assert
Feature record: C_FEATURE:1c_variadic_macros

Detecting C [-std=c99] compiler features compiled with the following output: Change Dir: /home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_c72c0/fast" /usr/bin/gmake -f CMakeFiles/cmTC_c72c0.dir/build.make CMakeFiles/cmTC_c72c0.dir/build gmake[1]: Entering directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c72c0.dir/feature_tests.c.o /usr/bin/cc -std=c99 -o CMakeFiles/cmTC_c72c0.dir/feature_tests.c.o -c /home/jim/monero/xmr-stak-cpu/CMakeFiles/feature_tests.c Linking C executable cmTC_c72c0 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c72c0.dir/link.txt --verbose=1 /usr/bin/cc -rdynamic CMakeFiles/cmTC_c72c0.dir/feature_tests.c.o -o cmTC_c72c0 gmake[1]: Leaving directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp'

Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:1c_variadic_macros

Detecting C [-std=c90] compiler features compiled with the following output: Change Dir: /home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_18297/fast" /usr/bin/gmake -f CMakeFiles/cmTC_18297.dir/build.make CMakeFiles/cmTC_18297.dir/build gmake[1]: Entering directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_18297.dir/feature_tests.c.o /usr/bin/cc -std=c90 -o CMakeFiles/cmTC_18297.dir/feature_tests.c.o -c /home/jim/monero/xmr-stak-cpu/CMakeFiles/feature_tests.c Linking C executable cmTC_18297 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_18297.dir/link.txt --verbose=1 /usr/bin/cc -rdynamic CMakeFiles/cmTC_18297.dir/feature_tests.c.o -o cmTC_18297 gmake[1]: Leaving directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp'

Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:0c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:0c_variadic_macros

Determining if the CXX compiler works passed with the following output: Change Dir: /home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_1e0d9/fast" /usr/bin/gmake -f CMakeFiles/cmTC_1e0d9.dir/build.make CMakeFiles/cmTC_1e0d9.dir/build gmake[1]: Entering directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_1e0d9.dir/testCXXCompiler.cxx.o /usr/bin/c++ -o CMakeFiles/cmTC_1e0d9.dir/testCXXCompiler.cxx.o -c /home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTC_1e0d9 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1e0d9.dir/link.txt --verbose=1 /usr/bin/c++ -rdynamic CMakeFiles/cmTC_1e0d9.dir/testCXXCompiler.cxx.o -o cmTC_1e0d9 gmake[1]: Leaving directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp'

Detecting CXX compiler ABI info compiled with the following output: Change Dir: /home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_8b3fb/fast" /usr/bin/gmake -f CMakeFiles/cmTC_8b3fb.dir/build.make CMakeFiles/cmTC_8b3fb.dir/build gmake[1]: Entering directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_8b3fb.dir/CMakeCXXCompilerABI.cpp.o /usr/bin/c++ -o CMakeFiles/cmTC_8b3fb.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp Linking CXX executable cmTC_8b3fb /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8b3fb.dir/link.txt --verbose=1 /usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_8b3fb.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_8b3fb Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/c++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.9.3 p1.2, pie-0.6.3' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --enable-lto --without-cloog --enable-libsanitizer Thread model: posix gcc version 4.9.3 (Gentoo 4.9.3 p1.2, pie-0.6.3) COMPILER_PATH=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/libexec/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_8b3fb' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/collect2 -plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapper -plugin-opt=-fresolution=/tmp/cc64BLJo.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_8b3fb /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/crtbegin.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../.. CMakeFiles/cmTC_8b3fb.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/crtend.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crtn.o gmake[1]: Leaving directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp'

Parsed CXX implicit link information from above output: link line regex: [^( |.[/])(ld|([^/]+-)?ld|collect2)[^/]*( |$)] ignore line: [Change Dir: /home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command:"/usr/bin/gmake" "cmTC_8b3fb/fast"] ignore line: [/usr/bin/gmake -f CMakeFiles/cmTC_8b3fb.dir/build.make CMakeFiles/cmTC_8b3fb.dir/build] ignore line: [gmake[1]: Entering directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp'] ignore line: [Building CXX object CMakeFiles/cmTC_8b3fb.dir/CMakeCXXCompilerABI.cpp.o] ignore line: [/usr/bin/c++ -o CMakeFiles/cmTC_8b3fb.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp] ignore line: [Linking CXX executable cmTC_8b3fb] ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8b3fb.dir/link.txt --verbose=1] ignore line: [/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_8b3fb.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_8b3fb ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/c++] ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapper] ignore line: [Target: x86_64-pc-linux-gnu] ignore line: [Configured with: /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.9.3 p1.2, pie-0.6.3' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --enable-lto --without-cloog --enable-libsanitizer] ignore line: [Thread model: posix] ignore line: [gcc version 4.9.3 (Gentoo 4.9.3 p1.2, pie-0.6.3) ] ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/libexec/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../:/lib/:/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_8b3fb' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] link line: [ /usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/collect2 -plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapper -plugin-opt=-fresolution=/tmp/cc64BLJo.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_8b3fb /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/crtbegin.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../.. CMakeFiles/cmTC_8b3fb.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/crtend.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crtn.o] arg [/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/collect2] ==> ignore arg [-plugin] ==> ignore arg [/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/liblto_plugin.so] ==> ignore arg [-plugin-opt=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapper] ==> ignore arg [-plugin-opt=-fresolution=/tmp/cc64BLJo.res] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [-m] ==> ignore arg [elf_x86_64] ==> ignore arg [-export-dynamic] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib64/ld-linux-x86-64.so.2] ==> ignore arg [-o] ==> ignore arg [cmTC_8b3fb] ==> ignore arg [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crt1.o] ==> ignore arg [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crti.o] ==> ignore arg [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/crtbegin.o] ==> ignore arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3] arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64] arg [-L/lib/../lib64] ==> dir [/lib/../lib64] arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64] arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib] arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../..] arg [CMakeFiles/cmTC_8b3fb.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore arg [-lstdc++] ==> lib [stdc++] arg [-lm] ==> lib [m] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] arg [-lc] ==> lib [c] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] arg [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/crtend.o] ==> ignore arg [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crtn.o] ==> ignore remove lib [gcc_s] remove lib [gcc] remove lib [gcc_s] remove lib [gcc] collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3] collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64] ==> [/usr/lib64] collapse library dir [/lib/../lib64] ==> [/lib64] collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64] collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib] ==> [/usr/x86_64-pc-linux-gnu/lib] collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../..] ==> [/usr/lib] implicit libs: [stdc++;m;c] implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3;/usr/lib64;/lib64;/usr/x86_64-pc-linux-gnu/lib;/usr/lib] implicit fwks: []

Detecting CXX [-std=c++14] compiler features compiled with the following output: Change Dir: /home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_28ef5/fast" /usr/bin/gmake -f CMakeFiles/cmTC_28ef5.dir/build.make CMakeFiles/cmTC_28ef5.dir/build gmake[1]: Entering directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_28ef5.dir/feature_tests.cxx.o /usr/bin/c++ -std=c++14 -o CMakeFiles/cmTC_28ef5.dir/feature_tests.cxx.o -c /home/jim/monero/xmr-stak-cpu/CMakeFiles/feature_tests.cxx Linking CXX executable cmTC_28ef5 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_28ef5.dir/link.txt --verbose=1 /usr/bin/c++ -rdynamic CMakeFiles/cmTC_28ef5.dir/feature_tests.cxx.o -o cmTC_28ef5 gmake[1]: Leaving directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp'

Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:1cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:1cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:1cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:1cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:1cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:1cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:1cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:1cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates

Detecting CXX [-std=c++11] compiler features compiled with the following output: Change Dir: /home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_67d7e/fast" /usr/bin/gmake -f CMakeFiles/cmTC_67d7e.dir/build.make CMakeFiles/cmTC_67d7e.dir/build gmake[1]: Entering directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_67d7e.dir/feature_tests.cxx.o /usr/bin/c++ -std=c++11 -o CMakeFiles/cmTC_67d7e.dir/feature_tests.cxx.o -c /home/jim/monero/xmr-stak-cpu/CMakeFiles/feature_tests.cxx Linking CXX executable cmTC_67d7e /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_67d7e.dir/link.txt --verbose=1 /usr/bin/c++ -rdynamic CMakeFiles/cmTC_67d7e.dir/feature_tests.cxx.o -o cmTC_67d7e gmake[1]: Leaving directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp'

Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:0cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates

Detecting CXX [-std=c++98] compiler features compiled with the following output: Change Dir: /home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_4669b/fast" /usr/bin/gmake -f CMakeFiles/cmTC_4669b.dir/build.make CMakeFiles/cmTC_4669b.dir/build gmake[1]: Entering directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_4669b.dir/feature_tests.cxx.o /usr/bin/c++ -std=c++98 -o CMakeFiles/cmTC_4669b.dir/feature_tests.cxx.o -c /home/jim/monero/xmr-stak-cpu/CMakeFiles/feature_tests.cxx Linking CXX executable cmTC_4669b /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4669b.dir/link.txt --verbose=1 /usr/bin/c++ -rdynamic CMakeFiles/cmTC_4669b.dir/feature_tests.cxx.o -o cmTC_4669b gmake[1]: Leaving directory '/home/jim/monero/xmr-stak-cpu/CMakeFiles/CMakeTmp'

Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:0cxx_alias_templates
Feature record: CXX_FEATURE:0cxx_alignas
Feature record: CXX_FEATURE:0cxx_alignof
Feature record: CXX_FEATURE:0cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:0cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:0cxx_constexpr
Feature record: CXX_FEATURE:0cxx_contextual_conversions
Feature record: CXX_FEATURE:0cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:0cxx_default_function_template_args
Feature record: CXX_FEATURE:0cxx_defaulted_functions
Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:0cxx_delegating_constructors
Feature record: CXX_FEATURE:0cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:0cxx_enum_forward_declarations
Feature record: CXX_FEATURE:0cxx_explicit_conversions
Feature record: CXX_FEATURE:0cxx_extended_friend_declarations
Feature record: CXX_FEATURE:0cxx_extern_templates
Feature record: CXX_FEATURE:0cxx_final
Feature record: CXX_FEATURE:0cxx_func_identifier
Feature record: CXX_FEATURE:0cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:0cxx_inheriting_constructors
Feature record: CXX_FEATURE:0cxx_inline_namespaces
Feature record: CXX_FEATURE:0cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:0cxx_local_type_template_args
Feature record: CXX_FEATURE:0cxx_long_long_type
Feature record: CXX_FEATURE:0cxx_noexcept
Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
Feature record: CXX_FEATURE:0cxx_nullptr
Feature record: CXX_FEATURE:0cxx_override
Feature record: CXX_FEATURE:0cxx_range_for
Feature record: CXX_FEATURE:0cxx_raw_string_literals
Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:0cxx_right_angle_brackets
Feature record: CXX_FEATURE:0cxx_rvalue_references
Feature record: CXX_FEATURE:0cxx_sizeof_member
Feature record: CXX_FEATURE:0cxx_static_assert
Feature record: CXX_FEATURE:0cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:0cxx_thread_local
Feature record: CXX_FEATURE:0cxx_trailing_return_types
Feature record: CXX_FEATURE:0cxx_unicode_literals
Feature record: CXX_FEATURE:0cxx_uniform_initialization
Feature record: CXX_FEATURE:0cxx_unrestricted_unions
Feature record: CXX_FEATURE:0cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:0cxx_variadic_macros
Feature record: CXX_FEATURE:0cxx_variadic_templates
iamjenechka commented 7 years ago

Hm... it looks like it still using 4.9.3?

iamjenechka commented 7 years ago

I'm done here. some magic with env-update && source /etc/profile and -DCMAKE_CC_COMPILER=gcc6

waffles702 commented 7 years ago

So what was fix? @jimisan im having this issue currently.

iamjenechka commented 7 years ago

env-update && source /etc/profile; compiled with -DCMAKE_CC_COMPILER=gcc6 option.

foice commented 7 years ago

The key is to force the compiler choices cmake -DCMAKE_CXX_COMPILER=g++-6.1.0 -DCMAKE_C_COMPILER=gcc-6.1.0 .

liuyes commented 6 years ago

CentOS 6

sudo wget -O /etc/yum.repos.d/ https://copr.fedoraproject.org/coprs/hhorak/devtoolset-4-rebuild-bootstrap/repo/epel-6/hhorak-devtoolset-4-rebuild-bootstrap-epel-6.repo sudo yum install centos-release-scl cmake3 hwloc-devel libmicrohttpd-devel openssl-devel sudo yum install devtoolset-4-gcc* sudo scl enable devtoolset-4 bash cmake3 -DCMAKE_CC_COMPILER=gcc5/6 . make install

CentOS 7

sudo wget -O /etc/yum.repos.d/ https://copr.fedoraproject.org/coprs/hhorak/devtoolset-4-rebuild-bootstrap/repo/epel-7/hhorak-devtoolset-4-rebuild-bootstrap-epel-7.repo sudo yum install centos-release-scl cmake3 hwloc-devel libmicrohttpd-devel openssl-devel sudo yum install devtoolset-4-gcc* sudo scl enable devtoolset-4 bash cmake3 -DCMAKE_CC_COMPILER=gcc5/6 . make install

http://blog.csdn.net/force_eagle/article/details/50474355

ghost commented 6 years ago

cmake -DCMAKE_CXX_COMPILER_VERSION=6.3.0

malsony commented 6 years ago

Here's what I've done and fixed in CentOS 7.4:

wget https://ftp.gnu.org/gnu/gcc/gcc-8.1.0/gcc-8.1.0.tar.gz
tar -xzf gcc-8.1.0.tar.gz
mkdir gcc-8.1.0-build
../gcc-8.1.0/configure --enable-languages=c,c++ --disable-multilib
make -j$(nproc) && make install

This process will finish in a long time. GCC will be installed in somewhere under /usr/local, and you need to take one more step, create a symbolic link named 8.1.0 in the directory /usr/lib/gcc/x86_64-redhat-linux, pointing to the install path.

Reference:

https://jdhao.github.io/2017/09/04/install-gcc-newer-version-on-centos/

After installing newer version of gcc, temporary specify the location of it:

export CC=/usr/local/bin/gcc
export CXX=/usr/local/bin/g++