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 --disable-option-checking --prefix=/usr --target=nios2-buildroot-linux-gnu --host=nios2-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --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 --enable-static --enable-shared ax_cv_cc_bounded_attribute=no ax_cv_cc_builtin_bswap64=no ax_cv_cc_builtin_choose_expr=no ax_cv_cc_builtin_types_compatible_p=no ac_cv_path_RUSERS=/usr/bin/rusers ac_cv_path_SNMPGET=/usr/bin/snmpget ac_cv_path_SNMPWALK=/usr/bin/snmpwalk --without-rlm_eap_ike --without-rlm_eap_tnc --without-rlm_perl --without-rlm_sql_iodbc --without-rlm_sql_oracle --without-rlm_sql_freetds --without-rlm_yubikey --without-collectdclient --without-rlm_counter --without-rlm_ippool --without-rlm_cache_redis --without-rlm_redis --without-rlm_rediswho --with-rlm_rest --without-libcap --without-rlm_krb5 --with-pcap --with-rlm_pam --with-rlm_ldap --without-rlm_cache_memcached --without-rlm_sql_mysql --with-rlm_python --with-readline --with-rlm_sql_sqlite --with-rlm_sql_unixodbc --with-rlm_sql_postgresql --with-openssl --with-rlm_eap --with-rlm_eap_pwd --without-pcre --without-rlm_ruby --without-systemd build_alias=x86_64-pc-linux-gnu host_alias=nios2-buildroot-linux-gnu target_alias=nios2-buildroot-linux-gnu CC=/home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 LDFLAGS= CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 CXX=no CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 CPP=/home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-cpp --cache-file=/dev/null --srcdir=. ## --------- ## ## Platform. ## ## --------- ## hostname = build3.bootlin.com uname -m = x86_64 uname -r = 5.4.0-165-generic uname -s = Linux uname -v = #182-Ubuntu SMP Mon Oct 2 19:43:28 UTC 2023 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /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/thomas/autobuild/instance-0/output-1/host/bin PATH: /home/thomas/autobuild/instance-0/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:1945: checking for nios2-buildroot-linux-gnu-gcc configure:1972: result: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc configure:2241: checking for C compiler version configure:2250: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc --version >&5 nios2-buildroot-linux-gnu-gcc.br_real (Buildroot 2022.08-rc1-5535-g6898781f03) 12.3.0 Copyright (C) 2022 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:2261: $? = 0 configure:2250: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc.br_real COLLECT_LTO_WRAPPER=/home/thomas/autobuild/instance-0/output-1/host/libexec/gcc/nios2-buildroot-linux-gnu/12.3.0/lto-wrapper Target: nios2-buildroot-linux-gnu Configured with: ./configure --prefix=/home/thomas/autobuild/instance-0/output-1/host --sysconfdir=/home/thomas/autobuild/instance-0/output-1/host/etc --enable-static --target=nios2-buildroot-linux-gnu --with-sysroot=/home/thomas/autobuild/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=/home/thomas/autobuild/instance-0/output-1/host --with-mpc=/home/thomas/autobuild/instance-0/output-1/host --with-mpfr=/home/thomas/autobuild/instance-0/output-1/host --with-pkgversion='Buildroot 2022.08-rc1-5535-g6898781f03' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-threads --with-isl=/home/thomas/autobuild/instance-0/output-1/host --enable-languages=c,fortran --with-build-time-tools=/home/thomas/autobuild/instance-0/output-1/host/nios2-buildroot-linux-gnu/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.3.0 (Buildroot 2022.08-rc1-5535-g6898781f03) configure:2261: $? = 0 configure:2250: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -V >&5 nios2-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-V' nios2-buildroot-linux-gnu-gcc.br_real: fatal error: no input files compilation terminated. configure:2261: $? = 1 configure:2250: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -qversion >&5 nios2-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? nios2-buildroot-linux-gnu-gcc.br_real: fatal error: no input files compilation terminated. configure:2261: $? = 1 configure:2281: checking whether the C compiler works configure:2303: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:2307: $? = 0 configure:2355: result: yes configure:2358: checking for C compiler default output file name configure:2360: result: a.out configure:2366: checking for suffix of executables configure:2373: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:2377: $? = 0 configure:2399: result: configure:2421: checking whether we are cross compiling configure:2459: result: yes configure:2464: checking for suffix of object files configure:2486: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:2490: $? = 0 configure:2511: result: o configure:2515: checking whether we are using the GNU C compiler configure:2534: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:2534: $? = 0 configure:2543: result: yes configure:2552: checking whether /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc accepts -g configure:2572: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:2572: $? = 0 configure:2613: result: yes configure:2630: checking for /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc option to accept ISO C89 configure:2693: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:2693: $? = 0 configure:2706: result: none needed configure:2731: checking how to run the C preprocessor configure:2801: result: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-cpp configure:2821: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:2821: $? = 0 configure:2835: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory 9 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:2835: $? = 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 "" | /* end confdefs.h. */ | #include configure:2886: checking for python2.7 configure:2903: found /usr/bin/python2.7 configure:2914: result: python2.7 configure:2986: Python sys.prefix "/usr" configure:2990: Python sys.exec_prefix "/usr" configure:2994: Python sys.version "2.7" configure:3044: checking for Python.h in /usr/include/python2.7/ configure:3059: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -isystem /usr/include/python2.7/ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 nios2-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-isystem' '/usr/include/python2.7/' configure:3059: $? = 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 "" | /* end confdefs.h. */ | | #include | int | main () | { | int a = 1; | ; | return 0; | } configure:3069: result: no configure:3114: checking for Python.h configure:3129: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:10:30: fatal error: Python.h: No such file or directory 10 | #include | ^~~~~~~~~~ compilation terminated. configure:3129: $? = 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 "" | /* end confdefs.h. */ | | #include | int | main () | { | int a = 1; | ; | return 0; | } configure:3139: result: no configure:3149: checking for Python.h in /usr/local/include/ configure:3164: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -isystem /usr/local/include/ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 nios2-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-isystem' '/usr/local/include/' configure:3164: $? = 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 "" | /* end confdefs.h. */ | | #include | int | main () | { | int a = 1; | ; | return 0; | } configure:3174: result: no configure:3149: checking for Python.h in /opt/include/ configure:3164: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -isystem /opt/include/ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:10:30: fatal error: Python.h: No such file or directory 10 | #include | ^~~~~~~~~~ compilation terminated. configure:3164: $? = 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 "" | /* end confdefs.h. */ | | #include | int | main () | { | int a = 1; | ; | return 0; | } configure:3174: result: no configure:3217: checking for Py_Initialize in -lpython2.7 in /usr/lib/python2.7/config configure:3232: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -L/usr/lib/python2.7/config -Wl,-rpath,/usr/lib/python2.7/config -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpython2.7 -L/usr/lib/python2.7/config -lm >&5 nios2-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-L/usr/lib/python2.7/config' configure:3232: $? = 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 "" | /* end confdefs.h. */ | extern char Py_Initialize(); | int | main () | { | Py_Initialize() | ; | return 0; | } configure:3241: result: no configure:3252: checking for Py_Initialize in -lpython2.7 configure:3266: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpython2.7 -L/usr/lib/python2.7/config -lm >&5 nios2-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-L/usr/lib/python2.7/config' configure:3266: $? = 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 "" | /* end confdefs.h. */ | extern char Py_Initialize(); | int | main () | { | Py_Initialize() | ; | return 0; | } configure:3273: result: no configure:3283: checking for Py_Initialize in -lpython2.7 in /usr/local/lib configure:3298: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -L/usr/local/lib -Wl,-rpath,/usr/local/lib -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpython2.7 -L/usr/lib/python2.7/config -lm >&5 nios2-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-L/usr/local/lib' configure:3298: $? = 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 "" | /* end confdefs.h. */ | extern char Py_Initialize(); | int | main () | { | Py_Initialize() | ; | return 0; | } configure:3307: result: no configure:3283: checking for Py_Initialize in -lpython2.7 in /opt/lib configure:3298: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -L/opt/lib -Wl,-rpath,/opt/lib -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpython2.7 -L/usr/lib/python2.7/config -lm >&5 nios2-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-L/usr/lib/python2.7/config' configure:3298: $? = 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 "" | /* end confdefs.h. */ | extern char Py_Initialize(); | int | main () | { | Py_Initialize() | ; | return 0; | } configure:3307: result: no configure:3342: checking for Py_Initialize in -lpython2.7m in /usr/lib/python2.7/config configure:3357: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -L/usr/lib/python2.7/config -Wl,-rpath,/usr/lib/python2.7/config -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpython2.7m -L/usr/lib/python2.7/config -lm >&5 nios2-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-L/usr/lib/python2.7/config' configure:3357: $? = 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 "" | /* end confdefs.h. */ | extern char Py_Initialize(); | int | main () | { | Py_Initialize() | ; | return 0; | } configure:3366: result: no configure:3377: checking for Py_Initialize in -lpython2.7m configure:3391: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpython2.7m -L/usr/lib/python2.7/config -lm >&5 nios2-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-L/usr/lib/python2.7/config' configure:3391: $? = 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 "" | /* end confdefs.h. */ | extern char Py_Initialize(); | int | main () | { | Py_Initialize() | ; | return 0; | } configure:3398: result: no configure:3408: checking for Py_Initialize in -lpython2.7m in /usr/local/lib configure:3423: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -L/usr/local/lib -Wl,-rpath,/usr/local/lib -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpython2.7m -L/usr/lib/python2.7/config -lm >&5 nios2-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-L/usr/local/lib' configure:3423: $? = 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 "" | /* end confdefs.h. */ | extern char Py_Initialize(); | int | main () | { | Py_Initialize() | ; | return 0; | } configure:3432: result: no configure:3408: checking for Py_Initialize in -lpython2.7m in /opt/lib configure:3423: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -L/opt/lib -Wl,-rpath,/opt/lib -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpython2.7m -L/usr/lib/python2.7/config -lm >&5 nios2-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-L/usr/lib/python2.7/config' configure:3423: $? = 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 "" | /* end confdefs.h. */ | extern char Py_Initialize(); | int | main () | { | Py_Initialize() | ; | return 0; | } configure:3432: result: no configure:3463: checking for dl_iterate_phdr configure:3463: /home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/usr/lib/python2.7/config -lm >&5 nios2-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-L/usr/lib/python2.7/config' configure:3463: $? = 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 "" | /* end confdefs.h. */ | /* Define dl_iterate_phdr to an innocuous variant, in case declares dl_iterate_phdr. | For example, HP-UX 11i declares gettimeofday. */ | #define dl_iterate_phdr innocuous_dl_iterate_phdr | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char dl_iterate_phdr (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef dl_iterate_phdr | | /* 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 dl_iterate_phdr (); | /* 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_dl_iterate_phdr || defined __stub___dl_iterate_phdr | choke me | #endif | | int | main () | { | return dl_iterate_phdr (); | ; | return 0; | } configure:3463: result: no configure:3492: WARNING: silently not building rlm_python. configure:3494: WARNING: FAILURE: rlm_python requires: Python.h libpython2.7. configure:3637: 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 build3.bootlin.com config.status:786: creating all.mk config.status:786: creating config.h ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/thomas/autobuild/instance-0/output-1/host/bin/nios2-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 -O0 -g0 ' 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/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-cpp 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=nios2-buildroot-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=nios2-buildroot-linux-gnu ac_cv_func_calloc_0_nonnull=yes ac_cv_func_dl_iterate_phdr=no 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_objext=o ac_cv_path_RUSERS=/usr/bin/rusers ac_cv_path_SNMPGET=/usr/bin/snmpget ac_cv_path_SNMPWALK=/usr/bin/snmpwalk ac_cv_prog_CC=/home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc ac_cv_prog_CPP=/home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-cpp ac_cv_prog_PYTHON_BIN=python2.7 ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ax_cv_cc_bounded_attribute=no ax_cv_cc_builtin_bswap64=no ax_cv_cc_builtin_choose_expr=no ax_cv_cc_builtin_types_compatible_p=no gl_cv_func_malloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec= ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='/home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-gcc' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 ' CPP='/home/thomas/autobuild/instance-0/output-1/host/bin/nios2-buildroot-linux-gnu-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' DEFS='-DHAVE_CONFIG_H' ECHO_C='' ECHO_N='-n' ECHO_T='' EXEEXT='' LDFLAGS='' LIBOBJS='' LIBS=' -L/usr/lib/python2.7/config -lm' LTLIBOBJS='' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PYTHON_BIN='python2.7' SHELL='/bin/bash' ac_ct_CC='' bindir='${exec_prefix}/bin' build_alias='x86_64-pc-linux-gnu' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='/usr' host_alias='nios2-buildroot-linux-gnu' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mod_cflags='' mod_ldflags='' 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_alias='nios2-buildroot-linux-gnu' targetname='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" configure: exit 0