This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=mips64-buildroot-linux-musl --host=mips64-buildroot-linux-musl --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --host=x86_64-pc-linux-gnu --enable-64bit ## --------- ## ## Platform. ## ## --------- ## hostname = james-x399 uname -m = x86_64 uname -r = 5.13.0-39-generic uname -s = Linux uname -v = #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 /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: /nvmedata/autobuild/instance-2/output-1/host/bin PATH: /nvmedata/autobuild/instance-2/output-1/host/sbin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /snap/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2377: checking build system type configure:2391: result: x86_64-pc-linux-gnu configure:2411: checking host system type configure:2424: result: x86_64-pc-linux-gnu configure:2444: checking target system type configure:2457: result: mips64-buildroot-linux-musl configure:3008: checking for whoami configure:3026: found /usr/bin/whoami configure:3039: result: /usr/bin/whoami configure:3086: checking for /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc configure:3113: result: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc configure:3136: checking for x86_64-pc-linux-gnu-gcc configure:3163: result: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc configure:3432: checking for C compiler version configure:3441: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc --version >&5 mips64-buildroot-linux-musl-gcc.br_real (Buildroot 2022.02-440-ge2eb6ed72c) 11.2.0 Copyright (C) 2021 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:3452: $? = 0 configure:3441: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -v >&5 Using built-in specs. COLLECT_GCC=/nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc.br_real COLLECT_LTO_WRAPPER=/nvmedata/autobuild/instance-2/output-1/host/libexec/gcc/mips64-buildroot-linux-musl/11.2.0/lto-wrapper Target: mips64-buildroot-linux-musl Configured with: ./configure --prefix=/nvmedata/autobuild/instance-2/output-1/host --sysconfdir=/nvmedata/autobuild/instance-2/output-1/host/etc --enable-static --target=mips64-buildroot-linux-musl --with-sysroot=/nvmedata/autobuild/instance-2/output-1/host/mips64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/nvmedata/autobuild/instance-2/output-1/host --with-mpc=/nvmedata/autobuild/instance-2/output-1/host --with-mpfr=/nvmedata/autobuild/instance-2/output-1/host --with-pkgversion='Buildroot 2022.02-440-ge2eb6ed72c' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libmpx --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=mips64r2 --with-abi=64 --with-nan=legacy --enable-languages=c --with-build-time-tools=/nvmedata/autobuild/instance-2/output-1/host/mips64-buildroot-linux-musl/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.2.0 (Buildroot 2022.02-440-ge2eb6ed72c) configure:3452: $? = 0 configure:3441: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -V >&5 mips64-buildroot-linux-musl-gcc.br_real: error: unrecognized command-line option '-V' mips64-buildroot-linux-musl-gcc.br_real: fatal error: no input files compilation terminated. configure:3452: $? = 1 configure:3441: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -qversion >&5 mips64-buildroot-linux-musl-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? mips64-buildroot-linux-musl-gcc.br_real: fatal error: no input files compilation terminated. configure:3452: $? = 1 configure:3472: checking whether the C compiler works configure:3494: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3498: $? = 0 configure:3546: result: yes configure:3549: checking for C compiler default output file name configure:3551: result: a.out configure:3557: checking for suffix of executables configure:3564: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3568: $? = 0 configure:3590: result: configure:3612: checking whether we are cross compiling configure:3650: result: yes configure:3655: checking for suffix of object files configure:3677: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3681: $? = 0 configure:3702: result: o configure:3706: checking whether we are using the GNU C compiler configure:3725: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3725: $? = 0 configure:3734: result: yes configure:3743: checking whether /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc accepts -g configure:3763: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3763: $? = 0 configure:3804: result: yes configure:3821: checking for /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc option to accept ISO C89 configure:3884: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3884: $? = 0 configure:3897: result: none needed configure:4234: checking for /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ranlib configure:4261: result: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ranlib configure:4277: checking for /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ar configure:4304: result: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ar configure:4320: checking for /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-as configure:4347: result: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-as configure:4363: checking for /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-ld configure:4390: result: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-ld configure:4406: checking for /bin/true configure:4433: result: /bin/true configure:4449: checking for mips64-buildroot-linux-musl-windres configure:4479: result: no configure:4449: checking for mips64-buildroot-linux-musl-windres configure:4479: result: no configure:4493: checking for x86_64-pc-linux-gnu compiler configure:4499: checking for gcc configure:4515: found /usr/bin/gcc configure:4526: result: gcc configure:4541: result: gcc configure:4548: checking whether the x86_64-pc-linux-gnu compiler (gcc -g -O2 -lc) works configure:4562: gcc -c -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4562: $? = 0 configure:4563: result: yes configure:5172: checking how to run the C preprocessor configure:5242: result: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-cpp configure:5262: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5262: $? = 0 configure:5276: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5276: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define DEBUG 1 | /* end confdefs.h. */ | #include configure:5328: checking for gcc -pipe support configure:5373: result: no configure:5378: checking for pragma diagnostic configure:5404: result: no configure:5415: checking whether C compiler supports -fprofile-generate configure:5428: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -fprofile-generate -fprofile-correction -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5428: $? = 0 configure:5435: result: yes configure:5447: checking for visibility(hidden) attribute configure:5464: result: yes configure:5469: checking for visibility pragma support configure:5491: result: yes configure:5520: checking for perl5 configure:5550: result: /usr/bin/perl configure:5846: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:16:15: error: '__thumb2__' undeclared (first use in this function) 16 | return sizeof(__thumb2__); | ^~~~~~~~~~ conftest.c:16:15: note: each undeclared identifier is reported only once for each function it appears in configure:5846: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define DEBUG 1 | #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1 | #define HAVE_VISIBILITY_PRAGMA 1 | /* end confdefs.h. */ | | int | main () | { | return sizeof(__thumb2__); | ; | return 0; | } configure:7462: checking for dlopen in -ldl configure:7487: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:7487: $? = 0 configure:7496: result: yes configure:7499: checking dlfcn.h usability configure:7499: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7499: $? = 0 configure:7499: result: yes configure:7499: checking dlfcn.h presence configure:7499: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:7499: $? = 0 configure:7499: result: yes configure:7499: checking for dlfcn.h configure:7499: result: yes configure:7514: checking whether /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc needs -traditional conftest.c:17:10: fatal error: sgtty.h: No such file or directory 17 | #include | ^~~~~~~~~ compilation terminated. conftest.c:17:10: fatal error: termio.h: No such file or directory 17 | #include | ^~~~~~~~~~ compilation terminated. configure:7548: result: no configure:7560: checking for dladdr configure:7560: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:7560: $? = 0 configure:7560: result: yes configure:7560: checking for gettid configure:7560: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:7560: $? = 0 configure:7560: result: yes configure:7560: checking for lchown configure:7560: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:7560: $? = 0 configure:7560: result: yes configure:7560: checking for setpriority configure:7560: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:7560: $? = 0 configure:7560: result: yes configure:7560: checking for strerror configure:7560: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:7560: $? = 0 configure:7560: result: yes configure:7560: checking for syscall configure:7560: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:7560: $? = 0 configure:7560: result: yes configure:7560: checking for secure_getenv configure:7560: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:7560: $? = 0 configure:7560: result: yes configure:7560: checking for __secure_getenv configure:7560: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 /nvmedata/autobuild/instance-2/output-1/host/lib/gcc/mips64-buildroot-linux-musl/11.2.0/../../../../mips64-buildroot-linux-musl/bin/ld: /tmp/ccRUB7iK.o: in function `main': conftest.c:(.text.startup+0x1c): undefined reference to `__secure_getenv' /nvmedata/autobuild/instance-2/output-1/host/lib/gcc/mips64-buildroot-linux-musl/11.2.0/../../../../mips64-buildroot-linux-musl/bin/ld: conftest.c:(.text.startup+0x2c): undefined reference to `__secure_getenv' collect2: error: ld returned 1 exit status configure:7560: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define DEBUG 1 | #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1 | #define HAVE_VISIBILITY_PRAGMA 1 | #define XP_UNIX 1 | #define _GNU_SOURCE 1 | #define HAVE_FCNTL_FILE_LOCKING 1 | #define HAVE_POINTER_LOCALTIME_R 1 | #define LINUX 1 | #define HAVE_DLADDR 1 | #define HAVE_GETTID 1 | #define HAVE_LCHOWN 1 | #define HAVE_SETPRIORITY 1 | #define HAVE_STRERROR 1 | #define HAVE_SYSCALL 1 | #define HAVE_SECURE_GETENV 1 | /* end confdefs.h. */ | /* Define __secure_getenv to an innocuous variant, in case declares __secure_getenv. | For example, HP-UX 11i declares gettimeofday. */ | #define __secure_getenv innocuous___secure_getenv | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __secure_getenv (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __secure_getenv | | /* 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 __secure_getenv (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___secure_getenv || defined __stub_____secure_getenv | choke me | #endif | | int | main () | { | return __secure_getenv (); | ; | return 0; | } configure:7560: result: no configure:7694: checking for pthread_create in -lpthreads configure:7719: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpthreads >&5 /nvmedata/autobuild/instance-2/output-1/host/lib/gcc/mips64-buildroot-linux-musl/11.2.0/../../../../mips64-buildroot-linux-musl/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status configure:7719: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define DEBUG 1 | #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1 | #define HAVE_VISIBILITY_PRAGMA 1 | #define XP_UNIX 1 | #define _GNU_SOURCE 1 | #define HAVE_FCNTL_FILE_LOCKING 1 | #define HAVE_POINTER_LOCALTIME_R 1 | #define LINUX 1 | #define HAVE_DLADDR 1 | #define HAVE_GETTID 1 | #define HAVE_LCHOWN 1 | #define HAVE_SETPRIORITY 1 | #define HAVE_STRERROR 1 | #define HAVE_SYSCALL 1 | #define HAVE_SECURE_GETENV 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 pthread_create (); | int | main () | { | return pthread_create (); | ; | return 0; | } configure:7728: result: no configure:7733: checking for pthread_create in -lpthread configure:7758: /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpthread >&5 configure:7758: $? = 0 configure:7767: result: yes configure:7927: checking whether /nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc accepts -pthread configure:7946: result: yes configure:8523: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on james-x399 config.status:833: creating Makefile config.status:833: creating config/Makefile config.status:833: creating config/autoconf.mk config.status:833: creating config/nsprincl.mk config.status:833: creating config/nsprincl.sh config.status:833: creating config/nspr-config config.status:833: creating config/nspr.pc config.status:833: creating lib/Makefile config.status:833: creating lib/ds/Makefile config.status:833: creating lib/libc/Makefile config.status:833: creating lib/libc/include/Makefile config.status:833: creating lib/libc/src/Makefile config.status:833: creating lib/tests/Makefile config.status:833: creating pkg/Makefile config.status:833: creating pr/Makefile config.status:833: creating pr/include/Makefile config.status:833: creating pr/include/md/Makefile config.status:833: creating pr/include/obsolete/Makefile config.status:833: creating pr/include/private/Makefile config.status:833: creating pr/src/Makefile config.status:833: creating pr/src/io/Makefile config.status:833: creating pr/src/linking/Makefile config.status:833: creating pr/src/malloc/Makefile config.status:833: creating pr/src/md/Makefile config.status:833: creating pr/src/md/unix/Makefile config.status:833: creating pr/src/memory/Makefile config.status:833: creating pr/src/misc/Makefile config.status:833: creating pr/src/threads/Makefile config.status:833: creating pr/tests/Makefile config.status:833: creating pr/tests/dll/Makefile config.status:833: creating pkg/linux/Makefile config.status:833: creating pr/src/pthreads/Makefile config.status:994: executing default commands configure:9537: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --disable-nls, --disable-static, --enable-shared ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=yes ac_cv_c_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-cpp ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 ' 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=x86_64-pc-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=mips64-buildroot-linux-musl ac_cv_func___secure_getenv=no ac_cv_func_calloc_0_nonnull=yes ac_cv_func_dladdr=yes ac_cv_func_gettid=yes ac_cv_func_lchown=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_func_secure_getenv=yes ac_cv_func_setpriority=yes ac_cv_func_strerror=yes ac_cv_func_syscall=yes ac_cv_have_dash_pthread=yes ac_cv_have_dash_pthreads=no ac_cv_have_decl_malloc=yes ac_cv_header_dlfcn_h=yes ac_cv_host=x86_64-pc-linux-gnu ac_cv_lbl_unaligned_fail=yes ac_cv_lib_dl_dlopen=yes ac_cv_lib_pthread_pthread_create=yes ac_cv_lib_pthreads_pthread_create=no ac_cv_objext=o ac_cv_path_PERL=/usr/bin/perl ac_cv_path_WHOAMI=/usr/bin/whoami ac_cv_prog_AR=/nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ar ac_cv_prog_AS=/nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-as ac_cv_prog_CC=/nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc ac_cv_prog_CPP=/nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-cpp ac_cv_prog_HOST_CC=gcc ac_cv_prog_LD=/nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-ld ac_cv_prog_RANLIB=/nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ranlib ac_cv_prog_STRIP=/bin/true ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_gcc_traditional=no ac_cv_target=mips64-buildroot-linux-musl ac_cv_visibility_hidden=yes ac_cv_visibility_pragma=yes gl_cv_func_malloc_0_nonnull=yes gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes lt_cv_sys_lib_search_path_spec= ## ----------------- ## ## Output variables. ## ## ----------------- ## AIX_LINK_OPTS='' AR='/nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ar' AR_FLAGS='cr $@' AS='$(CC)' ASFLAGS='$(CFLAGS)' ASM_SUFFIX='s' CC='/nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc' CCACHE='no' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE -Wall -pthread -g -fno-inline' CPP='/nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CPU_ARCH='mips64' CROSS_COMPILE='1' CXX='no' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Wall -pthread -g -fno-inline' CYGWIN_WRAPPER='' DEFINES=' -UNDEBUG -DDEBUG_autobuild' DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1 -D_GNU_SOURCE=1 -DHAVE_FCNTL_FILE_LOCKING=1 -DHAVE_POINTER_LOCALTIME_R=1 -DLINUX=1 -DHAVE_DLADDR=1 -DHAVE_GETTID=1 -DHAVE_LCHOWN=1 -DHAVE_SETPRIORITY=1 -DHAVE_STRERROR=1 -DHAVE_SYSCALL=1 -DHAVE_SECURE_GETENV=1 -D_REENTRANT=1' DLLFLAGS='' DLL_SUFFIX='so' DSO_CFLAGS='-fPIC' DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ENABLE_STRIP='' EXEEXT='' EXEFLAGS='' FILTER='' GCC_USE_GNU_LD='' GNU_CC='1' GREP='' HOST_CC='gcc' HOST_CFLAGS='-g -O2 -DXP_UNIX' HOST_LDFLAGS='-lc' IMPLIB='' LD='/nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-ld' LDFLAGS='' LIBNSPR='-L$(dist_libdir) -lnspr$(MOD_MAJOR_VERSION)' LIBOBJS='' LIBPLC='-L$(dist_libdir) -lplc$(MOD_MAJOR_VERSION)' LIBS='' LIB_SUFFIX='a' LTLIBOBJS='' MACOSX_DEPLOYMENT_TARGET='' MACOS_SDK_DIR='' MDCPUCFG_H='_linux.cfg' MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' MOD_MAJOR_VERSION='4' MOD_MINOR_VERSION='33' MOD_PATCH_VERSION='0' MOZILLA_CLIENT='' MOZ_DEBUG='1' MOZ_DEBUG_SYMBOLS='1' MOZ_OBJFORMAT='' MOZ_OPTIMIZE='' MSC_VER='' MT='' NEXT_ROOT='' NOSUCHFILE='/no-such-file' NSINSTALL='$(MOD_DEPTH)/config/$(OBJDIR_NAME)/nsinstall' NSPR_MODNAME='nspr20' OBJDIR='$(OBJDIR_NAME)' OBJDIR_NAME='.' OBJECT_MODE='' OBJEXT='o' OBJ_SUFFIX='o' OPTIMIZER='' OS_ARCH='Linux' OS_DLLFLAGS='' OS_LIBS='-lpthread -ldl ' OS_RELEASE='.' OS_TARGET='Linux' OS_TEST='mips64' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PERL='/usr/bin/perl' PROFILE_GEN_CFLAGS='-fprofile-generate' PROFILE_GEN_LDFLAGS='-fprofile-generate' PROFILE_USE_CFLAGS='-fprofile-use -fprofile-correction -Wcoverage-mismatch' PROFILE_USE_LDFLAGS='-fprofile-use' PR_MD_ARCH_DIR='unix' PR_MD_ASFILES='' PR_MD_CSRCS='linux.c' RANLIB='/nvmedata/autobuild/instance-2/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ranlib' RC='' RCFLAGS='' RELEASE_OBJDIR_NAME='Linux._mips64_64_PTH_DBG.OBJ' RESOLVE_LINK_SYMBOLS='' SHELL='/bin/bash' SHELL_OVERRIDE='' STRIP='/bin/true' ULTRASPARC_LIBRARY='' USE_64='1' USE_BTHREADS='' USE_CPLUS='' USE_IPV6='1' USE_N32='' USE_NSPR_THREADS='' USE_PTHREADS='1' USE_USER_PTHREADS='' USE_X32='' VISIBILITY_FLAGS='-fvisibility=hidden' WHOAMI='/usr/bin/whoami' WINDRES='echo' WRAP_LDFLAGS='' WRAP_SYSTEM_INCLUDES='' ac_ct_CC='' ac_ct_CXX='' 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' dist_bindir='${dist_prefix}/bin' dist_includedir='${dist_prefix}/include/nspr' dist_libdir='${dist_prefix}/lib' dist_prefix='${MOD_DEPTH}/dist' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='/usr' 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/nspr' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target='mips64-buildroot-linux-musl' target_alias='mips64-buildroot-linux-musl' target_cpu='mips64' target_os='linux-musl' target_vendor='buildroot' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define DEBUG 1 #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1 #define HAVE_VISIBILITY_PRAGMA 1 #define XP_UNIX 1 #define _GNU_SOURCE 1 #define HAVE_FCNTL_FILE_LOCKING 1 #define HAVE_POINTER_LOCALTIME_R 1 #define LINUX 1 #define HAVE_DLADDR 1 #define HAVE_GETTID 1 #define HAVE_LCHOWN 1 #define HAVE_SETPRIORITY 1 #define HAVE_STRERROR 1 #define HAVE_SYSCALL 1 #define HAVE_SECURE_GETENV 1 #define _REENTRANT 1 configure: exit 0