This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU C Library configure (see version.h), which was generated by GNU Autoconf 2.69. Invocation command line was $ /home/buildroot/build/instance-0/output/build/glibc-4e2943456e690d89f48e6e710757dd09404b0c9a/configure --target=riscv32-buildroot-linux-gnu --host=riscv32-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --enable-shared --with-pkgversion=Buildroot --without-cvs --disable-profile --without-gd --enable-obsolete-rpc --enable-kernel=4.20 --with-headers=/home/buildroot/build/instance-0/output/host/riscv32-buildroot-linux-gnu/sysroot/usr/include ## --------- ## ## Platform. ## ## --------- ## hostname = shattrath uname -m = x86_64 uname -r = 3.16.0-7-amd64 uname -s = Linux uname -v = #1 SMP Debian 3.16.59-1 (2018-10-03) /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/buildroot/build/instance-0/output/host/bin PATH: /home/buildroot/build/instance-0/output/host/sbin PATH: /sbin PATH: /usr/sbin PATH: /bin PATH: /usr/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2213: checking build system type configure:2227: result: x86_64-pc-linux-gnu configure:2247: checking host system type configure:2260: result: riscv32-buildroot-linux-gnu configure:2289: checking for riscv32-buildroot-linux-gnu-gcc configure:2316: result: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc configure:2585: checking for C compiler version configure:2594: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc --version >&5 riscv32-buildroot-linux-gnu-gcc.br_real (Buildroot 2019.02-git-00673-g745f884) 7.4.0 Copyright (C) 2017 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:2605: $? = 0 configure:2594: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc.br_real COLLECT_LTO_WRAPPER=/home/buildroot/build/instance-0/output/host/libexec/gcc/riscv32-buildroot-linux-gnu/7.4.0/lto-wrapper Target: riscv32-buildroot-linux-gnu Configured with: ./configure --prefix=/home/buildroot/build/instance-0/output/host --sysconfdir=/home/buildroot/build/instance-0/output/host/etc --localstatedir=/home/buildroot/build/instance-0/output/host/var --enable-shared --disable-static --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --disable-debug --with-xmlto=no --with-fop=no --disable-dependency-tracking --target=riscv32-buildroot-linux-gnu --with-sysroot=/home/buildroot/build/instance-0/output/host/riscv32-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/home/buildroot/build/instance-0/output/host --with-mpc=/home/buildroot/build/instance-0/output/host --with-mpfr=/home/buildroot/build/instance-0/output/host --with-pkgversion='Buildroot 2019.02-git-00673-g745f884' --with-bugurl=http://bugs.buildroot.net/ --disable-libquadmath --enable-tls --disable-libmudflap --enable-threads --without-isl --without-cloog --with-arch=rv32imafd --with-abi=ilp32 --enable-languages=c --disable-shared --without-headers --disable-threads --with-newlib --disable-largefile --disable-nls Thread model: single gcc version 7.4.0 (Buildroot 2019.02-git-00673-g745f884) configure:2605: $? = 0 configure:2594: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -V >&5 riscv32-buildroot-linux-gnu-gcc.br_real: error: unrecognized command line option '-V' riscv32-buildroot-linux-gnu-gcc.br_real: fatal error: no input files compilation terminated. configure:2605: $? = 1 configure:2594: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -qversion >&5 riscv32-buildroot-linux-gnu-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? riscv32-buildroot-linux-gnu-gcc.br_real: fatal error: no input files compilation terminated. configure:2605: $? = 1 configure:2610: checking for suffix of object files configure:2632: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -c -O2 conftest.c >&5 configure:2636: $? = 0 configure:2657: result: o configure:2661: checking whether we are using the GNU C compiler configure:2680: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -c -O2 conftest.c >&5 configure:2680: $? = 0 configure:2689: result: yes configure:2698: checking whether /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc accepts -g configure:2718: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -c -g conftest.c >&5 configure:2718: $? = 0 configure:2759: result: yes configure:2788: checking for gcc configure:2804: found /usr/bin/gcc configure:2815: result: gcc configure:2839: checking for riscv32-buildroot-linux-gnu-readelf configure:2866: result: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-readelf configure:3042: checking for C++ compiler version configure:3051: no --version >&5 /home/buildroot/build/instance-0/output/build/glibc-4e2943456e690d89f48e6e710757dd09404b0c9a/configure: line 3053: no: command not found configure:3062: $? = 127 configure:3051: no -v >&5 /home/buildroot/build/instance-0/output/build/glibc-4e2943456e690d89f48e6e710757dd09404b0c9a/configure: line 3053: no: command not found configure:3062: $? = 127 configure:3051: no -V >&5 /home/buildroot/build/instance-0/output/build/glibc-4e2943456e690d89f48e6e710757dd09404b0c9a/configure: line 3053: no: command not found configure:3062: $? = 127 configure:3051: no -qversion >&5 /home/buildroot/build/instance-0/output/build/glibc-4e2943456e690d89f48e6e710757dd09404b0c9a/configure: line 3053: no: command not found configure:3062: $? = 127 configure:3066: checking whether we are using the GNU C++ compiler configure:3085: no -c -O2 conftest.cpp >&5 /home/buildroot/build/instance-0/output/build/glibc-4e2943456e690d89f48e6e710757dd09404b0c9a/configure: line 1633: no: command not found configure:3085: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/" | #define PACKAGE_URL "http://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:3094: result: no configure:3103: checking whether no accepts -g configure:3123: no -c -g conftest.cpp >&5 /home/buildroot/build/instance-0/output/build/glibc-4e2943456e690d89f48e6e710757dd09404b0c9a/configure: line 1633: no: command not found configure:3123: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/" | #define PACKAGE_URL "http://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3138: no -c conftest.cpp >&5 /home/buildroot/build/instance-0/output/build/glibc-4e2943456e690d89f48e6e710757dd09404b0c9a/configure: line 1633: no: command not found configure:3138: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/" | #define PACKAGE_URL "http://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3154: no -c -g conftest.cpp >&5 /home/buildroot/build/instance-0/output/build/glibc-4e2943456e690d89f48e6e710757dd09404b0c9a/configure: line 1633: no: command not found configure:3154: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/" | #define PACKAGE_URL "http://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3164: result: no configure:3189: checking whether no can link programs configure:3212: no -o conftest -O2 conftest.cpp >&5 /home/buildroot/build/instance-0/output/build/glibc-4e2943456e690d89f48e6e710757dd09404b0c9a/configure: line 1671: no: command not found configure:3212: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/" | #define PACKAGE_URL "http://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3235: no -o conftest -O2 -static conftest.cpp >&5 /home/buildroot/build/instance-0/output/build/glibc-4e2943456e690d89f48e6e710757dd09404b0c9a/configure: line 1671: no: command not found configure:3235: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/" | #define PACKAGE_URL "http://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* end confdefs.h. */ | | #include | | int | main() | { | std::cout << "Hello, world!"; | return 0; | } | configure:3250: result: no configure:3809: checking for sysdeps preconfigure fragments configure:3816: result: configure:3887: running configure fragment for add-on libidn configure:3982: checking for -fstack-protector configure:3999: result: no configure:4002: checking for -fstack-protector-strong configure:4008: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -O2 -Werror -fstack-protector-strong -xc /dev/null -S -o /dev/null configure:4011: $? = 0 configure:4019: result: yes configure:4022: checking for -fstack-protector-all configure:4028: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -O2 -Werror -fstack-protector-all -xc /dev/null -S -o /dev/null configure:4031: $? = 0 configure:4039: result: yes configure:4082: checking for assembler and linker STT_GNU_IFUNC support There are no relocations in this file. configure:4113: result: no configure:4117: checking for gcc attribute ifunc support conftest.c:10:24: error: ifunc is not supported on this target extern __typeof (func) func __attribute__ ((ifunc ("resolver"))); ^~~~ configure:4143: result: no configure:4168: checking sysdep dirs configure:4388: result: sysdeps/generic configure:4465: checking for a BSD-compatible install configure:4533: result: /usr/bin/install -c configure:4548: checking whether ln -s works configure:4552: result: yes configure:4576: checking whether /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/as is GNU as configure:4590: result: yes configure:4595: checking whether /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld is GNU ld configure:4609: result: yes configure:4619: checking for /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/as configure:4646: result: /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/as configure:4661: checking version of /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/as configure:4671: result: 2.30, ok configure:4749: checking for /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld configure:4776: result: /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld configure:4791: checking version of /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld configure:4801: result: 2.30, ok configure:4816: checking for gnumake configure:4843: result: /usr/bin/make -j8 configure:4858: checking version of /usr/bin/make -j8 configure:4868: result: 4.0, ok configure:4880: checking for gnumsgfmt configure:4910: result: no configure:4880: checking for gmsgfmt configure:4910: result: no configure:4880: checking for msgfmt configure:4910: result: no configure:4943: checking for makeinfo configure:4959: found /usr/bin/makeinfo configure:4970: result: makeinfo configure:4985: checking version of makeinfo configure:4995: result: 5.2, ok configure:5006: checking for sed configure:5022: found /bin/sed configure:5033: result: sed configure:5048: checking version of sed configure:5058: result: 4.2.2, ok configure:5069: checking for gawk configure:5085: found /home/buildroot/build/instance-0/output/host/bin/gawk configure:5096: result: gawk configure:5111: checking version of gawk configure:5121: result: 4.2.1, ok configure:5129: checking if /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc is sufficient to build libc configure:5149: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -c -O2 conftest.c >&5 configure:5149: $? = 0 configure:5156: result: yes configure:5165: checking for riscv32-buildroot-linux-gnu-nm configure:5192: result: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-nm configure:5330: checking for python3 configure:5346: found /usr/bin/python3 configure:5357: result: python3 configure:5388: WARNING: *** These auxiliary programs are missing or incompatible versions: msgfmt *** some features or tests will be disabled. *** Check the INSTALL file for required versions. configure:5439: checking LD_LIBRARY_PATH variable configure:5449: result: ok configure:5460: checking for bash configure:5491: result: /bin/bash configure:5502: checking for perl configure:5533: result: /usr/bin/perl configure:5547: checking for install-info configure:5579: result: no configure:5591: checking for bison configure:5607: found /home/buildroot/build/instance-0/output/host/bin/bison configure:5618: result: bison configure:5633: checking version of bison configure:5643: result: 3.0.4, ok configure:5651: checking for .set assembler directive configure:5677: result: yes configure:5684: checking linker support for protected data symbol configure:5694: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -nostdlib -nostartfiles -fno-stack-protector -fPIC -shared conftest.c -o conftest.so configure:5697: $? = 0 configure:5704: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -nostdlib -nostartfiles -fno-stack-protector conftest.c -o conftest conftest.so /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: copy reloc against protected `bar' is dangerous /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: warning: cannot find entry symbol _start; defaulting to 00000000000101f8 configure:5707: $? = 0 configure:5715: result: yes configure:5719: checking for broken __attribute__((alias())) configure:5734: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -Werror -S conftest.c -o conftest.s 1>&5 configure:5737: $? = 0 configure:5747: result: no configure:5753: checking whether to put _rtld_local into .sdata section configure:5767: result: yes configure:5774: checking whether to use .ctors/.dtors header and trailer configure:5791: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -O2 -fno-stack-protector -o conftest conftest.c -static -nostartfiles -nostdlib 1>&5 configure:5794: $? = 0 configure:5820: result: no configure:5827: checking for libunwind-support in compiler configure:5844: result: no configure:5853: checking whether --noexecstack is desirable for .S files configure:5863: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -O2 -S -o conftest.s conftest.c 1>&5 configure:5866: $? = 0 configure:5883: result: no configure:5890: checking for -z combreloc configure:5904: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -O2 -fPIC -shared -fno-stack-protector -o conftest.so conftest.c -nostdlib -nostartfiles -Wl,-z,combreloc 1>&5 configure:5907: $? = 0 configure:5920: result: yes configure:5928: checking for linker that supports -z execstack configure:5941: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -O2 -fno-stack-protector -Wl,-z,execstack -nostdlib -nostartfiles -fPIC -shared -o conftest.so conftest.c 1>&5 configure:5944: $? = 0 configure:5957: result: yes configure:5961: checking for -fpie configure:5967: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -fpie -xc /dev/null -S -o /dev/null configure:5970: $? = 0 configure:5978: result: yes configure:5983: checking for --hash-style option configure:5994: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -O2 -fno-stack-protector -fPIC -shared -o conftest.so conftest.c -Wl,--hash-style=both -nostdlib 1>&5 configure:5997: $? = 0 configure:6006: result: yes configure:6014: checking for sufficient default -shared layout configure:6033: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -shared -o conftest.so conftest.s 1>&5 /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: cannot find -lc collect2: error: ld returned 1 exit status configure:6036: $? = 1 configure:6068: result: no configure:6073: checking for GLOB_DAT reloc configure:6086: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -O2 -fPIC -shared -o conftest.so conftest.c -nostdlib -nostartfiles -fno-stack-protector 1>&5 configure:6089: $? = 0 configure:6102: result: no configure:6106: checking linker output format configure:6120: result: elf32-littleriscv configure:6124: checking for -fno-toplevel-reorder -fno-section-anchors configure:6134: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -O2 -S -fno-toplevel-reorder -fno-section-anchors conftest.c 1>&5 configure:6137: $? = 0 configure:6146: result: yes configure:6155: checking for -mtls-dialect=gnu2 configure:6169: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -O2 -S -fPIC -mtls-dialect=gnu2 conftest.c 1>&5 riscv32-buildroot-linux-gnu-gcc.br_real: error: unrecognized command line option '-mtls-dialect=gnu2' configure:6172: $? = 1 configure:6181: result: no configure:6187: checking whether cc puts quotes around section names configure:6208: result: no configure:6215: checking for __builtin_memset configure:6227: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -O3 -S conftest.c -o - | grep -F memset > /dev/null configure:6230: $? = 0 configure:6239: result: no configure:6246: checking for redirection of built-in functions configure:6259: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -O3 -S conftest.c -o - | grep -F my_strstr > /dev/null configure:6262: $? = 0 configure:6271: result: yes configure:6277: checking for compiler option to disable generation of FMA instructions configure:6285: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -ffp-contract=off -xc /dev/null -S -o /dev/null configure:6288: $? = 0 configure:6294: result: -ffp-contract=off configure:6327: checking if /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__)) configure:6340: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -O2 -c conftest.c configure:6343: $? = 0 configure:6350: result: yes configure:6358: checking for libgd configure:6391: result: no configure:6400: checking for is_selinux_enabled in -lselinux configure:6425: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -o conftest -O2 conftest.c -lselinux >&5 /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: cannot find crt1.o: No such file or directory /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: cannot find -lselinux /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: cannot find -lc collect2: error: ld returned 1 exit status configure:6425: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/" | #define PACKAGE_URL "http://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | #define LINK_OBSOLETE_RPC 1 | #define HAVE_TUNABLES 1 | #define RISCV_ABI_XLEN 32 | #define RISCV_ABI_FLEN 0 | #define HAVE_LIBIDN 1 | #define STACK_PROTECTOR_LEVEL 0 | #define HAVE_ASM_SET_DIRECTIVE 1 | #define HAVE_SDATA_SECTION 1 | #define NO_CTORS_DTORS_SECTIONS 1 | #define HAVE_Z_COMBRELOC 1 | #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 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 is_selinux_enabled (); | int | main () | { | return is_selinux_enabled (); | ; | return 0; | } configure:6434: result: no configure:6557: checking for _FORTIFY_SOURCE predefine configure:6576: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -c -O2 conftest.c >&5 configure:6576: $? = 0 configure:6583: result: no configure:6593: checking whether the linker provides working __ehdr_start configure:6616: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -o conftest -O2 -fPIC -nostdlib -nostartfiles -shared -fno-stack-protector conftest.c >&5 configure:6616: $? = 0 configure:6632: result: yes configure:6642: checking for __builtin_trap with no external dependencies configure:6659: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -c -O2 conftest.c >&5 configure:6659: $? = 0 libc_undefs='' configure:6673: result: yes configure:6687: checking whether the C++ compiler supports thread_local configure:6715: -c -O2 -std=gnu++11 conftest.cpp >&5 /home/buildroot/build/instance-0/output/build/glibc-4e2943456e690d89f48e6e710757dd09404b0c9a/configure: line 1633: -c: command not found configure:6715: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/" | #define PACKAGE_URL "http://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | #define LINK_OBSOLETE_RPC 1 | #define HAVE_TUNABLES 1 | #define RISCV_ABI_XLEN 32 | #define RISCV_ABI_FLEN 0 | #define HAVE_LIBIDN 1 | #define STACK_PROTECTOR_LEVEL 0 | #define HAVE_ASM_SET_DIRECTIVE 1 | #define HAVE_SDATA_SECTION 1 | #define NO_CTORS_DTORS_SECTIONS 1 | #define HAVE_Z_COMBRELOC 1 | #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1 | #define HAVE_EHDR_START 1 | #define HAVE_BUILTIN_TRAP 1 | /* end confdefs.h. */ | | #include | | // Compiler support. | struct S | { | S (); | ~S (); | }; | thread_local S s; | S * get () { return &s; } | | // libstdc++ support. | #ifndef _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL | #error __cxa_thread_atexit_impl not supported | #endif | configure:6724: result: no configure:6754: result: running configure fragment for sysdeps/unix/sysv/linux/riscv configure:9: checking for grep that handles long lines and -e configure:67: result: /bin/grep configure:72: checking for egrep configure:134: result: /bin/grep -E configure:6754: result: running configure fragment for sysdeps/unix/sysv/linux configure:9: checking installed Linux kernel header files configure:28: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -c -O2 -nostdinc -isystem /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/include -isystem /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/include-fixed -isystem /home/buildroot/build/instance-0/output/host/riscv32-buildroot-linux-gnu/sysroot/usr/include conftest.c >&5 configure:28: $? = 0 configure:35: result: 3.2.0 or later configure:69: checking for kernel header at least 4.20 configure:87: /home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc -c -O2 -nostdinc -isystem /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/include -isystem /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/include-fixed -isystem /home/buildroot/build/instance-0/output/host/riscv32-buildroot-linux-gnu/sysroot/usr/include conftest.c >&5 configure:87: $? = 0 configure:93: result: ok configure:6754: result: running configure fragment for sysdeps/gnu configure:6754: result: running configure fragment for sysdeps/riscv configure:6815: checking whether -fPIC is default configure:6831: result: no configure:6835: checking whether -fPIE is default configure:6851: result: no configure:6985: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by GNU C Library config.status (see version.h), which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on shattrath config.status:944: creating config.make config.status:944: creating Makefile config.status:944: creating config.h config.status:1118: executing default commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=no ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-cpp ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 ' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=no ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= 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=riscv32-buildroot-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=riscv32-buildroot-linux-gnu ac_cv_host=riscv32-buildroot-linux-gnu ac_cv_lib_selinux_is_selinux_enabled=no ac_cv_objext=o ac_cv_path_BASH_SHELL=/bin/bash ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_INSTALL_INFO=no ac_cv_path_PERL=/usr/bin/perl ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AS=/home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/as ac_cv_prog_AWK=gawk ac_cv_prog_BISON=bison ac_cv_prog_BUILD_CC=gcc ac_cv_prog_CC=/home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc ac_cv_prog_LD=/home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld ac_cv_prog_MAKE='/usr/bin/make -j8' ac_cv_prog_MAKEINFO=makeinfo ac_cv_prog_NM=/home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-nm ac_cv_prog_PYTHON_PROG=python3 ac_cv_prog_READELF=/home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-readelf ac_cv_prog_SED=sed ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=no libc_cv_as_noexecstack=no libc_cv_asm_set_directive=yes libc_cv_broken_alias_attribute=no libc_cv_builtin_trap=yes libc_cv_cc_loop_to_function=yes libc_cv_cc_nofma=-ffp-contract=off libc_cv_cc_with_libunwind=no libc_cv_compiler_ok=yes libc_cv_ctors_header=no libc_cv_cxx_link_ok=no libc_cv_cxx_thread_local=no libc_cv_ehdr_start=yes libc_cv_fno_toplevel_reorder=yes libc_cv_forced_unwind=yes libc_cv_fpie=yes libc_cv_gcc_builtin_memset=no libc_cv_gcc_builtin_redirection=yes libc_cv_gcc_indirect_function=no libc_cv_gcc_unwind_find_fde=no libc_cv_has_glob_dat=no libc_cv_hashstyle=yes libc_cv_have_sdata_section=yes libc_cv_have_section_quotes=no libc_cv_idn=no libc_cv_ld_gnu_indirect_function=no libc_cv_linux320='3.2.0 or later' libc_cv_localstatedir=/var libc_cv_mtls_dialect_gnu2=no libc_cv_nss_crypt=no libc_cv_output_format=elf32-littleriscv libc_cv_pic_default=no libc_cv_pie_default=no libc_cv_predef_fortify_source=no libc_cv_prog_as_gnu=yes libc_cv_prog_ld_gnu=yes libc_cv_protected_data=yes libc_cv_riscv_float_abi= libc_cv_riscv_int_abi=ilp32 libc_cv_rootsbindir=/sbin libc_cv_rtlddir=/lib libc_cv_slibdir=/lib32 libc_cv_ssp=no libc_cv_ssp_all=yes libc_cv_ssp_strong=yes libc_cv_static_nss_crypt=no libc_cv_sysconfdir=/etc libc_cv_use_default_link=no libc_cv_z_combreloc=yes libc_cv_z_execstack=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='/home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ar' AS='/home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/as' ASFLAGS_config='' AUTOCONF='no' AWK='gawk' BASH_SHELL='/bin/bash' BISON='bison' BUILD_CC='gcc' CC='/home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-gcc' CFLAGS='-O2 ' CPP='/home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-cpp' CPPFLAGS='' CPPUNDEFS='' CXX='' CXXFLAGS='-O2 ' CXX_BITS_STD_ABS_H='' CXX_CMATH_HEADER='' CXX_CSTDLIB_HEADER='' CXX_SYSINCLUDES='' DEFINES='' DEFS='-DHAVE_CONFIG_H' ECHO_C='' ECHO_N='-n' ECHO_T='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_INFO='no' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LD='/home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld' LDFLAGS='' LIBGD='no' LIBOBJS='' LIBS='' LN_S='ln -s' LTLIBOBJS='' MAKE='/usr/bin/make -j8' MAKEINFO='makeinfo' MSGFMT=':' NM='/home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-nm' OBJCOPY='/home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/objcopy' OBJDUMP='/home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/objdump' OBJEXT='o' PACKAGE_BUGREPORT='http://sourceware.org/bugzilla/' PACKAGE_NAME='GNU C Library' PACKAGE_STRING='GNU C Library (see version.h)' PACKAGE_TARNAME='glibc' PACKAGE_URL='http://www.gnu.org/software/glibc/' PACKAGE_VERSION='(see version.h)' PATH_SEPARATOR=':' PERL='/usr/bin/perl' PKGVERSION='(Buildroot) ' PKGVERSION_TEXI='(Buildroot) ' PYTHON='python3 -B' PYTHON_PROG='python3' READELF='/home/buildroot/build/instance-0/output/host/bin/riscv32-buildroot-linux-gnu-readelf' RELEASE='stable' REPORT_BUGS_TEXI='@uref{http://www.gnu.org/software/libc/bugs.html}' REPORT_BUGS_TO='' SED='sed' SHELL='/bin/sh' SYSINCLUDES='-nostdinc -isystem /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/include -isystem /home/buildroot/build/instance-0/output/host/lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/include-fixed -isystem /home/buildroot/build/instance-0/output/host/riscv32-buildroot-linux-gnu/sysroot/usr/include' VERSION='2.26' ac_ct_CC='' ac_ct_CXX='' add_on_subdirs=' libidn' add_ons='libidn' all_warnings='' base_machine='riscv' bindir='${exec_prefix}/bin' bindnow='no' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_nscd='yes' build_obsolete_nsl='no' build_os='linux-gnu' build_pt_chown='no' build_vendor='pc' cross_compiling='yes' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' enable_lock_elision='no' enable_timezone_tools='yes' enable_werror='yes' exec_prefix='${prefix}' experimental_malloc='yes' fno_unit_at_a_time='-fno-toplevel-reorder -fno-section-anchors' force_install='yes' hardcoded_path_in_tests='no' have_libaudit='' have_libcap='' have_selinux='no' have_tunables='yes' host='riscv32-buildroot-linux-gnu' host_alias='riscv32-buildroot-linux-gnu' host_cpu='riscv32' host_os='linux-gnu' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' ldd_rewrite_script='no' libc_cv_cc_loop_to_function='yes' libc_cv_cc_nofma='-ffp-contract=off' libc_cv_cc_submachine='' libc_cv_cc_with_libunwind='no' libc_cv_complocaledir='' libc_cv_cxx_thread_local='no' libc_cv_fpie='yes' libc_cv_gcc_unwind_find_fde='no' libc_cv_has_glob_dat='no' libc_cv_hashstyle='yes' libc_cv_localstatedir='/var' libc_cv_mtls_dialect_gnu2='no' libc_cv_nss_crypt='no' libc_cv_output_format='elf32-littleriscv' libc_cv_pic_default='no' libc_cv_pie_default='no' libc_cv_protected_data='yes' libc_cv_rootsbindir='/sbin' libc_cv_rtlddir='/lib' libc_cv_slibdir='/lib32' libc_cv_ssp='no' libc_cv_static_nss_crypt='no' libc_cv_sysconfdir='/etc' libc_cv_z_combreloc='yes' libc_cv_z_execstack='yes' libc_extra_cflags='' libc_extra_cppflags='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' link_obsolete_rpc='yes' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mach_interface_list='' mandir='${datarootdir}/man' multi_arch='no' no_stack_protector='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' profile='no' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' shared='yes' sharedstatedir='${prefix}/com' stack_protector='-fno-stack-protector' static='' static_nss='no' subdirs=' ' submachine='' sysconfdir='${prefix}/etc' sysdeps_add_ons='' sysheaders='/home/buildroot/build/instance-0/output/host/riscv32-buildroot-linux-gnu/sysroot/usr/include' sysnames=' sysdeps/unix/sysv/linux/riscv/rv32 sysdeps/unix/sysv/linux/riscv sysdeps/riscv/nptl sysdeps/unix/sysv/linux/generic/wordsize-32 sysdeps/unix/sysv/linux/generic sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix sysdeps/posix sysdeps/riscv/rv32/rvd sysdeps/riscv/rvd sysdeps/riscv/rvf sysdeps/riscv/rv32 sysdeps/riscv sysdeps/init_array sysdeps/ieee754/ldbl-128 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-32 sysdeps/ieee754 sysdeps/generic' target_alias='riscv32-buildroot-linux-gnu' use_default_link='no' use_ldconfig='yes' use_nscd='yes' with_fp='yes' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "GNU C Library" #define PACKAGE_TARNAME "glibc" #define PACKAGE_VERSION "(see version.h)" #define PACKAGE_STRING "GNU C Library (see version.h)" #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/" #define PACKAGE_URL "http://www.gnu.org/software/glibc/" #define PKGVERSION "(Buildroot) " #define REPORT_BUGS_TO "" #define LINK_OBSOLETE_RPC 1 #define HAVE_TUNABLES 1 #define RISCV_ABI_XLEN 32 #define RISCV_ABI_FLEN 0 #define HAVE_LIBIDN 1 #define STACK_PROTECTOR_LEVEL 0 #define HAVE_ASM_SET_DIRECTIVE 1 #define HAVE_SDATA_SECTION 1 #define NO_CTORS_DTORS_SECTIONS 1 #define HAVE_Z_COMBRELOC 1 #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1 #define HAVE_EHDR_START 1 #define HAVE_BUILTIN_TRAP 1 #define __LINUX_KERNEL_VERSION (4 * 65536 + 20 * 256 + 0) #define __ABI_TAG_VERSION 4,20,0 #define HAVE_INLINED_SYSCALLS 1 #define PI_STATIC_AND_HIDDEN 1 #define USE_NSCD 1 #define USE_LDCONFIG 1 configure: exit 0