This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by LTO plugin for ld configure 0.1, which was generated by GNU Autoconf 2.64. Invocation command line was $ /home/user/librerouteros-C7/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/lto-plugin/configure --srcdir=/home/user/librerouteros-C7/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/lto-plugin --cache-file=./config.cache --with-bugurl=http://bugs.openwrt.org/ --with-pkgversion=OpenWrt GCC 7.5.0 r11437-7dde394fe1 --prefix=/home/user/librerouteros-C7/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl --with-gnu-ld --enable-target-optspace --disable-libgomp --disable-libmudflap --disable-multilib --disable-libmpx --disable-nls --without-isl --without-cloog --with-host-libstdcxx=-lstdc++ --with-float=soft --with-gmp=/home/user/librerouteros-C7/staging_dir/host --with-mpfr=/home/user/librerouteros-C7/staging_dir/host --with-mpc=/home/user/librerouteros-C7/staging_dir/host --disable-decimal-float --with-diagnostics-color=auto-if-env --with-mips-plt --disable-libssp --enable-__cxa_atexit --with-headers=/home/user/librerouteros-C7/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/include --disable-libsanitizer --enable-shared --enable-threads --with-slibdir=/home/user/librerouteros-C7/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib --enable-lto --with-libelf=/home/user/librerouteros-C7/staging_dir/host --enable-languages=c,c++,lto --program-transform-name=s&^&mips-openwrt-linux-musl-& --disable-option-checking --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=mips-openwrt-linux-musl --enable-shared ## --------- ## ## Platform. ## ## --------- ## hostname = 5f7dbc80147f uname -m = x86_64 uname -r = 5.4.0-149-generic uname -s = Linux uname -v = #166-Ubuntu SMP Tue Apr 18 16:51:45 UTC 2023 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/user/librerouteros-C7/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/bin PATH: /home/user/librerouteros-C7/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/bin PATH: /home/user/librerouteros-C7/staging_dir/host/bin PATH: /home/user/librerouteros-C7/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/bin PATH: /home/user/librerouteros-C7/staging_dir/host/bin PATH: /home/user/librerouteros-C7/staging_dir/host/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2231: creating cache ./config.cache configure:2334: checking build system type configure:2348: result: x86_64-pc-linux-gnu configure:2368: checking host system type configure:2381: result: x86_64-pc-linux-gnu configure:2401: checking target system type configure:2414: result: mips-openwrt-linux-musl configure:2502: checking for a BSD-compatible install configure:2570: result: /usr/bin/install -c configure:2581: checking whether build environment is sane configure:2631: result: yes configure:2772: checking for a thread-safe mkdir -p configure:2811: result: /bin/mkdir -p configure:2824: checking for gawk configure:2851: result: gawk configure:2862: checking whether make sets $(MAKE) configure:2884: result: yes configure:2965: checking whether to enable maintainer-specific portions of Makefiles configure:2974: result: no configure:3008: checking for style of include used by make configure:3036: result: GNU configure:3067: checking for x86_64-pc-linux-gnu-gcc configure:3094: result: gcc configure:3363: checking for C compiler version configure:3372: gcc --version >&5 gcc (Debian 8.3.0-6) 8.3.0 Copyright (C) 2018 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. configure:3383: $? = 0 configure:3372: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 8.3.0 (Debian 8.3.0-6) configure:3383: $? = 0 configure:3372: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3383: $? = 1 configure:3372: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:3383: $? = 1 configure:3403: checking for C compiler default output file name configure:3425: gcc -O2 -I/home/user/librerouteros-C7/staging_dir/host/include -static-libstdc++ -static-libgcc conftest.c >&5 configure:3429: $? = 0 configure:3466: result: a.out configure:3482: checking whether the C compiler works configure:3491: ./a.out configure:3495: $? = 0 configure:3510: result: yes configure:3517: checking whether we are cross compiling configure:3519: result: no configure:3522: checking for suffix of executables configure:3529: gcc -o conftest -O2 -I/home/user/librerouteros-C7/staging_dir/host/include -static-libstdc++ -static-libgcc conftest.c >&5 configure:3533: $? = 0 configure:3555: result: configure:3561: checking for suffix of object files configure:3583: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:3587: $? = 0 configure:3608: result: o configure:3612: checking whether we are using the GNU C compiler configure:3631: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:3631: $? = 0 configure:3640: result: yes configure:3649: checking whether gcc accepts -g configure:3669: gcc -c -g conftest.c >&5 configure:3669: $? = 0 configure:3710: result: yes configure:3727: checking for gcc option to accept ISO C89 configure:3791: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:3791: $? = 0 configure:3804: result: none needed configure:3826: checking dependency style of gcc configure:3937: result: gcc3 configure:3958: checking how to run the C preprocessor configure:3989: gcc -E conftest.c configure:3989: $? = 0 configure:4003: gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4003: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "LTO plugin for ld" | #define PACKAGE_TARNAME "lto-plugin" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "LTO plugin for ld 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "lto-plugin" | #define VERSION "0.1" | /* end confdefs.h. */ | #include configure:4028: result: gcc -E configure:4048: gcc -E conftest.c configure:4048: $? = 0 configure:4062: gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4062: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "LTO plugin for ld" | #define PACKAGE_TARNAME "lto-plugin" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "LTO plugin for ld 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "lto-plugin" | #define VERSION "0.1" | /* end confdefs.h. */ | #include configure:4091: checking for grep that handles long lines and -e configure:4149: result: /home/user/librerouteros-C7/staging_dir/host/bin/grep configure:4154: checking for egrep configure:4216: result: /home/user/librerouteros-C7/staging_dir/host/bin/grep -E configure:4221: checking for ANSI C header files configure:4241: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:4241: $? = 0 configure:4314: gcc -o conftest -O2 -I/home/user/librerouteros-C7/staging_dir/host/include -static-libstdc++ -static-libgcc conftest.c >&5 configure:4314: $? = 0 configure:4314: ./conftest configure:4314: $? = 0 configure:4325: result: yes configure:4338: checking for sys/types.h configure:4338: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:4338: $? = 0 configure:4338: result: yes configure:4338: checking for sys/stat.h configure:4338: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:4338: $? = 0 configure:4338: result: yes configure:4338: checking for stdlib.h configure:4338: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:4338: $? = 0 configure:4338: result: yes configure:4338: checking for string.h configure:4338: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:4338: $? = 0 configure:4338: result: yes configure:4338: checking for memory.h configure:4338: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:4338: $? = 0 configure:4338: result: yes configure:4338: checking for strings.h configure:4338: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:4338: $? = 0 configure:4338: result: yes configure:4338: checking for inttypes.h configure:4338: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:4338: $? = 0 configure:4338: result: yes configure:4338: checking for stdint.h configure:4338: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:4338: $? = 0 configure:4338: result: yes configure:4338: checking for unistd.h configure:4338: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:4338: $? = 0 configure:4338: result: yes configure:4352: checking minix/config.h usability configure:4352: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 conftest.c:54:10: fatal error: minix/config.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. configure:4352: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "LTO plugin for ld" | #define PACKAGE_TARNAME "lto-plugin" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "LTO plugin for ld 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "lto-plugin" | #define VERSION "0.1" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:4352: result: no configure:4352: checking minix/config.h presence configure:4352: gcc -E conftest.c conftest.c:21:10: fatal error: minix/config.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. configure:4352: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "LTO plugin for ld" | #define PACKAGE_TARNAME "lto-plugin" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "LTO plugin for ld 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "lto-plugin" | #define VERSION "0.1" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include configure:4352: result: no configure:4352: checking for minix/config.h configure:4352: result: no configure:4373: checking whether it is safe to define __EXTENSIONS__ configure:4391: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:4391: $? = 0 configure:4398: result: yes configure:4420: checking for x86_64-pc-linux-gnu-gcc configure:4447: result: gcc configure:4716: checking for C compiler version configure:4725: gcc --version >&5 gcc (Debian 8.3.0-6) 8.3.0 Copyright (C) 2018 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. configure:4736: $? = 0 configure:4725: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 8.3.0 (Debian 8.3.0-6) configure:4736: $? = 0 configure:4725: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4736: $? = 1 configure:4725: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:4736: $? = 1 configure:4740: checking whether we are using the GNU C compiler configure:4768: result: yes configure:4777: checking whether gcc accepts -g configure:4838: result: yes configure:4855: checking for gcc option to accept ISO C89 configure:4932: result: none needed configure:4954: checking dependency style of gcc configure:5065: result: gcc3 configure:5087: checking for special C compiler options needed for large files configure:5132: result: no configure:5138: checking for _FILE_OFFSET_BITS value needed for large files configure:5163: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:5163: $? = 0 configure:5195: result: no configure:5295: checking whether gcc supports -Wall configure:5312: gcc -c -Wall conftest.c >&5 configure:5312: $? = 0 configure:5321: result: yes configure:5339: checking for -static-libgcc configure:5346: gcc -o conftest -O2 -I/home/user/librerouteros-C7/staging_dir/host/include -static-libstdc++ -static-libgcc -static-libgcc conftest.c >&5 configure:5346: $? = 0 configure:5353: result: yes configure:5440: checking how to print strings configure:5467: result: printf configure:5488: checking for a sed that does not truncate output configure:5552: result: /home/user/librerouteros-C7/staging_dir/host/bin/sed configure:5570: checking for fgrep configure:5632: result: /home/user/librerouteros-C7/staging_dir/host/bin/grep -F configure:5667: checking for ld used by gcc configure:5734: result: ld configure:5741: checking if the linker (ld) is GNU ld configure:5756: result: yes configure:5768: checking for BSD- or MS-compatible name lister (nm) configure:5817: result: nm configure:5947: checking the name lister (nm) interface configure:5954: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:5957: nm "conftest.o" configure:5960: output 0000000000000000 B some_variable configure:5961: result: BSD nm configure:5964: checking whether ln -s works configure:5968: result: yes configure:5976: checking the maximum length of command line arguments configure:6101: result: 1572864 configure:6118: checking whether the shell understands some XSI constructs configure:6127: result: yes configure:6131: checking whether the shell understands "+=" configure:6135: result: yes configure:6170: checking for ld option to reload object files configure:6177: result: -r configure:6206: checking for x86_64-pc-linux-gnu-objdump configure:6233: result: objdump configure:6305: checking how to recognize dependent libraries configure:6506: result: pass_all configure:6526: checking for x86_64-pc-linux-gnu-ar configure:6553: result: ar configure:6631: checking for x86_64-pc-linux-gnu-strip configure:6661: result: no configure:6671: checking for strip configure:6687: found /usr/bin/strip configure:6698: result: strip configure:6730: checking for x86_64-pc-linux-gnu-ranlib configure:6757: result: ranlib configure:6899: checking command to parse nm output from gcc object configure:7017: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:7020: $? = 0 configure:7024: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:7027: $? = 0 configure:7081: gcc -o conftest -O2 -I/home/user/librerouteros-C7/staging_dir/host/include -static-libstdc++ -static-libgcc conftest.c conftstm.o >&5 configure:7084: $? = 0 configure:7122: result: ok configure:7217: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:7220: $? = 0 configure:7970: checking for dlfcn.h configure:7970: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:7970: $? = 0 configure:7970: result: yes configure:8157: checking for objdir configure:8172: result: .libs configure:8443: checking if gcc supports -fno-rtti -fno-exceptions configure:8461: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C configure:8465: $? = 0 configure:8478: result: no configure:8498: checking for gcc option to produce PIC configure:8784: result: -fPIC -DPIC configure:8796: checking if gcc PIC flag -fPIC -DPIC works configure:8814: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include -fPIC -DPIC -DPIC conftest.c >&5 configure:8818: $? = 0 configure:8831: result: yes configure:8855: checking if gcc static flag -static works configure:8883: result: yes configure:8898: checking if gcc supports -c -o file.o configure:8919: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include -o out/conftest2.o conftest.c >&5 configure:8923: $? = 0 configure:8945: result: yes configure:8953: checking if gcc supports -c -o file.o configure:9000: result: yes configure:9033: checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries configure:10104: result: yes configure:10141: checking whether -lc should be explicitly linked in configure:10149: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:10152: $? = 0 configure:10167: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /home/user/librerouteros-C7/staging_dir/host/bin/grep -lc \>/dev/null 2\>\&1 configure:10170: $? = 0 configure:10184: result: no configure:10349: checking dynamic linker characteristics configure:10800: gcc -o conftest -O2 -I/home/user/librerouteros-C7/staging_dir/host/include -static-libstdc++ -static-libgcc -Wl,-rpath -Wl,/foo conftest.c >&5 configure:10800: $? = 0 configure:11022: result: GNU/Linux ld.so configure:11129: checking how to hardcode library paths into programs configure:11154: result: immediate configure:11694: checking whether stripping libraries is possible configure:11699: result: yes configure:11734: checking if libtool supports shared libraries configure:11736: result: yes configure:11739: checking whether to build shared libraries configure:11760: result: yes configure:11763: checking whether to build static libraries configure:11767: result: yes configure:8972: checking for int64_t configure:8972: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:8972: $? = 0 configure:8972: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 conftest.c: In function 'main': conftest.c:65:53: warning: integer overflow in expression of type 'long int' results in '-9223372036854775808' [-Woverflow] < (int64_t) ((((int64_t) 1 << (64 - 2)) - 1) * 2 + 2))]; ^ conftest.c:64:12: error: storage size of 'test_array' isn't constant static int test_array [1 - 2 * !((int64_t) ((((int64_t) 1 << (64 - 2)) - 1) * 2 + 1) ^~~~~~~~~~ configure:8972: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "LTO plugin for ld" | #define PACKAGE_TARNAME "lto-plugin" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "LTO plugin for ld 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "lto-plugin" | #define VERSION "0.1" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !((int64_t) ((((int64_t) 1 << (64 - 2)) - 1) * 2 + 1) | < (int64_t) ((((int64_t) 1 << (64 - 2)) - 1) * 2 + 2))]; | test_array [0] = 0 | | ; | return 0; | } configure:8972: result: yes configure:8983: checking for uint64_t configure:8983: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:8983: $? = 0 configure:8983: result: yes configure:8997: checking for sys/wait.h that is POSIX.1 compatible configure:9023: gcc -c -O2 -I/home/user/librerouteros-C7/staging_dir/host/include conftest.c >&5 configure:9023: $? = 0 configure:9030: result: yes configure:9099: updating cache ./config.cache configure:9160: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by LTO plugin for ld config.status 0.1, which was generated by GNU Autoconf 2.64. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on 5f7dbc80147f config.status:1084: creating Makefile config.status:1084: creating config.h config.status:1297: executing depfiles commands config.status:1297: executing libtool commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_c_int64_t=yes ac_cv_c_uint64_t=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -I/home/user/librerouteros-C7/staging_dir/host/include ' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-static-libstdc++ -static-libgcc ' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-pc-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=mips-openwrt-linux-musl ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_wait_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-pc-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/home/user/librerouteros-C7/staging_dir/host/bin/grep -E' ac_cv_path_FGREP='/home/user/librerouteros-C7/staging_dir/host/bin/grep -F' ac_cv_path_GREP=/home/user/librerouteros-C7/staging_dir/host/bin/grep ac_cv_path_SED=/home/user/librerouteros-C7/staging_dir/host/bin/sed ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AR=ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=gcc ac_cv_prog_CPP='gcc -E' ac_cv_prog_OBJDUMP=objdump ac_cv_prog_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_safe_to_define___extensions__=yes ac_cv_sys_file_offset_bits=no ac_cv_sys_largefile_CC=no ac_cv_target=mips-openwrt-linux-musl acx_cv_prog_cc_warning__Wall=yes am_cv_CC_dependencies_compiler_type=gcc3 gcc_cv_libc_provides_ssp=yes libgcc_cv_fixed_point=no lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=ld lt_cv_path_NM=nm lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_shlibpath_overrides_runpath=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=1572864 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/user/librerouteros-C7/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AR='ar' AUTOCONF='${SHELL} /home/user/librerouteros-C7/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/missing --run autoconf' AUTOHEADER='${SHELL} /home/user/librerouteros-C7/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/missing --run autoheader' AUTOMAKE='${SHELL} /home/user/librerouteros-C7/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/missing --run automake-1.11' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-O2 -I/home/user/librerouteros-C7/staging_dir/host/include ' CPP='gcc -E' CPPFLAGS='' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/home/user/librerouteros-C7/staging_dir/host/bin/grep -E' EXEEXT='' FGREP='/home/user/librerouteros-C7/staging_dir/host/bin/grep -F' GREP='/home/user/librerouteros-C7/staging_dir/host/bin/grep' INSTALL_DATA='/usr/bin/install -c -m 644' INSTALL_PROGRAM='/usr/bin/install -c' INSTALL_SCRIPT='/usr/bin/install -c' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='ld -m elf_x86_64' LDFLAGS='-static-libstdc++ -static-libgcc ' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='/home/user/librerouteros-C7/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/missing makeinfo --split-size=5000000' MKDIR_P='/bin/mkdir -p' NM='nm' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='lto-plugin' PACKAGE_BUGREPORT='' PACKAGE_NAME='LTO plugin for ld' PACKAGE_STRING='LTO plugin for ld 0.1' PACKAGE_TARNAME='lto-plugin' PACKAGE_URL='' PACKAGE_VERSION='0.1' PATH_SEPARATOR=':' RANLIB='ranlib' SED='/home/user/librerouteros-C7/staging_dir/host/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' VERSION='0.1' ac_ct_CC='' ac_ct_DUMPBIN='' ac_lto_plugin_ldflags='-Wc,-static-libgcc' ac_lto_plugin_warn_cflags='-Wall' accel_dir_suffix='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__isrc=' -I$(srcdir)' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_libsubdir='build-x86_64-pc-linux-gnu' build_os='linux-gnu' build_subdir='build-x86_64-pc-linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' gcc_build_dir='../gcc' get_gcc_base_ver='cat' host='x86_64-pc-linux-gnu' host_alias='x86_64-pc-linux-gnu' host_cpu='x86_64' host_os='linux-gnu' host_subdir='.' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/user/librerouteros-C7/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' lt_host_flags='' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/home/user/librerouteros-C7/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl' program_transform_name='s&^&mips-openwrt-linux-musl-&' psdir='${docdir}' real_target_noncanonical='mips-openwrt-linux-musl' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='mips-openwrt-linux-musl' target_alias='mips-openwrt-linux-musl' target_cpu='mips' target_noncanonical='mips-openwrt-linux-musl' target_os='linux-musl' target_subdir='mips-openwrt-linux-musl' target_vendor='openwrt' with_libiberty='../libiberty' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "LTO plugin for ld" #define PACKAGE_TARNAME "lto-plugin" #define PACKAGE_VERSION "0.1" #define PACKAGE_STRING "LTO plugin for ld 0.1" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "lto-plugin" #define VERSION "0.1" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define __EXTENSIONS__ 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_SYS_WAIT_H 1 configure: exit 0