This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libusb configure 1.0.23, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=riscv32-buildroot-linux-gnu --host=riscv32-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 --disable-udev ## --------- ## ## Platform. ## ## --------- ## hostname = godzilla.lym.embecosm-corp.com uname -m = x86_64 uname -r = 4.18.0-25-generic uname -s = Linux uname -v = #26-Ubuntu SMP Mon Jun 24 09:32:08 UTC 2019 /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/mark/buildroot-test/instance-0/output/host/bin PATH: /home/mark/buildroot-test/instance-0/output/host/sbin 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 PATH: /snap/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2570: checking for a BSD-compatible install configure:2638: result: /usr/bin/install -c configure:2649: checking whether build environment is sane configure:2704: result: yes configure:2763: checking for riscv32-buildroot-linux-gnu-strip configure:2790: result: /home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-strip configure:2855: checking for a thread-safe mkdir -p configure:2894: result: /bin/mkdir -p configure:2901: checking for gawk configure:2917: found /usr/bin/gawk configure:2928: result: gawk configure:2939: checking whether make sets $(MAKE) configure:2961: result: yes configure:2990: checking whether make supports nested variables configure:3007: result: yes configure:3149: checking whether make supports nested variables configure:3166: result: yes configure:3187: checking for riscv32-buildroot-linux-gnu-gcc configure:3214: result: /home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-gcc configure:3483: checking for C compiler version configure:3492: /home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-gcc --version >&5 riscv32-linux-gcc.br_real (Buildroot 2019.05.1) 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:3503: $? = 0 configure:3492: /home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/mark/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/riscv32-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/mark/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../libexec/gcc/riscv32-buildroot-linux-gnu/7.4.0/lto-wrapper Target: riscv32-buildroot-linux-gnu Configured with: ./configure --prefix=/opt/br-riscv32-glibc-2019.05.1 --sysconfdir=/opt/br-riscv32-glibc-2019.05.1/etc --enable-static --target=riscv32-buildroot-linux-gnu --with-sysroot=/opt/br-riscv32-glibc-2019.05.1/riscv32-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/br-riscv32-glibc-2019.05.1 --with-mpc=/opt/br-riscv32-glibc-2019.05.1 --with-mpfr=/opt/br-riscv32-glibc-2019.05.1 --with-pkgversion='Buildroot 2019.05.1' --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,c++ --with-build-time-tools=/opt/br-riscv32-glibc-2019.05.1/riscv32-buildroot-linux-gnu/bin --enable-shared --disable-libgomp Thread model: posix gcc version 7.4.0 (Buildroot 2019.05.1) configure:3503: $? = 0 configure:3492: /home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-gcc -V >&5 riscv32-linux-gcc.br_real: error: unrecognized command line option '-V' riscv32-linux-gcc.br_real: fatal error: no input files compilation terminated. configure:3503: $? = 1 configure:3492: /home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-gcc -qversion >&5 riscv32-linux-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? riscv32-linux-gcc.br_real: fatal error: no input files compilation terminated. configure:3503: $? = 1 configure:3523: checking whether the C compiler works configure:3545: /home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-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 /home/mark/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: /tmp/ccBI2ksD.o: can't link hard-float modules with soft-float modules /home/mark/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: failed to merge target specific data of file /tmp/ccBI2ksD.o collect2: error: ld returned 1 exit status configure:3549: $? = 1 configure:3587: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libusb" | #define PACKAGE_TARNAME "libusb" | #define PACKAGE_VERSION "1.0.23" | #define PACKAGE_STRING "libusb 1.0.23" | #define PACKAGE_BUGREPORT "libusb-devel@lists.sourceforge.net" | #define PACKAGE_URL "http://libusb.info" | #define PACKAGE "libusb" | #define VERSION "1.0.23" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3592: error: in `/home/mark/buildroot-test/instance-0/output/build/libusb-1.0.23': configure:3594: error: C compiler cannot create executables See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_bigendian=no ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-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=/home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-cpp ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= 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=/home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-g++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_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_func_calloc_0_nonnull=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_have_decl_malloc=yes ac_cv_lbl_unaligned_fail=yes ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-gcc ac_cv_prog_STRIP=/home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-strip ac_cv_prog_make_make_set=yes am_cv_make_support_nested_variables=yes gl_cv_func_malloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec= ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/mark/buildroot-test/instance-0/output/build/libusb-1.0.23/missing aclocal-1.15' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_CFLAGS='' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' AR='/home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-ar' AUTOCONF='${SHELL} /home/mark/buildroot-test/instance-0/output/build/libusb-1.0.23/missing autoconf' AUTOHEADER='${SHELL} /home/mark/buildroot-test/instance-0/output/build/libusb-1.0.23/missing autoheader' AUTOMAKE='${SHELL} /home/mark/buildroot-test/instance-0/output/build/libusb-1.0.23/missing automake-1.15' AWK='gawk' BUILD_EXAMPLES_FALSE='' BUILD_EXAMPLES_TRUE='' BUILD_TESTS_FALSE='' BUILD_TESTS_TRUE='' CC='/home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-gcc' CCDEPMODE='' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' CPP='/home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CREATE_IMPORT_LIB_FALSE='' CREATE_IMPORT_LIB_TRUE='' CXX='/home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-g++' CXXCPP='' CXXDEPMODE='' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' CYGPATH_W='echo' DEFS='' DEPDIR='' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FGREP='' GREP='' HAVE_SIGACTION_FALSE='' HAVE_SIGACTION_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-ld' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='' LIPO='' LN_S='' LTLDFLAGS='-version-info 2:0:2' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /home/mark/buildroot-test/instance-0/output/build/libusb-1.0.23/missing makeinfo' MANIFEST_TOOL='' MKDIR_P='/bin/mkdir -p' NM='/home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-nm' NMEDIT='' OBJDUMP='/home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-objdump' OBJEXT='' OS_DARWIN='' OS_DARWIN_FALSE='' OS_DARWIN_TRUE='' OS_HAIKU='' OS_HAIKU_FALSE='' OS_HAIKU_TRUE='' OS_LINUX='' OS_LINUX_FALSE='' OS_LINUX_TRUE='' OS_NETBSD='' OS_NETBSD_FALSE='' OS_NETBSD_TRUE='' OS_OPENBSD='' OS_OPENBSD_FALSE='' OS_OPENBSD_TRUE='' OS_SUNOS='' OS_SUNOS_FALSE='' OS_SUNOS_TRUE='' OS_WINDOWS='' OS_WINDOWS_FALSE='' OS_WINDOWS_TRUE='' OTOOL64='' OTOOL='' PACKAGE='libusb' PACKAGE_BUGREPORT='libusb-devel@lists.sourceforge.net' PACKAGE_NAME='libusb' PACKAGE_STRING='libusb 1.0.23' PACKAGE_TARNAME='libusb' PACKAGE_URL='http://libusb.info' PACKAGE_VERSION='1.0.23' PATH_SEPARATOR=':' RANLIB='/home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-ranlib' RC='' SED='' SET_MAKE='' SHELL='/bin/bash' STRIP='/home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-strip' THREADS_POSIX_FALSE='' THREADS_POSIX_TRUE='' USE_UDEV='' USE_UDEV_FALSE='' USE_UDEV_TRUE='' VERSION='1.0.23' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='' am__include='' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='' build_os='' build_vendor='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' host='riscv32-buildroot-linux-gnu' host_alias='riscv32-buildroot-linux-gnu' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/mark/buildroot-test/instance-0/output/build/libusb-1.0.23/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='riscv32-buildroot-linux-gnu' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "libusb" #define PACKAGE_TARNAME "libusb" #define PACKAGE_VERSION "1.0.23" #define PACKAGE_STRING "libusb 1.0.23" #define PACKAGE_BUGREPORT "libusb-devel@lists.sourceforge.net" #define PACKAGE_URL "http://libusb.info" #define PACKAGE "libusb" #define VERSION "1.0.23" configure: exit 77