This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by gprof configure 2.40.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ /home/user/openwrt23.05.3-lime2024-ath79/build_dir/toolchain-mips_24kc_gcc-12.3.0_musl/binutils-2.40/gprof/configure --srcdir=.././gprof --cache-file=./config.cache --with-gnu-as --with-gnu-ld --with-system-zlib --prefix=/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/toolchain-mips_24kc_gcc-12.3.0_musl --with-sysroot=/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/toolchain-mips_24kc_gcc-12.3.0_musl --with-system-zlib --with-zstd --enable-deterministic-archives --enable-plugins --enable-lto --disable-gprofng --disable-multilib --disable-werror --disable-nls --disable-sim --disable-gdb --without-isl --without-cloog --with-float=soft --enable-libssp --program-transform-name=s&^&mips-openwrt-linux-musl-& --disable-option-checking --disable-year2038 --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=mips-openwrt-linux-musl ## --------- ## ## Platform. ## ## --------- ## hostname = 06698edb6595 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/openwrt23.05.3-lime2024-ath79/staging_dir/toolchain-mips_24kc_gcc-12.3.0_musl/bin PATH: /home/user/openwrt23.05.3-lime2024-ath79/staging_dir/toolchain-mips_24kc_gcc-12.3.0_musl/bin PATH: /home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin PATH: /home/user/openwrt23.05.3-lime2024-ath79/staging_dir/toolchain-mips_24kc_gcc-12.3.0_musl/bin PATH: /home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin PATH: /home/user/openwrt23.05.3-lime2024-ath79/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:2159: creating cache ./config.cache configure:2270: checking build system type configure:2284: result: x86_64-pc-linux-gnu configure:2304: checking host system type configure:2317: result: x86_64-pc-linux-gnu configure:2337: checking target system type configure:2350: result: mips-openwrt-linux-musl configure:2393: checking for a BSD-compatible install configure:2461: result: /home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/install -c configure:2472: checking whether build environment is sane configure:2527: result: yes configure:2676: checking for a thread-safe mkdir -p configure:2715: result: /bin/mkdir -p configure:2722: checking for gawk configure:2749: result: gawk configure:2760: checking whether make sets $(MAKE) configure:2782: result: yes configure:2811: checking whether make supports nested variables configure:2828: result: yes configure:2965: checking whether make supports nested variables configure:2982: result: yes configure:3005: checking for x86_64-pc-linux-gnu-gcc configure:3032: result: gcc configure:3301: checking for C compiler version configure:3310: 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:3321: $? = 0 configure:3310: 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:3321: $? = 0 configure:3310: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3321: $? = 1 configure:3310: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:3321: $? = 1 configure:3341: checking whether the C compiler works configure:3363: gcc -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include -L/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/lib conftest.c >&5 configure:3367: $? = 0 configure:3415: result: yes configure:3418: checking for C compiler default output file name configure:3420: result: a.out configure:3426: checking for suffix of executables configure:3433: gcc -o conftest -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include -L/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/lib conftest.c >&5 configure:3437: $? = 0 configure:3459: result: configure:3481: checking whether we are cross compiling configure:3489: gcc -o conftest -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include -L/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/lib conftest.c >&5 configure:3493: $? = 0 configure:3500: ./conftest configure:3504: $? = 0 configure:3492: result: no configure:3497: checking for suffix of object files configure:3519: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:3523: $? = 0 configure:3544: result: o configure:3548: checking whether we are using the GNU C compiler configure:3567: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:3567: $? = 0 configure:3576: result: yes configure:3585: checking whether gcc accepts -g configure:3605: gcc -c -g conftest.c >&5 configure:3605: $? = 0 configure:3646: result: yes configure:3663: checking for gcc option to accept ISO C89 configure:3726: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:3726: $? = 0 configure:3739: result: none needed configure:3764: checking whether gcc understands -c and -o together configure:3786: gcc -c conftest.c -o conftest2.o configure:3789: $? = 0 configure:3786: gcc -c conftest.c -o conftest2.o configure:3789: $? = 0 configure:3801: result: yes configure:3829: checking for style of include used by make configure:3857: result: GNU configure:3883: checking dependency style of gcc configure:3994: result: gcc3 configure:4015: checking how to run the C preprocessor configure:4046: gcc -E conftest.c configure:4046: $? = 0 configure:4060: gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4060: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gprof" | #define PACKAGE_TARNAME "gprof" | #define PACKAGE_VERSION "2.40.0" | #define PACKAGE_STRING "gprof 2.40.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gprof" | #define VERSION "2.40.0" | /* end confdefs.h. */ | #include configure:4085: result: gcc -E configure:4105: gcc -E conftest.c configure:4105: $? = 0 configure:4119: gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4119: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gprof" | #define PACKAGE_TARNAME "gprof" | #define PACKAGE_VERSION "2.40.0" | #define PACKAGE_STRING "gprof 2.40.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gprof" | #define VERSION "2.40.0" | /* end confdefs.h. */ | #include configure:4148: checking for grep that handles long lines and -e configure:4206: result: /home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/grep configure:4211: checking for egrep configure:4273: result: /home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/grep -E configure:4278: checking for ANSI C header files configure:4298: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:4298: $? = 0 configure:4371: gcc -o conftest -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include -L/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/lib conftest.c >&5 configure:4371: $? = 0 configure:4371: ./conftest configure:4371: $? = 0 configure:4382: result: yes configure:4395: checking for sys/types.h configure:4395: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:4395: $? = 0 configure:4395: result: yes configure:4395: checking for sys/stat.h configure:4395: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:4395: $? = 0 configure:4395: result: yes configure:4395: checking for stdlib.h configure:4395: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:4395: $? = 0 configure:4395: result: yes configure:4395: checking for string.h configure:4395: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:4395: $? = 0 configure:4395: result: yes configure:4395: checking for memory.h configure:4395: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:4395: $? = 0 configure:4395: result: yes configure:4395: checking for strings.h configure:4395: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:4395: $? = 0 configure:4395: result: yes configure:4395: checking for inttypes.h configure:4395: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:4395: $? = 0 configure:4395: result: yes configure:4395: checking for stdint.h configure:4395: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:4395: $? = 0 configure:4395: result: yes configure:4395: checking for unistd.h configure:4395: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:4395: $? = 0 configure:4395: result: yes configure:4408: checking minix/config.h usability configure:4408: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/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:4408: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gprof" | #define PACKAGE_TARNAME "gprof" | #define PACKAGE_VERSION "2.40.0" | #define PACKAGE_STRING "gprof 2.40.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gprof" | #define VERSION "2.40.0" | #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:4408: result: no configure:4408: checking minix/config.h presence configure:4408: gcc -E conftest.c conftest.c:21:10: fatal error: minix/config.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. configure:4408: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gprof" | #define PACKAGE_TARNAME "gprof" | #define PACKAGE_VERSION "2.40.0" | #define PACKAGE_STRING "gprof 2.40.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gprof" | #define VERSION "2.40.0" | #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:4408: result: no configure:4408: checking for minix/config.h configure:4408: result: no configure:4429: checking whether it is safe to define __EXTENSIONS__ configure:4447: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:4447: $? = 0 configure:4454: result: yes configure:4518: checking how to print strings configure:4545: result: printf configure:4566: checking for a sed that does not truncate output configure:4630: result: /home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/sed configure:4648: checking for fgrep configure:4710: result: /home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/grep -F configure:4745: checking for ld used by gcc configure:4812: result: ld configure:4819: checking if the linker (ld) is GNU ld configure:4834: result: yes configure:4846: checking for BSD- or MS-compatible name lister (nm) configure:4902: result: /usr/bin/nm -B configure:5032: checking the name lister (/usr/bin/nm -B) interface configure:5039: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:5042: /usr/bin/nm -B "conftest.o" configure:5045: output 0000000000000000 B some_variable configure:5046: result: BSD nm configure:5049: checking whether ln -s works configure:5053: result: yes configure:5061: checking the maximum length of command line arguments configure:5186: result: 1572864 configure:5203: checking whether the shell understands some XSI constructs configure:5212: result: yes configure:5216: checking whether the shell understands "+=" configure:5220: result: yes configure:5255: checking for ld option to reload object files configure:5262: result: -r configure:5291: checking for x86_64-pc-linux-gnu-objdump configure:5318: result: objdump configure:5390: checking how to recognize dependent libraries configure:5591: result: pass_all configure:5624: checking for x86_64-pc-linux-gnu-ar configure:5651: result: ar configure:5719: WARNING: Failed: ar --plugin /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so rc configure:5742: checking for x86_64-pc-linux-gnu-strip configure:5772: result: no configure:5782: checking for strip configure:5798: found /usr/bin/strip configure:5809: result: strip configure:5841: checking for x86_64-pc-linux-gnu-ranlib configure:5868: result: ranlib configure:6015: checking command to parse /usr/bin/nm -B output from gcc object configure:6133: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:6136: $? = 0 configure:6140: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:6143: $? = 0 configure:6197: gcc -o conftest -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include -L/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/lib conftest.c conftstm.o >&5 configure:6200: $? = 0 configure:6238: result: ok configure:6333: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:6336: $? = 0 configure:7086: checking for dlfcn.h configure:7086: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:7086: $? = 0 configure:7086: result: yes configure:7273: checking for objdir configure:7288: result: .libs configure:7559: checking if gcc supports -fno-rtti -fno-exceptions configure:7577: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/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:7581: $? = 0 configure:7594: result: no configure:7614: checking for gcc option to produce PIC configure:7900: result: -fPIC -DPIC configure:7912: checking if gcc PIC flag -fPIC -DPIC works configure:7930: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include -fPIC -DPIC -DPIC conftest.c >&5 configure:7934: $? = 0 configure:7947: result: yes configure:7971: checking if gcc static flag -static works configure:7999: result: yes configure:8014: checking if gcc supports -c -o file.o configure:8035: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include -o out/conftest2.o conftest.c >&5 configure:8039: $? = 0 configure:8061: result: yes configure:8069: checking if gcc supports -c -o file.o configure:8116: result: yes configure:8149: checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries configure:9220: result: yes configure:9257: checking whether -lc should be explicitly linked in configure:9265: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:9268: $? = 0 configure:9283: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/grep -lc \>/dev/null 2\>\&1 configure:9286: $? = 0 configure:9300: result: no configure:9465: checking dynamic linker characteristics configure:9906: gcc -o conftest -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include -L/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/lib -Wl,-rpath -Wl,/foo conftest.c >&5 configure:9906: $? = 0 configure:10128: result: GNU/Linux ld.so configure:10235: checking how to hardcode library paths into programs configure:10260: result: immediate configure:10800: checking whether stripping libraries is possible configure:10805: result: yes configure:10840: checking if libtool supports shared libraries configure:10842: result: yes configure:10845: checking whether to build shared libraries configure:10866: result: yes configure:10869: checking whether to build static libraries configure:10873: result: yes configure:8078: checking for dlfcn.h configure:8078: result: yes configure:8091: checking for windows.h configure:8091: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 conftest.c:63:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. configure:8091: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gprof" | #define PACKAGE_TARNAME "gprof" | #define PACKAGE_VERSION "2.40.0" | #define PACKAGE_STRING "gprof 2.40.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gprof" | #define VERSION "2.40.0" | #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_DLFCN_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:8091: result: no configure:8118: checking for library containing dlsym configure:8149: gcc -o conftest -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include -L/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/lib conftest.c >&5 /usr/bin/ld: /home/user/openwrt23.05.3-lime2024-ath79/tmp/ccf1rHau.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `dlsym' collect2: error: ld returned 1 exit status configure:8149: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gprof" | #define PACKAGE_TARNAME "gprof" | #define PACKAGE_VERSION "2.40.0" | #define PACKAGE_STRING "gprof 2.40.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gprof" | #define VERSION "2.40.0" | #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_DLFCN_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char dlsym (); | int | main () | { | return dlsym (); | ; | return 0; | } configure:8149: gcc -o conftest -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include -L/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/lib conftest.c -ldl >&5 configure:8149: $? = 0 configure:8166: result: -ldl configure:8238: checking for special C compiler options needed for large files configure:8283: result: no configure:8289: checking for _FILE_OFFSET_BITS value needed for large files configure:8314: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:8314: $? = 0 configure:8346: result: no configure:8436: checking sys/time.h usability configure:8436: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:8436: $? = 0 configure:8436: result: yes configure:8436: checking sys/time.h presence configure:8436: gcc -E conftest.c configure:8436: $? = 0 configure:8436: result: yes configure:8436: checking for sys/time.h configure:8436: result: yes configure:8448: checking for setitimer configure:8448: gcc -o conftest -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include -L/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/lib conftest.c -ldl >&5 configure:8448: $? = 0 configure:8448: result: yes configure:8472: checking whether NLS is requested configure:8475: result: no configure:8543: checking whether NLS is requested configure:8552: result: no configure:8590: checking for msgfmt configure:8621: result: /usr/bin/msgfmt configure:8630: checking for gmsgfmt configure:8661: result: /usr/bin/msgfmt configure:8701: checking for xgettext configure:8732: result: /usr/bin/xgettext configure:8772: checking for msgmerge configure:8802: result: /usr/bin/msgmerge configure:8839: checking whether to enable maintainer-specific portions of Makefiles configure:8848: result: no configure:8873: checking sys/gmon_out.h usability configure:8873: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:8873: $? = 0 configure:8873: result: yes configure:8873: checking sys/gmon_out.h presence configure:8873: gcc -E conftest.c configure:8873: $? = 0 configure:8873: result: yes configure:8873: checking for sys/gmon_out.h configure:8873: result: yes configure:8884: checking for a known getopt prototype in unistd.h configure:8900: gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include conftest.c >&5 configure:8900: $? = 0 configure:8908: result: yes configure:8917: checking for library containing fabs configure:8948: gcc -o conftest -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include -L/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/lib conftest.c -ldl >&5 conftest.c:40:6: warning: conflicting types for built-in function 'fabs' [-Wbuiltin-declaration-mismatch] char fabs (); ^~~~ /usr/bin/ld: /home/user/openwrt23.05.3-lime2024-ath79/tmp/ccmvSZNo.o: in function `main': conftest.c:(.text.startup+0x7): undefined reference to `fabs' collect2: error: ld returned 1 exit status configure:8948: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gprof" | #define PACKAGE_TARNAME "gprof" | #define PACKAGE_VERSION "2.40.0" | #define PACKAGE_STRING "gprof 2.40.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gprof" | #define VERSION "2.40.0" | #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_DLFCN_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SETITIMER 1 | #define HAVE_SYS_GMON_OUT_H 1 | #define HAVE_DECL_GETOPT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char fabs (); | int | main () | { | return fabs (); | ; | return 0; | } configure:8948: gcc -o conftest -O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include -L/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/lib conftest.c -lm -ldl >&5 conftest.c:40:6: warning: conflicting types for built-in function 'fabs' [-Wbuiltin-declaration-mismatch] char fabs (); ^~~~ configure:8948: $? = 0 configure:8965: result: -lm configure:9209: updating cache ./config.cache configure:9253: checking that generated files are newer than configure configure:9259: result: done configure:9290: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by gprof config.status 2.40.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on 06698edb6595 config.status:1111: creating Makefile config.status:1111: creating po/Makefile.in config.status:1111: creating gconfig.h config.status:1340: executing depfiles commands config.status:1340: executing libtool commands config.status:1340: executing default-1 commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=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/openwrt23.05.3-lime2024-ath79/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=' -L/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/lib ' 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_func_setitimer=yes 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_gmon_out_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_time_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_header_windows_h=no ac_cv_host=x86_64-pc-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/grep -E' ac_cv_path_FGREP='/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/grep -F' ac_cv_path_GMSGFMT=/usr/bin/msgfmt ac_cv_path_GREP=/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/grep ac_cv_path_MSGFMT=/usr/bin/msgfmt ac_cv_path_MSGMERGE=/usr/bin/msgmerge ac_cv_path_SED=/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/sed ac_cv_path_XGETTEXT=/usr/bin/xgettext 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_dlsym=-ldl ac_cv_search_fabs=-lm ac_cv_sys_file_offset_bits=no ac_cv_sys_largefile_CC=no ac_cv_target=mips-openwrt-linux-musl am_cv_CC_dependencies_compiler_type=gcc3 am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes gprof_cv_decl_getopt_unistd_h=yes 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='/usr/bin/nm -B' 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/openwrt23.05.3-lime2024-ath79/build_dir/toolchain-mips_24kc_gcc-12.3.0_musl/binutils-2.40/missing aclocal-1.15' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' AR='ar ' AUTOCONF='${SHELL} /home/user/openwrt23.05.3-lime2024-ath79/build_dir/toolchain-mips_24kc_gcc-12.3.0_musl/binutils-2.40/missing autoconf' AUTOHEADER='${SHELL} /home/user/openwrt23.05.3-lime2024-ath79/build_dir/toolchain-mips_24kc_gcc-12.3.0_musl/binutils-2.40/missing autoheader' AUTOMAKE='${SHELL} /home/user/openwrt23.05.3-lime2024-ath79/build_dir/toolchain-mips_24kc_gcc-12.3.0_musl/binutils-2.40/missing automake-1.15' AWK='gawk' CATALOGS='' CATOBJEXT='' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-O2 -I/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/include ' CPP='gcc -E' CPPFLAGS='' CYGPATH_W='echo' DATADIRNAME='' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DSYMUTIL='dsymutil' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/grep -E' EXEEXT='' FGREP='/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/grep -F' GENCAT='' GENINSRC_NEVER_FALSE='' GENINSRC_NEVER_TRUE='#' GMSGFMT='/usr/bin/msgfmt' GREP='/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/grep' INCINTL='' INSTALL_DATA='/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/install -c -m 644' INSTALL_PROGRAM='/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/install -c' INSTALL_SCRIPT='/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/install -c' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' INSTOBJEXT='' LARGEFILE_CPPFLAGS='' LD='ld -m elf_x86_64' LDFLAGS=' -L/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/lib ' LIBINTL='' LIBINTL_DEP='' LIBOBJS='' LIBS='-lm -ldl ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='/home/user/openwrt23.05.3-lime2024-ath79/build_dir/toolchain-mips_24kc_gcc-12.3.0_musl/binutils-2.40/missing makeinfo --split-size=5000000' MKDIR_P='/bin/mkdir -p' MKINSTALLDIRS='$(top_builddir)/./../mkinstalldirs' MSGFMT='/usr/bin/msgfmt' MSGMERGE='/usr/bin/msgmerge' NM='/usr/bin/nm -B' NMEDIT='' NO_WERROR='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='otool' PACKAGE='gprof' PACKAGE_BUGREPORT='' PACKAGE_NAME='gprof' PACKAGE_STRING='gprof 2.40.0' PACKAGE_TARNAME='gprof' PACKAGE_URL='' PACKAGE_VERSION='2.40.0' PATH_SEPARATOR=':' POSUB='' RANLIB='ranlib --plugin /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so' SED='/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/host/bin/sed' SET_MAKE='' SHELL='/usr/bin/env bash' STRIP='strip' USE_NLS='no' VERSION='2.40.0' WARN_CFLAGS='-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144' WARN_CFLAGS_FOR_BUILD='-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144' WARN_WRITE_STRINGS='-Wwrite-strings' XGETTEXT='/usr/bin/xgettext' ac_ct_CC='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__isrc='' 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_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-pc-linux-gnu' host_alias='x86_64-pc-linux-gnu' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/user/openwrt23.05.3-lime2024-ath79/build_dir/toolchain-mips_24kc_gcc-12.3.0_musl/binutils-2.40/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/home/user/openwrt23.05.3-lime2024-ath79/staging_dir/toolchain-mips_24kc_gcc-12.3.0_musl' program_transform_name='s&^&mips-openwrt-linux-musl-&' psdir='${docdir}' 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_os='linux-musl' target_vendor='openwrt' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "gprof" #define PACKAGE_TARNAME "gprof" #define PACKAGE_VERSION "2.40.0" #define PACKAGE_STRING "gprof 2.40.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "gprof" #define VERSION "2.40.0" #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_DLFCN_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SETITIMER 1 #define HAVE_SYS_GMON_OUT_H 1 #define HAVE_DECL_GETOPT 1 configure: exit 0