The target system is: Buildroot - 1 - arc The host system is: Linux - 3.13.0-147-generic - x86_64 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc Build flags: -D_LARGEFILE_SOURCE;-D_LARGEFILE64_SOURCE;-D_FILE_OFFSET_BITS=64;-matomic;-Os 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/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/3.8.2/CompilerIdC/a.out" Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ Build flags: -D_LARGEFILE_SOURCE;-D_LARGEFILE64_SOURCE;-D_FILE_OFFSET_BITS=64;-matomic;-Os;;;-latomic 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/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/3.8.2/CompilerIdCXX/a.out" Determining if the C compiler works passed with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_9dfde/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_9dfde.dir/build.make CMakeFiles/cmTC_9dfde.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9dfde.dir/testCCompiler.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -DNDEBUG -o CMakeFiles/cmTC_9dfde.dir/testCCompiler.c.o -c /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTC_9dfde /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9dfde.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -DNDEBUG -rdynamic CMakeFiles/cmTC_9dfde.dir/testCCompiler.c.o -o cmTC_9dfde make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Detecting C compiler ABI info compiled with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_1f857/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_1f857.dir/build.make CMakeFiles/cmTC_1f857.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1f857.dir/CMakeCCompilerABI.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -DNDEBUG -o CMakeFiles/cmTC_1f857.dir/CMakeCCompilerABI.c.o -c /home/buildroot/buildroot-test/instance-1/output/host/share/cmake-3.8/Modules/CMakeCCompilerABI.c Linking C executable cmTC_1f857 /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1f857.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -DNDEBUG -v -rdynamic CMakeFiles/cmTC_1f857.dir/CMakeCCompilerABI.c.o -o cmTC_1f857 Using built-in specs. COLLECT_GCC=/home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc.br_real COLLECT_LTO_WRAPPER=/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/lto-wrapper Target: arc-buildroot-linux-gnu Configured with: ./configure --prefix=/home/buildroot/buildroot-test/instance-1/output/host --sysconfdir=/home/buildroot/buildroot-test/instance-1/output/host/etc --enable-static --target=arc-buildroot-linux-gnu --with-sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/home/buildroot/buildroot-test/instance-1/output/host --with-mpc=/home/buildroot/buildroot-test/instance-1/output/host --with-mpfr=/home/buildroot/buildroot-test/instance-1/output/host --with-pkgversion='Buildroot 2019.05-git-00823-g428e527' --with-bugurl=http://bugs.buildroot.net/ --disable-libquadmath --enable-tls --disable-libmudflap --enable-threads --without-isl --without-cloog --with-cpu=archs --enable-languages=c,c++ --with-build-time-tools=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/bin --enable-shared --disable-libgomp Thread model: posix gcc version 8.2.1 20180814 (Buildroot 2019.05-git-00823-g428e527) COMPILER_PATH=/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/bin/ LIBRARY_PATH=/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/lib/:/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib/:/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib/ COLLECT_GCC_OPTIONS='-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-matomic' '-Os' '-D' 'NDEBUG' '-v' '-rdynamic' '-o' 'cmTC_1f857' '-mcpu=archs' /home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/collect2 -plugin /home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/liblto_plugin.so -plugin-opt=/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccDUddMb.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 --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-arc.so.2 -X -z max-page-size=0x2000 -z common-page-size=0x2000 -marclinux -o cmTC_1f857 /home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib/crt1.o /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crti.o /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtbegin.o -L/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1 -L/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/lib -L/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib -L/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib CMakeFiles/cmTC_1f857.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtend.o /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtn.o COLLECT_GCC_OPTIONS='-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-matomic' '-Os' '-D' 'NDEBUG' '-v' '-rdynamic' '-o' 'cmTC_1f857' '-mcpu=archs' make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Parsed C implicit link information from above output: link line regex: [^( *|.*[/\])(arc-buildroot-linux-gnu-ld|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command:"/usr/bin/make" "cmTC_1f857/fast"] ignore line: [make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp'] ignore line: [/usr/bin/make -f CMakeFiles/cmTC_1f857.dir/build.make CMakeFiles/cmTC_1f857.dir/build] ignore line: [make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp'] ignore line: [Building C object CMakeFiles/cmTC_1f857.dir/CMakeCCompilerABI.c.o] ignore line: [/home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -DNDEBUG -o CMakeFiles/cmTC_1f857.dir/CMakeCCompilerABI.c.o -c /home/buildroot/buildroot-test/instance-1/output/host/share/cmake-3.8/Modules/CMakeCCompilerABI.c] ignore line: [Linking C executable cmTC_1f857] ignore line: [/home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1f857.dir/link.txt --verbose=1] ignore line: [/home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -DNDEBUG -v -rdynamic CMakeFiles/cmTC_1f857.dir/CMakeCCompilerABI.c.o -o cmTC_1f857 ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc.br_real] ignore line: [COLLECT_LTO_WRAPPER=/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/lto-wrapper] ignore line: [Target: arc-buildroot-linux-gnu] ignore line: [Configured with: ./configure --prefix=/home/buildroot/buildroot-test/instance-1/output/host --sysconfdir=/home/buildroot/buildroot-test/instance-1/output/host/etc --enable-static --target=arc-buildroot-linux-gnu --with-sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/home/buildroot/buildroot-test/instance-1/output/host --with-mpc=/home/buildroot/buildroot-test/instance-1/output/host --with-mpfr=/home/buildroot/buildroot-test/instance-1/output/host --with-pkgversion='Buildroot 2019.05-git-00823-g428e527' --with-bugurl=http://bugs.buildroot.net/ --disable-libquadmath --enable-tls --disable-libmudflap --enable-threads --without-isl --without-cloog --with-cpu=archs --enable-languages=c,c++ --with-build-time-tools=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/bin --enable-shared --disable-libgomp] ignore line: [Thread model: posix] ignore line: [gcc version 8.2.1 20180814 (Buildroot 2019.05-git-00823-g428e527) ] ignore line: [COMPILER_PATH=/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/bin/] ignore line: [LIBRARY_PATH=/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/lib/:/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib/:/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-matomic' '-Os' '-D' 'NDEBUG' '-v' '-rdynamic' '-o' 'cmTC_1f857' '-mcpu=archs'] link line: [ /home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/collect2 -plugin /home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/liblto_plugin.so -plugin-opt=/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccDUddMb.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 --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-arc.so.2 -X -z max-page-size=0x2000 -z common-page-size=0x2000 -marclinux -o cmTC_1f857 /home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib/crt1.o /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crti.o /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtbegin.o -L/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1 -L/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/lib -L/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib -L/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib CMakeFiles/cmTC_1f857.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtend.o /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtn.o] arg [/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/collect2] ==> ignore arg [-plugin] ==> ignore arg [/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/liblto_plugin.so] ==> ignore arg [-plugin-opt=/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/lto-wrapper] ==> ignore arg [-plugin-opt=-fresolution=/tmp/ccDUddMb.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 [--sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [-export-dynamic] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib/ld-linux-arc.so.2] ==> ignore arg [-X] ==> ignore arg [-zmax-page-size=0x2000] ==> ignore arg [-zcommon-page-size=0x2000] ==> ignore arg [-marclinux] ==> ignore arg [-o] ==> ignore arg [cmTC_1f857] ==> ignore arg [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib/crt1.o] ==> ignore arg [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crti.o] ==> ignore arg [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtbegin.o] ==> ignore arg [-L/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1] ==> dir [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1] arg [-L/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/lib] ==> dir [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/lib] arg [-L/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib] ==> dir [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib] arg [-L/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib] ==> dir [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib] arg [CMakeFiles/cmTC_1f857.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 [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtend.o] ==> ignore arg [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtn.o] ==> ignore remove lib [gcc] remove lib [gcc_s] remove lib [gcc] remove lib [gcc_s] collapse library dir [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1] ==> [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1] collapse library dir [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/lib] ==> [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/lib] collapse library dir [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib] ==> [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib] collapse library dir [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib] ==> [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib] implicit libs: [c] implicit dirs: [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1;/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/lib;/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib;/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib] implicit fwks: [] Detecting C [-std=c11] compiler features compiled with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ac040/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ac040.dir/build.make CMakeFiles/cmTC_ac040.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ac040.dir/feature_tests.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -DNDEBUG -std=c11 -o CMakeFiles/cmTC_ac040.dir/feature_tests.c.o -c /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/feature_tests.c Linking C executable cmTC_ac040 /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ac040.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -DNDEBUG -rdynamic CMakeFiles/cmTC_ac040.dir/feature_tests.c.o -o cmTC_ac040 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/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/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_0106b/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_0106b.dir/build.make CMakeFiles/cmTC_0106b.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0106b.dir/feature_tests.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -DNDEBUG -std=c99 -o CMakeFiles/cmTC_0106b.dir/feature_tests.c.o -c /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/feature_tests.c Linking C executable cmTC_0106b /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0106b.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -DNDEBUG -rdynamic CMakeFiles/cmTC_0106b.dir/feature_tests.c.o -o cmTC_0106b make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/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/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_debdf/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_debdf.dir/build.make CMakeFiles/cmTC_debdf.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_debdf.dir/feature_tests.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -DNDEBUG -std=c90 -o CMakeFiles/cmTC_debdf.dir/feature_tests.c.o -c /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/feature_tests.c Linking C executable cmTC_debdf /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_debdf.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -DNDEBUG -rdynamic CMakeFiles/cmTC_debdf.dir/feature_tests.c.o -o cmTC_debdf make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/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/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_44470/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_44470.dir/build.make CMakeFiles/cmTC_44470.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_44470.dir/testCXXCompiler.cxx.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -DNDEBUG -o CMakeFiles/cmTC_44470.dir/testCXXCompiler.cxx.o -c /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTC_44470 /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_44470.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -DNDEBUG -rdynamic CMakeFiles/cmTC_44470.dir/testCXXCompiler.cxx.o -o cmTC_44470 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Detecting CXX compiler ABI info compiled with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_f797a/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f797a.dir/build.make CMakeFiles/cmTC_f797a.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_f797a.dir/CMakeCXXCompilerABI.cpp.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -DNDEBUG -o CMakeFiles/cmTC_f797a.dir/CMakeCXXCompilerABI.cpp.o -c /home/buildroot/buildroot-test/instance-1/output/host/share/cmake-3.8/Modules/CMakeCXXCompilerABI.cpp Linking CXX executable cmTC_f797a /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f797a.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -DNDEBUG -v -rdynamic CMakeFiles/cmTC_f797a.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_f797a Using built-in specs. COLLECT_GCC=/home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++.br_real COLLECT_LTO_WRAPPER=/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/lto-wrapper Target: arc-buildroot-linux-gnu Configured with: ./configure --prefix=/home/buildroot/buildroot-test/instance-1/output/host --sysconfdir=/home/buildroot/buildroot-test/instance-1/output/host/etc --enable-static --target=arc-buildroot-linux-gnu --with-sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/home/buildroot/buildroot-test/instance-1/output/host --with-mpc=/home/buildroot/buildroot-test/instance-1/output/host --with-mpfr=/home/buildroot/buildroot-test/instance-1/output/host --with-pkgversion='Buildroot 2019.05-git-00823-g428e527' --with-bugurl=http://bugs.buildroot.net/ --disable-libquadmath --enable-tls --disable-libmudflap --enable-threads --without-isl --without-cloog --with-cpu=archs --enable-languages=c,c++ --with-build-time-tools=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/bin --enable-shared --disable-libgomp Thread model: posix gcc version 8.2.1 20180814 (Buildroot 2019.05-git-00823-g428e527) COMPILER_PATH=/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/bin/ LIBRARY_PATH=/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/lib/:/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib/:/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib/ COLLECT_GCC_OPTIONS='-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-matomic' '-Os' '-D' 'NDEBUG' '-v' '-rdynamic' '-o' 'cmTC_f797a' '-shared-libgcc' '-mcpu=archs' /home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/collect2 -plugin /home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/liblto_plugin.so -plugin-opt=/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccgKQPpy.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 --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-arc.so.2 -X -z max-page-size=0x2000 -z common-page-size=0x2000 -marclinux -o cmTC_f797a /home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib/crt1.o /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crti.o /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtbegin.o -L/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1 -L/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/lib -L/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib -L/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib -latomic CMakeFiles/cmTC_f797a.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtend.o /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtn.o COLLECT_GCC_OPTIONS='-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-matomic' '-Os' '-D' 'NDEBUG' '-v' '-rdynamic' '-o' 'cmTC_f797a' '-shared-libgcc' '-mcpu=archs' make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Parsed CXX implicit link information from above output: link line regex: [^( *|.*[/\])(arc-buildroot-linux-gnu-ld|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command:"/usr/bin/make" "cmTC_f797a/fast"] ignore line: [make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp'] ignore line: [/usr/bin/make -f CMakeFiles/cmTC_f797a.dir/build.make CMakeFiles/cmTC_f797a.dir/build] ignore line: [make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp'] ignore line: [Building CXX object CMakeFiles/cmTC_f797a.dir/CMakeCXXCompilerABI.cpp.o] ignore line: [/home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -DNDEBUG -o CMakeFiles/cmTC_f797a.dir/CMakeCXXCompilerABI.cpp.o -c /home/buildroot/buildroot-test/instance-1/output/host/share/cmake-3.8/Modules/CMakeCXXCompilerABI.cpp] ignore line: [Linking CXX executable cmTC_f797a] ignore line: [/home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f797a.dir/link.txt --verbose=1] ignore line: [/home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -DNDEBUG -v -rdynamic CMakeFiles/cmTC_f797a.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_f797a ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++.br_real] ignore line: [COLLECT_LTO_WRAPPER=/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/lto-wrapper] ignore line: [Target: arc-buildroot-linux-gnu] ignore line: [Configured with: ./configure --prefix=/home/buildroot/buildroot-test/instance-1/output/host --sysconfdir=/home/buildroot/buildroot-test/instance-1/output/host/etc --enable-static --target=arc-buildroot-linux-gnu --with-sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/home/buildroot/buildroot-test/instance-1/output/host --with-mpc=/home/buildroot/buildroot-test/instance-1/output/host --with-mpfr=/home/buildroot/buildroot-test/instance-1/output/host --with-pkgversion='Buildroot 2019.05-git-00823-g428e527' --with-bugurl=http://bugs.buildroot.net/ --disable-libquadmath --enable-tls --disable-libmudflap --enable-threads --without-isl --without-cloog --with-cpu=archs --enable-languages=c,c++ --with-build-time-tools=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/bin --enable-shared --disable-libgomp] ignore line: [Thread model: posix] ignore line: [gcc version 8.2.1 20180814 (Buildroot 2019.05-git-00823-g428e527) ] ignore line: [COMPILER_PATH=/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/bin/] ignore line: [LIBRARY_PATH=/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/:/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/lib/:/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib/:/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-matomic' '-Os' '-D' 'NDEBUG' '-v' '-rdynamic' '-o' 'cmTC_f797a' '-shared-libgcc' '-mcpu=archs'] link line: [ /home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/collect2 -plugin /home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/liblto_plugin.so -plugin-opt=/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccgKQPpy.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 --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-arc.so.2 -X -z max-page-size=0x2000 -z common-page-size=0x2000 -marclinux -o cmTC_f797a /home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib/crt1.o /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crti.o /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtbegin.o -L/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1 -L/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/lib -L/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib -L/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib -latomic CMakeFiles/cmTC_f797a.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtend.o /home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtn.o] arg [/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/collect2] ==> ignore arg [-plugin] ==> ignore arg [/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/liblto_plugin.so] ==> ignore arg [-plugin-opt=/home/buildroot/buildroot-test/instance-1/output/host/libexec/gcc/arc-buildroot-linux-gnu/8.2.1/lto-wrapper] ==> ignore arg [-plugin-opt=-fresolution=/tmp/ccgKQPpy.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 [--sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [-export-dynamic] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib/ld-linux-arc.so.2] ==> ignore arg [-X] ==> ignore arg [-zmax-page-size=0x2000] ==> ignore arg [-zcommon-page-size=0x2000] ==> ignore arg [-marclinux] ==> ignore arg [-o] ==> ignore arg [cmTC_f797a] ==> ignore arg [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib/crt1.o] ==> ignore arg [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crti.o] ==> ignore arg [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtbegin.o] ==> ignore arg [-L/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1] ==> dir [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1] arg [-L/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/lib] ==> dir [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/lib] arg [-L/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib] ==> dir [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib] arg [-L/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib] ==> dir [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib] arg [-latomic] ==> lib [atomic] arg [CMakeFiles/cmTC_f797a.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 [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtend.o] ==> ignore arg [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/crtn.o] ==> ignore remove lib [gcc_s] remove lib [gcc] remove lib [gcc_s] remove lib [gcc] collapse library dir [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1] ==> [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1] collapse library dir [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1/../../../../arc-buildroot-linux-gnu/lib] ==> [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/lib] collapse library dir [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib] ==> [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib] collapse library dir [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib] ==> [/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib] implicit libs: [atomic;stdc++;m;c] implicit dirs: [/home/buildroot/buildroot-test/instance-1/output/host/lib/gcc/arc-buildroot-linux-gnu/8.2.1;/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/lib;/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/lib;/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot/usr/lib] implicit fwks: [] Detecting CXX [-std=c++1z] compiler features compiled with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_e6c1f/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_e6c1f.dir/build.make CMakeFiles/cmTC_e6c1f.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_e6c1f.dir/feature_tests.cxx.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -DNDEBUG -std=c++1z -o CMakeFiles/cmTC_e6c1f.dir/feature_tests.cxx.o -c /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/feature_tests.cxx Linking CXX executable cmTC_e6c1f /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e6c1f.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -DNDEBUG -rdynamic CMakeFiles/cmTC_e6c1f.dir/feature_tests.cxx.o -o cmTC_e6c1f make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Feature record: CXX_FEATURE:1cxx_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:1cxx_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:1cxx_variable_templates Feature record: CXX_FEATURE:1cxx_variadic_macros Feature record: CXX_FEATURE:1cxx_variadic_templates Detecting CXX [-std=c++14] compiler features compiled with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a781c/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a781c.dir/build.make CMakeFiles/cmTC_a781c.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_a781c.dir/feature_tests.cxx.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -DNDEBUG -std=c++14 -o CMakeFiles/cmTC_a781c.dir/feature_tests.cxx.o -c /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/feature_tests.cxx Linking CXX executable cmTC_a781c /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a781c.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -DNDEBUG -rdynamic CMakeFiles/cmTC_a781c.dir/feature_tests.cxx.o -o cmTC_a781c make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Feature record: CXX_FEATURE:1cxx_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:1cxx_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:1cxx_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/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_2b542/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_2b542.dir/build.make CMakeFiles/cmTC_2b542.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_2b542.dir/feature_tests.cxx.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -DNDEBUG -std=c++11 -o CMakeFiles/cmTC_2b542.dir/feature_tests.cxx.o -c /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/feature_tests.cxx Linking CXX executable cmTC_2b542 /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2b542.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -DNDEBUG -rdynamic CMakeFiles/cmTC_2b542.dir/feature_tests.cxx.o -o cmTC_2b542 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/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/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_88462/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_88462.dir/build.make CMakeFiles/cmTC_88462.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_88462.dir/feature_tests.cxx.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -DNDEBUG -std=c++98 -o CMakeFiles/cmTC_88462.dir/feature_tests.cxx.o -c /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/feature_tests.cxx Linking CXX executable cmTC_88462 /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_88462.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -DNDEBUG -rdynamic CMakeFiles/cmTC_88462.dir/feature_tests.cxx.o -o cmTC_88462 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/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 Performing C++ SOURCE FILE Test CXX11_SUPPORTED succeeded with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_d6978/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_d6978.dir/build.make CMakeFiles/cmTC_d6978.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_d6978.dir/src.cxx.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -Wall -Wextra -Winvalid-pch -Wno-unused-parameter -DCXX11_SUPPORTED -DNDEBUG -std=c++11 -o CMakeFiles/cmTC_d6978.dir/src.cxx.o -c /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_d6978 /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d6978.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -Wall -Wextra -Winvalid-pch -Wno-unused-parameter -DCXX11_SUPPORTED -DNDEBUG -rdynamic CMakeFiles/cmTC_d6978.dir/src.cxx.o -o cmTC_d6978 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test CXX0X_SUPPORTED succeeded with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_3c0a1/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3c0a1.dir/build.make CMakeFiles/cmTC_3c0a1.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_3c0a1.dir/src.cxx.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -Wall -Wextra -Winvalid-pch -Wno-unused-parameter -DCXX0X_SUPPORTED -DNDEBUG -std=c++0x -o CMakeFiles/cmTC_3c0a1.dir/src.cxx.o -c /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_3c0a1 /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3c0a1.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -Wall -Wextra -Winvalid-pch -Wno-unused-parameter -DCXX0X_SUPPORTED -DNDEBUG -rdynamic CMakeFiles/cmTC_3c0a1.dir/src.cxx.o -o cmTC_3c0a1 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Source file was: int main() { return 0; } Determining if the include file pthread.h exists passed with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c804f/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c804f.dir/build.make CMakeFiles/cmTC_c804f.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c804f.dir/CheckIncludeFile.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -DNDEBUG -o CMakeFiles/cmTC_c804f.dir/CheckIncludeFile.c.o -c /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_c804f /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c804f.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -DNDEBUG -rdynamic CMakeFiles/cmTC_c804f.dir/CheckIncludeFile.c.o -o cmTC_c804f make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test HAVE_CXX_ATOMICS64_WITHOUT_LIB succeeded with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ac2cf/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ac2cf.dir/build.make CMakeFiles/cmTC_ac2cf.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_ac2cf.dir/src.cxx.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -Wall -Wextra -Winvalid-pch -Wno-unused-parameter -std=c++11 -pipe -pthread -fPIC -DHAVE_CXX_ATOMICS64_WITHOUT_LIB -std=c++11 -DNDEBUG -o CMakeFiles/cmTC_ac2cf.dir/src.cxx.o -c /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp/src.cxx /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp/src.cxx:6:12: warning: unused variable 'i' [-Wunused-variable] uint64_t i = x.load(std::memory_order_relaxed); ^ Linking CXX executable cmTC_ac2cf /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ac2cf.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -Wall -Wextra -Winvalid-pch -Wno-unused-parameter -std=c++11 -pipe -pthread -fPIC -DHAVE_CXX_ATOMICS64_WITHOUT_LIB -std=c++11 -DNDEBUG -rdynamic CMakeFiles/cmTC_ac2cf.dir/src.cxx.o -o cmTC_ac2cf make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Source file was: #include #include std::atomic x (0); int main() { uint64_t i = x.load(std::memory_order_relaxed); return 0; } Performing C++ SOURCE FILE Test LLVM_HAS_ATOMICS succeeded with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_d0230/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_d0230.dir/build.make CMakeFiles/cmTC_d0230.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_d0230.dir/src.cxx.o /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -Wall -Wextra -Winvalid-pch -Wno-unused-parameter -std=c++11 -pipe -pthread -fPIC -DLLVM_HAS_ATOMICS -DNDEBUG -o CMakeFiles/cmTC_d0230.dir/src.cxx.o -c /home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_d0230 /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d0230.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/arc-buildroot-linux-gnu-g++ --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/arc-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -latomic -Wall -Wextra -Winvalid-pch -Wno-unused-parameter -std=c++11 -pipe -pthread -fPIC -DLLVM_HAS_ATOMICS -DNDEBUG -rdynamic CMakeFiles/cmTC_d0230.dir/src.cxx.o -o cmTC_d0230 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/i2pd-2.22.0/build/CMakeFiles/CMakeTmp' Source file was: #ifdef _MSC_VER #include /* Workaround for PR19898. */ #include #endif int main() { #ifdef _MSC_VER volatile LONG val = 1; MemoryBarrier(); InterlockedCompareExchange(&val, 0, 1); InterlockedIncrement(&val); InterlockedDecrement(&val); #else volatile unsigned long val = 1; __sync_synchronize(); __sync_val_compare_and_swap(&val, 1, 0); __sync_add_and_fetch(&val, 1); __sync_sub_and_fetch(&val, 1); #endif return 0; }