This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by RISC-V ISA Simulator configure ?, which was generated by GNU Autoconf 2.71. Invocation command line was $ ./configure --prefix=/home/buildroot/autobuild/run/instance-0/output-1/host --sysconfdir=/home/buildroot/autobuild/run/instance-0/output-1/host/etc --localstatedir=/home/buildroot/autobuild/run/instance-0/output-1/host/var --enable-shared --disable-static --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --disable-debug --with-xmlto=no --with-fop=no --disable-nls --disable-dependency-tracking --with-boost=/home/buildroot/autobuild/run/instance-0/output-1/host ## --------- ## ## Platform. ## ## --------- ## hostname = ns304657.ip-46-105-103.eu uname -m = x86_64 uname -r = 4.4.0-210-generic uname -s = Linux uname -v = #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/ PATH: /home/buildroot/autobuild/run/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: /usr/games/ PATH: /usr/local/games/ PATH: /snap/bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2668: looking for aux files: install-sh config.guess config.sub configure:2681: trying ./scripts/ configure:2695: ./scripts/install.sh found configure:2710: ./scripts/config.guess found configure:2710: ./scripts/config.sub found configure:2836: checking build system type configure:2851: result: x86_64-pc-linux-gnu configure:2871: checking host system type configure:2885: result: x86_64-pc-linux-gnu configure:3277: checking for gcc configure:3309: result: /usr/bin/gcc configure:3662: checking for C compiler version configure:3671: /usr/bin/gcc --version >&5 gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.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:3682: $? = 0 configure:3671: /usr/bin/gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) configure:3682: $? = 0 configure:3671: /usr/bin/gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3682: $? = 1 configure:3671: /usr/bin/gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:3682: $? = 1 configure:3671: /usr/bin/gcc -version >&5 gcc: error: unrecognized command line option '-version' gcc: fatal error: no input files compilation terminated. configure:3682: $? = 1 configure:3702: checking whether the C compiler works configure:3724: /usr/bin/gcc -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -L/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/host/lib conftest.c >&5 configure:3728: $? = 0 configure:3778: result: yes configure:3781: checking for C compiler default output file name configure:3783: result: a.out configure:3789: checking for suffix of executables configure:3796: /usr/bin/gcc -o conftest -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -L/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/host/lib conftest.c >&5 configure:3800: $? = 0 configure:3823: result: configure:3845: checking whether we are cross compiling configure:3853: /usr/bin/gcc -o conftest -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -L/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/host/lib conftest.c >&5 configure:3857: $? = 0 configure:3864: ./conftest configure:3868: $? = 0 configure:3883: result: no configure:3888: checking for suffix of object files configure:3911: /usr/bin/gcc -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.c >&5 configure:3915: $? = 0 configure:3937: result: o configure:3941: checking whether the compiler supports GNU C configure:3961: /usr/bin/gcc -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.c >&5 configure:3961: $? = 0 configure:3971: result: yes configure:3982: checking whether /usr/bin/gcc accepts -g configure:4003: /usr/bin/gcc -c -g -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.c >&5 configure:4003: $? = 0 configure:4047: result: yes configure:4067: checking for /usr/bin/gcc option to enable C11 features configure:4082: /usr/bin/gcc -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.c >&5 configure:4082: $? = 0 configure:4100: result: none needed configure:4338: checking for C++ compiler version configure:4347: /usr/bin/g++ --version >&5 g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.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:4358: $? = 0 configure:4347: /usr/bin/g++ -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) configure:4358: $? = 0 configure:4347: /usr/bin/g++ -V >&5 g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. configure:4358: $? = 1 configure:4347: /usr/bin/g++ -qversion >&5 g++: error: unrecognized command line option '-qversion'; did you mean '--version'? g++: fatal error: no input files compilation terminated. configure:4358: $? = 1 configure:4362: checking whether the compiler supports GNU C++ configure:4382: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:4382: $? = 0 configure:4392: result: yes configure:4403: checking whether /usr/bin/g++ accepts -g configure:4424: /usr/bin/g++ -c -g -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:4424: $? = 0 configure:4468: result: yes configure:4488: checking for /usr/bin/g++ option to enable C++11 features configure:4503: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:4503: $? = 0 configure:4521: result: none needed configure:4633: checking for ar configure:4665: result: /usr/bin/ar configure:4735: checking for ranlib configure:4767: result: /usr/bin/ranlib configure:4791: checking for dtc configure:4814: found /home/buildroot/autobuild/run/instance-0/output-1/host/bin/dtc configure:4827: result: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/dtc configure:4848: checking for stdio.h configure:4848: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:4848: $? = 0 configure:4848: result: yes configure:4848: checking for stdlib.h configure:4848: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:4848: $? = 0 configure:4848: result: yes configure:4848: checking for string.h configure:4848: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:4848: $? = 0 configure:4848: result: yes configure:4848: checking for inttypes.h configure:4848: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:4848: $? = 0 configure:4848: result: yes configure:4848: checking for stdint.h configure:4848: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:4848: $? = 0 configure:4848: result: yes configure:4848: checking for strings.h configure:4848: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:4848: $? = 0 configure:4848: result: yes configure:4848: checking for sys/stat.h configure:4848: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:4848: $? = 0 configure:4848: result: yes configure:4848: checking for sys/types.h configure:4848: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:4848: $? = 0 configure:4848: result: yes configure:4848: checking for unistd.h configure:4848: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:4848: $? = 0 configure:4848: result: yes configure:4873: checking whether byte ordering is bigendian configure:4889: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 conftest.cpp:21:9: error: expected unqualified-id before 'not' token not a universal capable compiler ^~~ configure:4889: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "RISC-V ISA Simulator" | #define PACKAGE_TARNAME "spike" | #define PACKAGE_VERSION "?" | #define PACKAGE_STRING "RISC-V ISA Simulator ?" | #define PACKAGE_BUGREPORT "Andrew Waterman" | #define PACKAGE_URL "" | #define DTC "dtc" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #ifndef __APPLE_CC__ | not a universal capable compiler | #endif | typedef int dummy; | configure:4935: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:4935: $? = 0 configure:4954: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:27:8: error: 'big' was not declared in this scope not big endian ^~~ configure:4954: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "RISC-V ISA Simulator" | #define PACKAGE_TARNAME "spike" | #define PACKAGE_VERSION "?" | #define PACKAGE_STRING "RISC-V ISA Simulator ?" | #define PACKAGE_BUGREPORT "Andrew Waterman" | #define PACKAGE_URL "" | #define DTC "dtc" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include | #include | | int | main (void) | { | #if BYTE_ORDER != BIG_ENDIAN | not big endian | #endif | | ; | return 0; | } configure:5088: result: no configure:5129: checking for a BSD-compatible install configure:5202: result: /usr/bin/install -c configure:5242: checking for grep that handles long lines and -e configure:5306: result: /bin/grep configure:5314: checking for egrep configure:5382: result: /bin/grep -E configure:5393: checking for __int128_t configure:5393: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:5393: $? = 0 configure:5393: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:51:24: error: expected primary-expression before ')' token if (sizeof ((__int128_t))) ^ configure:5393: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "RISC-V ISA Simulator" | #define PACKAGE_TARNAME "spike" | #define PACKAGE_VERSION "?" | #define PACKAGE_STRING "RISC-V ISA Simulator ?" | #define PACKAGE_BUGREPORT "Andrew Waterman" | #define PACKAGE_URL "" | #define DTC "dtc" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | if (sizeof ((__int128_t))) | return 0; | ; | return 0; | } configure:5393: result: yes configure:5414: checking whether the linker accepts -Wl,--export-dynamic configure:5434: /usr/bin/g++ -o conftest -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -L/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,--export-dynamic conftest.cpp >&5 configure:5434: $? = 0 configure:5445: result: yes configure:5463: : LDFLAGS="$LDFLAGS" configure:5466: $? = 0 configure:5489: checking whether C++ compiler accepts -relocatable-pch configure:5509: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -relocatable-pch -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 g++: error: unrecognized command line option '-relocatable-pch'; did you mean '-fno-vtable-gc'? configure:5509: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "RISC-V ISA Simulator" | #define PACKAGE_TARNAME "spike" | #define PACKAGE_VERSION "?" | #define PACKAGE_STRING "RISC-V ISA Simulator ?" | #define PACKAGE_BUGREPORT "Andrew Waterman" | #define PACKAGE_URL "" | #define DTC "dtc" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_INT128 1 | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:5518: result: no configure:5582: configuring default subproject : fesvr configure:5591: checking for pthread_create in -lpthread configure:5613: /usr/bin/g++ -o conftest -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -L/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,--export-dynamic conftest.cpp -lpthread >&5 configure:5613: $? = 0 configure:5623: result: yes configure:5636: checking for struct statx.stx_ino configure:5636: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:54:21: error: aggregate 'main()::statx ac_aggr' has incomplete type and cannot be defined static struct statx ac_aggr; ^~~~~~~ configure:5636: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "RISC-V ISA Simulator" | #define PACKAGE_TARNAME "spike" | #define PACKAGE_VERSION "?" | #define PACKAGE_STRING "RISC-V ISA Simulator ?" | #define PACKAGE_BUGREPORT "Andrew Waterman" | #define PACKAGE_URL "" | #define DTC "dtc" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_INT128 1 | #define FESVR_ENABLED /**/ | #define HAVE_LIBPTHREAD 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static struct statx ac_aggr; | if (ac_aggr.stx_ino) | return 0; | ; | return 0; | } configure:5636: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:54:21: error: aggregate 'main()::statx ac_aggr' has incomplete type and cannot be defined static struct statx ac_aggr; ^~~~~~~ configure:5636: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "RISC-V ISA Simulator" | #define PACKAGE_TARNAME "spike" | #define PACKAGE_VERSION "?" | #define PACKAGE_STRING "RISC-V ISA Simulator ?" | #define PACKAGE_BUGREPORT "Andrew Waterman" | #define PACKAGE_URL "" | #define DTC "dtc" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_INT128 1 | #define FESVR_ENABLED /**/ | #define HAVE_LIBPTHREAD 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static struct statx ac_aggr; | if (sizeof ac_aggr.stx_ino) | return 0; | ; | return 0; | } configure:5636: result: no configure:5645: checking for struct statx.stx_mnt_id configure:5645: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:54:21: error: aggregate 'main()::statx ac_aggr' has incomplete type and cannot be defined static struct statx ac_aggr; ^~~~~~~ configure:5645: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "RISC-V ISA Simulator" | #define PACKAGE_TARNAME "spike" | #define PACKAGE_VERSION "?" | #define PACKAGE_STRING "RISC-V ISA Simulator ?" | #define PACKAGE_BUGREPORT "Andrew Waterman" | #define PACKAGE_URL "" | #define DTC "dtc" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_INT128 1 | #define FESVR_ENABLED /**/ | #define HAVE_LIBPTHREAD 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static struct statx ac_aggr; | if (ac_aggr.stx_mnt_id) | return 0; | ; | return 0; | } configure:5645: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:54:21: error: aggregate 'main()::statx ac_aggr' has incomplete type and cannot be defined static struct statx ac_aggr; ^~~~~~~ configure:5645: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "RISC-V ISA Simulator" | #define PACKAGE_TARNAME "spike" | #define PACKAGE_VERSION "?" | #define PACKAGE_STRING "RISC-V ISA Simulator ?" | #define PACKAGE_BUGREPORT "Andrew Waterman" | #define PACKAGE_URL "" | #define DTC "dtc" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_INT128 1 | #define FESVR_ENABLED /**/ | #define HAVE_LIBPTHREAD 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static struct statx ac_aggr; | if (sizeof ac_aggr.stx_mnt_id) | return 0; | ; | return 0; | } configure:5645: result: no configure:5689: configuring default subproject : riscv configure:5803: checking for boostlib >= 1.53 (105300) includes in "/home/buildroot/autobuild/run/instance-0/output-1/host/include" configure:5808: result: yes configure:5812: checking for boostlib >= 1.53 (105300) lib path in "/home/buildroot/autobuild/run/instance-0/output-1/host/lib/x86_64-linux-gnu" configure:5823: result: no configure:5812: checking for boostlib >= 1.53 (105300) lib path in "/home/buildroot/autobuild/run/instance-0/output-1/host/lib64" configure:5817: result: yes configure:5858: checking for boostlib >= 1.53 (105300) configure:5890: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:5890: $? = 0 configure:5893: result: yes configure:6086: checking whether the Boost::ASIO library is available configure:6118: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:6118: $? = 0 configure:6133: result: yes configure:6144: checking for main in -lboost_system configure:6166: /usr/bin/g++ -o conftest -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -L/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,--export-dynamic -L/home/buildroot/autobuild/run/instance-0/output-1/host/lib64 conftest.cpp -lboost_system -lpthread >&5 configure:6166: $? = 0 configure:6177: result: yes configure:6279: checking whether the Boost::Regex library is available configure:6303: /usr/bin/g++ -c -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include conftest.cpp >&5 configure:6303: $? = 0 configure:6318: result: yes configure:6329: checking for exit in -lboost_regex configure:6351: /usr/bin/g++ -o conftest -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -L/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,--export-dynamic -L/home/buildroot/autobuild/run/instance-0/output-1/host/lib64 conftest.cpp -lboost_regex -lpthread >&5 configure:6351: $? = 0 configure:6362: result: yes configure:6481: checking for main in -lboost_system configure:6513: result: yes configure:6524: checking for main in -lboost_regex configure:6546: /usr/bin/g++ -o conftest -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -L/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,--export-dynamic conftest.cpp -lboost_regex -lboost_system -lpthread >&5 configure:6546: $? = 0 configure:6556: result: yes configure:6623: checking for library containing dlopen configure:6652: /usr/bin/g++ -o conftest -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -L/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,--export-dynamic conftest.cpp -lboost_regex -lboost_system -lpthread >&5 /tmp/ccKHin5G.o: In function `main': conftest.cpp:(.text.startup+0x1): undefined reference to `dlopen' collect2: error: ld returned 1 exit status configure:6652: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "RISC-V ISA Simulator" | #define PACKAGE_TARNAME "spike" | #define PACKAGE_VERSION "?" | #define PACKAGE_STRING "RISC-V ISA Simulator ?" | #define PACKAGE_BUGREPORT "Andrew Waterman" | #define PACKAGE_URL "" | #define DTC "dtc" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | #define HAVE_INT128 1 | #define FESVR_ENABLED /**/ | #define HAVE_LIBPTHREAD 1 | #define RISCV_ENABLED /**/ | #define HAVE_BOOST /**/ | #define HAVE_BOOST_ASIO /**/ | #define HAVE_BOOST_REGEX /**/ | #define HAVE_LIBBOOST_SYSTEM 1 | #define HAVE_LIBBOOST_REGEX 1 | #define DEFAULT_ISA "RV64IMAFDC_zicntr_zihpm" | #define DEFAULT_PRIV "MSU" | #define DEFAULT_VARCH "vlen:128,elen:64" | #define TARGET_ARCH "riscv64-unknown-elf" | /* end confdefs.h. */ | | namespace conftest { | extern "C" int dlopen (); | } | int | main (void) | { | return conftest::dlopen (); | ; | return 0; | } configure:6652: /usr/bin/g++ -o conftest -O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -I/home/buildroot/autobuild/run/instance-0/output-1/host/include -L/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,--export-dynamic conftest.cpp -ldl -lboost_regex -lboost_system -lpthread >&5 configure:6652: $? = 0 configure:6672: result: -ldl configure:6688: checking for pthread_create in -lpthread configure:6720: result: yes configure:6783: configuring default subproject : disasm configure:6828: configuring default subproject : customext configure:6873: configuring default subproject : fdt configure:6918: configuring default subproject : softfloat configure:6963: configuring default subproject : spike_main configure:7008: configuring default subproject : spike_dasm configure:7169: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by RISC-V ISA Simulator config.status ?, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on ns304657.ip-46-105-103.eu config.status:854: creating fesvr.mk config.status:854: creating riscv.mk config.status:854: creating disasm.mk config.status:854: creating customext.mk config.status:854: creating fdt.mk config.status:854: creating softfloat.mk config.status:854: creating spike_main.mk config.status:854: creating spike_dasm.mk config.status:854: creating Makefile config.status:854: creating riscv-fesvr.pc config.status:854: creating riscv-disasm.pc config.status:854: creating riscv-riscv.pc config.status:854: creating config.h configure:8335: WARNING: unrecognized options: --enable-shared, --disable-static, --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop, --disable-nls, --disable-dependency-tracking ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/usr/bin/gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/home/buildroot/autobuild/run/instance-0/output-1/host/include ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/usr/bin/g++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/host/lib' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_STOW_PREFIX_set= ac_cv_env_STOW_PREFIX_value= ac_cv_env_STOW_ROOT_set= ac_cv_env_STOW_ROOT_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_header_inttypes_h=yes ac_cv_header_stdint_h=yes ac_cv_header_stdio_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-pc-linux-gnu ac_cv_lib_boost_regex_exit=yes ac_cv_lib_boost_regex_main=yes ac_cv_lib_boost_system_main=yes ac_cv_lib_pthread_pthread_create=yes ac_cv_member_struct_statx_stx_ino=no ac_cv_member_struct_statx_stx_mnt_id=no ac_cv_objext=o ac_cv_path_DTC=/home/buildroot/autobuild/run/instance-0/output-1/host/bin/dtc ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_ac_ct_AR=/usr/bin/ar ac_cv_prog_ac_ct_CC=/usr/bin/gcc ac_cv_prog_ac_ct_RANLIB=/usr/bin/ranlib ac_cv_prog_cc_c11= ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_cxx_11=no ac_cv_prog_cxx_cxx11= ac_cv_prog_cxx_g=yes ac_cv_prog_cxx_stdcxx= ac_cv_search_dlopen=-ldl ac_cv_type___int128_t=yes ax_cv_boost_asio=yes ax_cv_boost_regex=yes ax_cv_check_cxxflags___relocatable_pch=no ax_cv_check_ldflags___Wl___export_dynamic=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='/usr/bin/ar' BOOST_ASIO_LIB='-lboost_system' BOOST_CPPFLAGS='-I/home/buildroot/autobuild/run/instance-0/output-1/host/include' BOOST_LDFLAGS='-L/home/buildroot/autobuild/run/instance-0/output-1/host/lib64' BOOST_REGEX_LIB='-lboost_regex' CC='/usr/bin/gcc' CFLAGS='-O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include' CPPFLAGS='-I/home/buildroot/autobuild/run/instance-0/output-1/host/include' CXX='/usr/bin/g++' CXXFLAGS='-O2 -I/home/buildroot/autobuild/run/instance-0/output-1/host/include' DEFS='-DHAVE_CONFIG_H' DTC='/home/buildroot/autobuild/run/instance-0/output-1/host/bin/dtc' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' GREP='/bin/grep' HAVE_CLANG_PCH='' HAVE_DLOPEN='yes' HAVE_INT128='yes' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='-L/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/host/lib -Wl,--export-dynamic' LIBOBJS='' LIBS='-lpthread -ldl -lboost_regex -lboost_system -lpthread ' LTLIBOBJS='' OBJEXT='o' PACKAGE_BUGREPORT='Andrew Waterman' PACKAGE_NAME='RISC-V ISA Simulator' PACKAGE_STRING='RISC-V ISA Simulator ?' PACKAGE_TARNAME='spike' PACKAGE_URL='' PACKAGE_VERSION='?' PATH_SEPARATOR=':' RANLIB='/usr/bin/ranlib' SHELL='/bin/sh' STOW_PREFIX='' STOW_ROOT='' ac_ct_CC='/usr/bin/gcc' ac_ct_CXX='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' enable_stow='no' exec_prefix='${prefix}' host='x86_64-pc-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/home/buildroot/autobuild/run/instance-0/output-1/host/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/home/buildroot/autobuild/run/instance-0/output-1/host' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subprojects=' fesvr riscv disasm customext fdt softfloat spike_main spike_dasm' subprojects_enabled=' fesvr riscv disasm customext fdt softfloat spike_main spike_dasm' sysconfdir='/home/buildroot/autobuild/run/instance-0/output-1/host/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "RISC-V ISA Simulator" #define PACKAGE_TARNAME "spike" #define PACKAGE_VERSION "?" #define PACKAGE_STRING "RISC-V ISA Simulator ?" #define PACKAGE_BUGREPORT "Andrew Waterman" #define PACKAGE_URL "" #define DTC "dtc" #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_STRINGS_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define STDC_HEADERS 1 #define HAVE_INT128 1 #define FESVR_ENABLED /**/ #define HAVE_LIBPTHREAD 1 #define RISCV_ENABLED /**/ #define HAVE_BOOST /**/ #define HAVE_BOOST_ASIO /**/ #define HAVE_BOOST_REGEX /**/ #define HAVE_LIBBOOST_SYSTEM 1 #define HAVE_LIBBOOST_REGEX 1 #define DEFAULT_ISA "RV64IMAFDC_zicntr_zihpm" #define DEFAULT_PRIV "MSU" #define DEFAULT_VARCH "vlen:128,elen:64" #define TARGET_ARCH "riscv64-unknown-elf" #define HAVE_DLOPEN /**/ #define HAVE_LIBPTHREAD 1 #define DISASM_ENABLED /**/ #define CUSTOMEXT_ENABLED /**/ #define FDT_ENABLED /**/ #define SOFTFLOAT_ENABLED /**/ #define SPIKE_MAIN_ENABLED /**/ #define SPIKE_DASM_ENABLED /**/ configure: exit 0