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.69. Invocation command line was $ /home/user/openwrt2305/build_dir/toolchain-mips_24kc_gcc-13.3.0_musl/gcc-13.3.0/lto-plugin/configure --srcdir=/home/user/openwrt2305/build_dir/toolchain-mips_24kc_gcc-13.3.0_musl/gcc-13.3.0/lto-plugin --cache-file=./config.cache --with-bugurl=http://bugs.openwrt.org/ --with-pkgversion=OpenWrt GCC 13.3.0 r27892-1306885968 --prefix=/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl --with-gnu-ld --enable-target-optspace --disable-libgomp --disable-libmudflap --disable-multilib --disable-libmpx --disable-nls --disable-libssp --without-isl --without-cloog --with-host-libstdcxx=-lstdc++ --with-float=soft --with-system-zlib=/home/user/openwrt2305/staging_dir/host --with-zstd=/home/user/openwrt2305/staging_dir/host --with-gmp=/home/user/openwrt2305/staging_dir/host --with-mpfr=/home/user/openwrt2305/staging_dir/host --with-mpc=/home/user/openwrt2305/staging_dir/host --disable-decimal-float --with-diagnostics-color=auto-if-env --enable-__cxa_atexit --enable-libstdcxx-dual-abi --with-default-libstdcxx-abi=new --with-mips-plt --with-newlib --with-sysroot=/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl --disable-shared --disable-threads --enable-languages=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 = cb2a80d0fca4 uname -m = x86_64 uname -r = 5.4.0-196-generic uname -s = Linux uname -v = #216-Ubuntu SMP Thu Aug 29 13:26:53 UTC 2024 /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/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/bin PATH: /home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/bin PATH: /home/user/openwrt2305/staging_dir/host/bin PATH: /home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/bin PATH: /home/user/openwrt2305/staging_dir/host/bin PATH: /home/user/openwrt2305/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:2289: creating cache ./config.cache configure:2398: checking build system type configure:2412: result: x86_64-pc-linux-gnu configure:2432: checking host system type configure:2445: result: x86_64-pc-linux-gnu configure:2465: checking target system type configure:2478: result: mips-openwrt-linux-musl configure:2566: checking for a BSD-compatible install configure:2634: result: /home/user/openwrt2305/staging_dir/host/bin/install -c configure:2645: checking whether build environment is sane configure:2700: result: yes configure:2849: checking for a thread-safe mkdir -p configure:2888: result: /bin/mkdir -p configure:2895: checking for gawk configure:2922: result: gawk configure:2933: checking whether make sets $(MAKE) configure:2955: result: yes configure:2984: checking whether make supports nested variables configure:3001: result: yes configure:3128: checking whether to enable maintainer-specific portions of Makefiles configure:3137: result: no configure:3171: checking for style of include used by make configure:3199: result: GNU configure:3230: checking for x86_64-pc-linux-gnu-gcc configure:3257: result: gcc configure:3526: checking for C compiler version configure:3535: 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:3546: $? = 0 configure:3535: 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:3546: $? = 0 configure:3535: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3546: $? = 1 configure:3535: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:3546: $? = 1 configure:3566: checking whether the C compiler works configure:3588: gcc -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe -static-libstdc++ -static-libgcc conftest.c >&5 configure:3592: $? = 0 configure:3640: result: yes configure:3643: checking for C compiler default output file name configure:3645: result: a.out configure:3651: checking for suffix of executables configure:3658: gcc -o conftest -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe -static-libstdc++ -static-libgcc conftest.c >&5 configure:3662: $? = 0 configure:3684: result: configure:3706: checking whether we are cross compiling configure:3714: gcc -o conftest -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe -static-libstdc++ -static-libgcc conftest.c >&5 configure:3718: $? = 0 configure:3725: ./conftest configure:3729: $? = 0 configure:3717: result: no configure:3722: checking for suffix of object files configure:3744: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:3748: $? = 0 configure:3769: result: o configure:3773: checking whether we are using the GNU C compiler configure:3792: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:3792: $? = 0 configure:3801: result: yes configure:3810: checking whether gcc accepts -g configure:3830: gcc -c -g conftest.c >&5 configure:3830: $? = 0 configure:3871: result: yes configure:3888: checking for gcc option to accept ISO C89 configure:3951: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:3951: $? = 0 configure:3964: result: none needed configure:3989: checking whether gcc understands -c and -o together configure:4011: gcc -c conftest.c -o conftest2.o configure:4014: $? = 0 configure:4011: gcc -c conftest.c -o conftest2.o configure:4014: $? = 0 configure:4026: result: yes configure:4045: checking dependency style of gcc configure:4156: result: gcc3 configure:4177: checking how to run the C preprocessor configure:4208: gcc -E conftest.c configure:4208: $? = 0 configure:4222: gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4222: $? = 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:4247: result: gcc -E configure:4267: gcc -E conftest.c configure:4267: $? = 0 configure:4281: gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4281: $? = 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:4310: checking for grep that handles long lines and -e configure:4368: result: /home/user/openwrt2305/staging_dir/host/bin/grep configure:4373: checking for egrep configure:4435: result: /home/user/openwrt2305/staging_dir/host/bin/grep -E configure:4440: checking for ANSI C header files configure:4460: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:4460: $? = 0 configure:4533: gcc -o conftest -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe -static-libstdc++ -static-libgcc conftest.c >&5 configure:4533: $? = 0 configure:4533: ./conftest configure:4533: $? = 0 configure:4544: result: yes configure:4557: checking for sys/types.h configure:4557: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:4557: $? = 0 configure:4557: result: yes configure:4557: checking for sys/stat.h configure:4557: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:4557: $? = 0 configure:4557: result: yes configure:4557: checking for stdlib.h configure:4557: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:4557: $? = 0 configure:4557: result: yes configure:4557: checking for string.h configure:4557: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:4557: $? = 0 configure:4557: result: yes configure:4557: checking for memory.h configure:4557: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:4557: $? = 0 configure:4557: result: yes configure:4557: checking for strings.h configure:4557: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:4557: $? = 0 configure:4557: result: yes configure:4557: checking for inttypes.h configure:4557: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:4557: $? = 0 configure:4557: result: yes configure:4557: checking for stdint.h configure:4557: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:4557: $? = 0 configure:4557: result: yes configure:4557: checking for unistd.h configure:4557: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:4557: $? = 0 configure:4557: result: yes configure:4570: checking minix/config.h usability configure:4570: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 conftest.c:54:10: fatal error: minix/config.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. configure:4570: $? = 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:4570: result: no configure:4570: checking minix/config.h presence configure:4570: gcc -E conftest.c conftest.c:21:10: fatal error: minix/config.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. configure:4570: $? = 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:4570: result: no configure:4570: checking for minix/config.h configure:4570: result: no configure:4591: checking whether it is safe to define __EXTENSIONS__ configure:4609: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:4609: $? = 0 configure:4616: result: yes configure:4638: checking for x86_64-pc-linux-gnu-gcc configure:4665: result: gcc configure:4934: checking for C compiler version configure:4943: 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:4954: $? = 0 configure:4943: 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:4954: $? = 0 configure:4943: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4954: $? = 1 configure:4943: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:4954: $? = 1 configure:4958: checking whether we are using the GNU C compiler configure:4986: result: yes configure:4995: checking whether gcc accepts -g configure:5056: result: yes configure:5073: checking for gcc option to accept ISO C89 configure:5149: result: none needed configure:5174: checking whether gcc understands -c and -o together configure:5211: result: yes configure:5230: checking dependency style of gcc configure:5341: result: gcc3 configure:5363: checking for special C compiler options needed for large files configure:5408: result: no configure:5414: checking for _FILE_OFFSET_BITS value needed for large files configure:5439: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:5439: $? = 0 configure:5471: result: no configure:5573: checking whether gcc supports -Wall configure:5590: gcc -c -Wall conftest.c >&5 configure:5590: $? = 0 configure:5599: result: yes configure:5617: checking for -static-libgcc configure:5624: gcc -o conftest -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe -static-libstdc++ -static-libgcc -static-libgcc conftest.c >&5 configure:5624: $? = 0 configure:5631: result: yes configure:5653: checking for CET support configure:5682: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe -fcf-protection conftest.c >&5 configure:5682: $? = 0 configure:5748: gcc -o conftest -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe -fcf-protection=none -static-libstdc++ -static-libgcc -Wl,-z,ibt,-z,shstk conftest.c >&5 configure:5748: $? = 0 configure:5776: gcc -o conftest -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe -fcf-protection=none -static-libstdc++ -static-libgcc -Wl,-z,ibt,-z,shstk conftest.c >&5 configure:5776: $? = 0 configure:5776: ./conftest configure:5776: $? = 0 configure:5823: gcc -o conftest -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe -fcf-protection=none -static-libstdc++ -static-libgcc -Wl,-z,ibt,-z,shstk conftest.c >&5 configure:5823: $? = 0 configure:5823: ./conftest configure:5823: $? = 0 configure:5844: result: yes configure:5887: checking whether symbol versioning is supported configure:5913: gcc -o conftest -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe -static-libstdc++ -static-libgcc -fPIC -shared -Wl,--version-script,./conftest.map conftest.c >&5 configure:5913: $? = 0 configure:5954: result: gnu configure:5995: checking pthread.h usability configure:5995: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:5995: $? = 0 configure:5995: result: yes configure:5995: checking pthread.h presence configure:5995: gcc -E conftest.c configure:5995: $? = 0 configure:5995: result: yes configure:5995: checking for pthread.h configure:5995: result: yes configure:6055: checking how to print strings configure:6082: result: printf configure:6103: checking for a sed that does not truncate output configure:6167: result: /home/user/openwrt2305/staging_dir/host/bin/sed configure:6185: checking for fgrep configure:6247: result: /home/user/openwrt2305/staging_dir/host/bin/grep -F configure:6282: checking for ld used by gcc configure:6349: result: ld configure:6356: checking if the linker (ld) is GNU ld configure:6371: result: yes configure:6383: checking for BSD- or MS-compatible name lister (nm) configure:6432: result: nm configure:6562: checking the name lister (nm) interface configure:6569: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:6572: nm "conftest.o" configure:6575: output 0000000000000000 B some_variable configure:6576: result: BSD nm configure:6579: checking whether ln -s works configure:6583: result: yes configure:6591: checking the maximum length of command line arguments configure:6716: result: 1572864 configure:6733: checking whether the shell understands some XSI constructs configure:6742: result: yes configure:6746: checking whether the shell understands "+=" configure:6750: result: yes configure:6785: checking for ld option to reload object files configure:6792: result: -r configure:6821: checking for x86_64-pc-linux-gnu-objdump configure:6848: result: objdump configure:6920: checking how to recognize dependent libraries configure:7126: result: pass_all configure:7146: checking for x86_64-pc-linux-gnu-ar configure:7173: result: ar configure:7251: checking for x86_64-pc-linux-gnu-strip configure:7281: result: no configure:7291: checking for strip configure:7307: found /usr/bin/strip configure:7318: result: strip configure:7350: checking for x86_64-pc-linux-gnu-ranlib configure:7377: result: ranlib configure:7519: checking command to parse nm output from gcc object configure:7637: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:7640: $? = 0 configure:7644: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:7647: $? = 0 configure:7701: gcc -o conftest -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe -static-libstdc++ -static-libgcc conftest.c conftstm.o >&5 configure:7704: $? = 0 configure:7742: result: ok configure:7837: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:7840: $? = 0 configure:8592: checking for dlfcn.h configure:8592: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:8592: $? = 0 configure:8592: result: yes configure:8779: checking for objdir configure:8794: result: .libs configure:9065: checking if gcc supports -fno-rtti -fno-exceptions configure:9083: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C configure:9087: $? = 0 configure:9100: result: no configure:9120: checking for gcc option to produce PIC configure:9406: result: -fPIC -DPIC configure:9418: checking if gcc PIC flag -fPIC -DPIC works configure:9436: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe -fPIC -DPIC -DPIC conftest.c >&5 configure:9440: $? = 0 configure:9453: result: yes configure:9477: checking if gcc static flag -static works configure:9505: result: yes configure:9520: checking if gcc supports -c -o file.o configure:9541: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe -o out/conftest2.o conftest.c >&5 configure:9545: $? = 0 configure:9567: result: yes configure:9575: checking if gcc supports -c -o file.o configure:9622: result: yes configure:9655: checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries configure:10726: result: yes configure:10763: checking whether -lc should be explicitly linked in configure:10771: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:10774: $? = 0 configure:10789: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /home/user/openwrt2305/staging_dir/host/bin/grep -lc \>/dev/null 2\>\&1 configure:10792: $? = 0 configure:10806: result: no configure:10971: checking dynamic linker characteristics configure:11417: gcc -o conftest -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe -static-libstdc++ -static-libgcc -Wl,-rpath -Wl,/foo conftest.c >&5 configure:11417: $? = 0 configure:11658: result: GNU/Linux ld.so configure:11765: checking how to hardcode library paths into programs configure:11790: result: immediate configure:12330: checking whether stripping libraries is possible configure:12335: result: yes configure:12370: checking if libtool supports shared libraries configure:12372: result: yes configure:12375: checking whether to build shared libraries configure:12396: result: yes configure:12399: checking whether to build static libraries configure:12403: result: yes configure:9594: checking for int64_t configure:9594: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:9594: $? = 0 configure:9594: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 conftest.c: In function 'main': conftest.c:67:53: warning: integer overflow in expression of type 'long int' results in '-9223372036854775808' [-Woverflow] < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))]; ^ conftest.c:66:12: error: storage size of 'test_array' isn't constant static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1) ^~~~~~~~~~ configure:9594: $? = 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_PTHREAD_LOCKING 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 | enum { N = 64 / 2 - 1 }; | int | main () | { | static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1) | < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:9594: result: yes configure:9605: checking for uint64_t configure:9605: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:9605: $? = 0 configure:9605: result: yes configure:9619: checking for sys/wait.h that is POSIX.1 compatible configure:9645: gcc -c -O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe conftest.c >&5 configure:9645: $? = 0 configure:9652: result: yes configure:9721: updating cache ./config.cache configure:9765: checking that generated files are newer than configure configure:9771: result: done configure:9814: 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.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on cb2a80d0fca4 config.status:1098: creating Makefile config.status:1098: creating config.h config.status:1312: executing depfiles commands config.status:1312: 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/openwrt2305/staging_dir/host/include -pipe ' 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_pthread_h=yes 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/openwrt2305/staging_dir/host/bin/grep -E' ac_cv_path_FGREP='/home/user/openwrt2305/staging_dir/host/bin/grep -F' ac_cv_path_GREP=/home/user/openwrt2305/staging_dir/host/bin/grep ac_cv_path_SED=/home/user/openwrt2305/staging_dir/host/bin/sed ac_cv_path_install='/home/user/openwrt2305/staging_dir/host/bin/install -c' 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_search_ZSTD_compress='/home/user/openwrt2305/staging_dir/host/lib/libzstd.a -pthread' 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 am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=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/openwrt2305/build_dir/toolchain-mips_24kc_gcc-13.3.0_musl/gcc-13.3.0/missing aclocal-1.15' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='ar' AUTOCONF='${SHELL} /home/user/openwrt2305/build_dir/toolchain-mips_24kc_gcc-13.3.0_musl/gcc-13.3.0/missing autoconf' AUTOHEADER='${SHELL} /home/user/openwrt2305/build_dir/toolchain-mips_24kc_gcc-13.3.0_musl/gcc-13.3.0/missing autoheader' AUTOMAKE='${SHELL} /home/user/openwrt2305/build_dir/toolchain-mips_24kc_gcc-13.3.0_musl/gcc-13.3.0/missing automake-1.15' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CET_HOST_FLAGS='-fcf-protection' CFLAGS='-O2 -I/home/user/openwrt2305/staging_dir/host/include -pipe ' CPP='gcc -E' CPPFLAGS='' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DSYMUTIL='dsymutil' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/home/user/openwrt2305/staging_dir/host/bin/grep -E' EXEEXT='' FGREP='/home/user/openwrt2305/staging_dir/host/bin/grep -F' GREP='/home/user/openwrt2305/staging_dir/host/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' 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='' LTO_PLUGIN_USE_SYMVER_FALSE='#' LTO_PLUGIN_USE_SYMVER_GNU_FALSE='#' LTO_PLUGIN_USE_SYMVER_GNU_TRUE='' LTO_PLUGIN_USE_SYMVER_SUN_FALSE='' LTO_PLUGIN_USE_SYMVER_SUN_TRUE='#' LTO_PLUGIN_USE_SYMVER_TRUE='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='/home/user/openwrt2305/build_dir/toolchain-mips_24kc_gcc-13.3.0_musl/gcc-13.3.0/missing makeinfo' MKDIR_P='/bin/mkdir -p' NM='nm' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='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/openwrt2305/staging_dir/host/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' VERSION='0.1' ac_ct_CC='' ac_ct_DUMPBIN='' ac_lto_plugin_extra_ldflags='-pthread' 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/openwrt2305/build_dir/toolchain-mips_24kc_gcc-13.3.0_musl/gcc-13.3.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='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/home/user/openwrt2305/staging_dir/toolchain-mips_24kc_gcc-13.3.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_PTHREAD_LOCKING 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_SYS_WAIT_H 1 configure: exit 0