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=riscv64-buildroot-linux-gnu --host=riscv64-buildroot-linux-gnu --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 = largo uname -m = x86_64 uname -r = 3.19.0-25-generic uname -s = Linux uname -v = #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 /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: /accts/mlweber1/scripts/instance-0/output/host/bin PATH: /accts/mlweber1/scripts/instance-0/output/host/sbin PATH: /accts/mlweber1/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2383: checking build system type configure:2397: result: x86_64-pc-linux-gnu configure:2417: checking host system type configure:2430: result: x86_64-pc-linux-gnu configure:2450: checking target system type configure:2463: result: riscv64-buildroot-linux-gnu configure:3054: checking for whoami configure:3072: found /usr/bin/whoami configure:3085: result: /usr/bin/whoami configure:3135: checking for /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc configure:3162: result: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc configure:3185: checking for x86_64-pc-linux-gnu-gcc configure:3212: result: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc configure:3481: checking for C compiler version configure:3490: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc --version >&5 riscv64-buildroot-linux-gnu-gcc.br_real (Buildroot 2018.11-rc1-00002-g6a5e9a7) 7.3.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:3501: $? = 0 configure:3490: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc.br_real COLLECT_LTO_WRAPPER=/accts/mlweber1/scripts/instance-0/output/host/libexec/gcc/riscv64-buildroot-linux-gnu/7.3.0/lto-wrapper Target: riscv64-buildroot-linux-gnu Configured with: ./configure --prefix=/accts/mlweber1/scripts/instance-0/output/host --sysconfdir=/accts/mlweber1/scripts/instance-0/output/host/etc --enable-static --target=riscv64-buildroot-linux-gnu --with-sysroot=/accts/mlweber1/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot --disable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/accts/mlweber1/scripts/instance-0/output/host --with-mpc=/accts/mlweber1/scripts/instance-0/output/host --with-mpfr=/accts/mlweber1/scripts/instance-0/output/host --with-pkgversion='Buildroot 2018.11-rc1-00002-g6a5e9a7' --with-bugurl=http://bugs.buildroot.net/ --disable-libquadmath --enable-tls --disable-libmudflap --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64 --enable-languages=c --with-build-time-tools=/accts/mlweber1/scripts/instance-0/output/host/riscv64-buildroot-linux-gnu/bin --enable-shared --disable-libgomp Thread model: posix gcc version 7.3.0 (Buildroot 2018.11-rc1-00002-g6a5e9a7) configure:3501: $? = 0 configure:3490: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -V >&5 riscv64-buildroot-linux-gnu-gcc.br_real: error: unrecognized command line option '-V' riscv64-buildroot-linux-gnu-gcc.br_real: fatal error: no input files compilation terminated. configure:3501: $? = 1 configure:3490: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -qversion >&5 riscv64-buildroot-linux-gnu-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? riscv64-buildroot-linux-gnu-gcc.br_real: fatal error: no input files compilation terminated. configure:3501: $? = 1 configure:3521: checking whether the C compiler works configure:3543: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3547: $? = 0 configure:3595: result: yes configure:3598: checking for C compiler default output file name configure:3600: result: a.out configure:3606: checking for suffix of executables configure:3613: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3617: $? = 0 configure:3639: result: configure:3661: checking whether we are cross compiling configure:3699: result: yes configure:3704: checking for suffix of object files configure:3726: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3730: $? = 0 configure:3751: result: o configure:3755: checking whether we are using the GNU C compiler configure:3774: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3774: $? = 0 configure:3783: result: yes configure:3792: checking whether /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc accepts -g configure:3812: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3812: $? = 0 configure:3853: result: yes configure:3870: checking for /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc option to accept ISO C89 configure:3933: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3933: $? = 0 configure:3946: result: none needed configure:4283: checking for /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-ranlib configure:4310: result: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-ranlib configure:4326: checking for /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-ar configure:4353: result: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-ar configure:4369: checking for /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-as configure:4396: result: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-as configure:4412: checking for /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-ld configure:4439: result: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-ld configure:4455: checking for /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-strip configure:4482: result: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-strip configure:4498: checking for riscv64-buildroot-linux-gnu-windres configure:4528: result: no configure:4498: checking for riscv64-buildroot-linux-gnu-windres configure:4528: result: no configure:4542: checking for x86_64-pc-linux-gnu compiler configure:4548: checking for gcc configure:4564: found /usr/bin/gcc configure:4575: result: gcc configure:4590: result: gcc configure:4597: checking whether the x86_64-pc-linux-gnu compiler (gcc -g -O2 -lc) works configure:4611: gcc -c -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4611: $? = 0 configure:4612: result: yes configure:5221: checking how to run the C preprocessor configure:5291: result: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-cpp configure:5311: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5311: $? = 0 configure:5325: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-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 #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5325: $? = 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:5377: checking for gcc -pipe support configure:5422: result: no configure:5427: checking for pragma diagnostic configure:5453: result: no configure:5464: checking whether C compiler supports -fprofile-generate configure:5477: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fprofile-generate -fprofile-correction -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5477: $? = 0 configure:5484: result: yes configure:5496: checking for visibility(hidden) attribute configure:5513: result: yes configure:5518: checking for visibility pragma support configure:5540: result: yes configure:5569: checking for perl5 configure:5599: result: /usr/bin/perl configure:5898: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-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); did you mean '__unix__'? return sizeof(__thumb2__); ^~~~~~~~~~ __unix__ conftest.c:16:15: note: each undeclared identifier is reported only once for each function it appears in configure:5898: $? = 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:7849: checking for dlopen in -ldl configure:7874: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:7874: $? = 0 configure:7883: result: yes configure:7886: checking dlfcn.h usability configure:7886: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7886: $? = 0 configure:7886: result: yes configure:7886: checking dlfcn.h presence configure:7886: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:7886: $? = 0 configure:7886: result: yes configure:7886: checking for dlfcn.h configure:7886: result: yes configure:7901: checking whether /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc needs -traditional conftest.c:18:0: fatal error: when writing output to : No such file or directory Autoconf TIOCGETP compilation terminated. conftest.c:18:0: fatal error: when writing output to : No such file or directory Autoconf TCGETA compilation terminated. configure:7935: result: no configure:7947: checking for dladdr configure:7947: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:7947: $? = 0 configure:7947: result: yes configure:7947: checking for gettid configure:7947: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 /tmp/cckREptJ.o: In function `main': conftest.c:(.text.startup+0x8): undefined reference to `gettid' collect2: error: ld returned 1 exit status configure:7947: $? = 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 | /* end confdefs.h. */ | /* Define gettid to an innocuous variant, in case declares gettid. | For example, HP-UX 11i declares gettimeofday. */ | #define gettid innocuous_gettid | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char gettid (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef gettid | | /* 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 gettid (); | /* 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_gettid || defined __stub___gettid | choke me | #endif | | int | main () | { | return gettid (); | ; | return 0; | } configure:7947: result: no configure:7947: checking for lchown configure:7947: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:7947: $? = 0 configure:7947: result: yes configure:7947: checking for setpriority configure:7947: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:7947: $? = 0 configure:7947: result: yes configure:7947: checking for strerror configure:7947: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:7947: $? = 0 configure:7947: result: yes configure:7947: checking for syscall configure:7947: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:7947: $? = 0 configure:7947: result: yes configure:7947: checking for secure_getenv configure:7947: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:7947: $? = 0 configure:7947: result: yes configure:7947: checking for __secure_getenv configure:7947: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 /tmp/ccAVO7Ra.o: In function `main': conftest.c:(.text.startup+0x8): undefined reference to `__secure_getenv' collect2: error: ld returned 1 exit status configure:7947: $? = 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_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:7947: result: no configure:8081: checking for pthread_create in -lpthreads configure:8106: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpthreads >&5 /accts/mlweber1/scripts/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-gnu/7.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status configure:8106: $? = 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_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:8115: result: no configure:8120: checking for pthread_create in -lpthread configure:8145: /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpthread >&5 configure:8145: $? = 0 configure:8154: result: yes configure:8329: checking whether /accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc accepts -pthread configure:8348: result: yes configure:8958: 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 largo config.status:836: creating Makefile config.status:836: creating config/Makefile config.status:836: creating config/autoconf.mk config.status:836: creating config/nsprincl.mk config.status:836: creating config/nsprincl.sh config.status:836: creating config/nspr-config config.status:836: creating config/nspr.pc config.status:836: creating lib/Makefile config.status:836: creating lib/ds/Makefile config.status:836: creating lib/libc/Makefile config.status:836: creating lib/libc/include/Makefile config.status:836: creating lib/libc/src/Makefile config.status:836: creating lib/tests/Makefile config.status:836: creating pkg/Makefile config.status:836: creating pr/Makefile config.status:836: creating pr/include/Makefile config.status:836: creating pr/include/md/Makefile config.status:836: creating pr/include/obsolete/Makefile config.status:836: creating pr/include/private/Makefile config.status:836: creating pr/src/Makefile config.status:836: creating pr/src/io/Makefile config.status:836: creating pr/src/linking/Makefile config.status:836: creating pr/src/malloc/Makefile config.status:836: creating pr/src/md/Makefile config.status:836: creating pr/src/md/unix/Makefile config.status:836: creating pr/src/memory/Makefile config.status:836: creating pr/src/misc/Makefile config.status:836: creating pr/src/threads/Makefile config.status:836: creating pr/tests/Makefile config.status:836: creating pr/tests/dll/Makefile config.status:836: creating pkg/linux/Makefile config.status:836: creating pr/src/pthreads/Makefile config.status:997: executing default commands configure:9972: 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=no 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=/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 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=/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-cpp ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 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=riscv64-buildroot-linux-gnu ac_cv_func___secure_getenv=no ac_cv_func_calloc_0_nonnull=yes ac_cv_func_dladdr=yes ac_cv_func_gettid=no 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=/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-ar ac_cv_prog_AS=/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-as ac_cv_prog_CC=/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc ac_cv_prog_CPP=/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-cpp ac_cv_prog_HOST_CC=gcc ac_cv_prog_LD=/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-ld ac_cv_prog_RANLIB=/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-ranlib ac_cv_prog_STRIP=/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_gcc_traditional=no ac_cv_target=riscv64-buildroot-linux-gnu ac_cv_visibility_hidden=yes ac_cv_visibility_pragma=yes gl_cv_func_malloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec= ## ----------------- ## ## Output variables. ## ## ----------------- ## AIX_LINK_OPTS='' AR='/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-ar' AR_FLAGS='cr $@' AS='$(CC)' ASFLAGS='$(CFLAGS)' ASM_SUFFIX='s' CC='/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-gcc' CCACHE='no' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -pthread -g -fno-inline' CPP='/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CPU_ARCH='riscv64' CROSS_COMPILE='1' CXX='no' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -pthread -g -fno-inline' CYGWIN_WRAPPER='' DEFINES=' -UNDEBUG -DDEBUG_mlweber1' 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_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='/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-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='19' 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='riscv64' 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='/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-ranlib' RC='' RCFLAGS='' RELEASE_OBJDIR_NAME='Linux._riscv64_64_PTH_DBG.OBJ' RESOLVE_LINK_SYMBOLS='' SHELL='/bin/bash' SHELL_OVERRIDE='' STRIP='/accts/mlweber1/scripts/instance-0/output/host/bin/riscv64-buildroot-linux-gnu-strip' SYMBIAN_SDK_DIR='' 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}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target='riscv64-buildroot-linux-gnu' target_alias='riscv64-buildroot-linux-gnu' target_cpu='riscv64' target_os='linux-gnu' 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_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