This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by package-unused configure version-unused, which was generated by GNU Autoconf 2.69. Invocation command line was $ /home/seti/riscv-gnu-toolchain/gdb/libbacktrace/configure --srcdir=/home/seti/riscv-gnu-toolchain/gdb/libbacktrace --cache-file=./config.cache --prefix=/opt/riscv --disable-werror --with-expat=yes --enable-gdb --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof --program-transform-name=s&^&riscv32-unknown-elf-& --disable-option-checking --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=riscv32-unknown-elf ## --------- ## ## Platform. ## ## --------- ## hostname = seti-VirtualBox uname -m = x86_64 uname -r = 5.15.0-58-generic uname -s = Linux uname -v = #64-Ubuntu SMP Thu Jan 5 11:43:13 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/seti/riscv-gnu-toolchain/scripts/wrapper/sed PATH: /opt/riscv/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /snap/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2465: creating cache ./config.cache configure:2618: checking build system type configure:2632: result: x86_64-pc-linux-gnu configure:2652: checking host system type configure:2665: result: x86_64-pc-linux-gnu configure:2685: checking target system type configure:2698: result: riscv32-unknown-elf configure:2738: checking for x86_64-pc-linux-gnu-gcc configure:2765: result: gcc configure:3034: checking for C compiler version configure:3043: gcc --version >&5 gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3054: $? = 0 configure:3043: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.3.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --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-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04) ... rest of stderr output deleted ... configure:3054: $? = 0 configure:3043: gcc -V >&5 gcc: error: unrecognized command-line option '-V' gcc: fatal error: no input files compilation terminated. configure:3054: $? = 1 configure:3043: gcc -qversion >&5 gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:3054: $? = 1 configure:3074: checking whether the C compiler works configure:3096: gcc -g -O2 conftest.c >&5 configure:3100: $? = 0 configure:3148: result: yes configure:3151: checking for C compiler default output file name configure:3153: result: a.out configure:3159: checking for suffix of executables configure:3166: gcc -o conftest -g -O2 conftest.c >&5 configure:3170: $? = 0 configure:3192: result: configure:3214: checking whether we are cross compiling configure:3222: gcc -o conftest -g -O2 conftest.c >&5 configure:3226: $? = 0 configure:3233: ./conftest configure:3237: $? = 0 configure:3252: result: no configure:3257: checking for suffix of object files configure:3279: gcc -c -g -O2 conftest.c >&5 configure:3283: $? = 0 configure:3304: result: o configure:3308: checking whether we are using the GNU C compiler configure:3327: gcc -c -g -O2 conftest.c >&5 configure:3327: $? = 0 configure:3336: result: yes configure:3345: checking whether gcc accepts -g configure:3365: gcc -c -g conftest.c >&5 configure:3365: $? = 0 configure:3406: result: yes configure:3423: checking for gcc option to accept ISO C89 configure:3486: gcc -c -g -O2 conftest.c >&5 configure:3486: $? = 0 configure:3499: result: none needed configure:3524: checking whether gcc understands -c and -o together configure:3546: gcc -c conftest.c -o conftest2.o configure:3549: $? = 0 configure:3546: gcc -c conftest.c -o conftest2.o configure:3549: $? = 0 configure:3561: result: yes configure:3584: checking how to run the C preprocessor configure:3615: gcc -E conftest.c configure:3615: $? = 0 configure:3629: gcc -E conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory 9 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:3629: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:3654: result: gcc -E configure:3674: gcc -E conftest.c configure:3674: $? = 0 configure:3688: gcc -E conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory 9 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:3688: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:3717: checking for grep that handles long lines and -e configure:3775: result: /usr/bin/grep configure:3780: checking for egrep configure:3842: result: /usr/bin/grep -E configure:3847: checking for ANSI C header files configure:3867: gcc -c -g -O2 conftest.c >&5 configure:3867: $? = 0 configure:3940: gcc -o conftest -g -O2 conftest.c >&5 configure:3940: $? = 0 configure:3940: ./conftest configure:3940: $? = 0 configure:3951: result: yes configure:3964: checking for sys/types.h configure:3964: gcc -c -g -O2 conftest.c >&5 configure:3964: $? = 0 configure:3964: result: yes configure:3964: checking for sys/stat.h configure:3964: gcc -c -g -O2 conftest.c >&5 configure:3964: $? = 0 configure:3964: result: yes configure:3964: checking for stdlib.h configure:3964: gcc -c -g -O2 conftest.c >&5 configure:3964: $? = 0 configure:3964: result: yes configure:3964: checking for string.h configure:3964: gcc -c -g -O2 conftest.c >&5 configure:3964: $? = 0 configure:3964: result: yes configure:3964: checking for memory.h configure:3964: gcc -c -g -O2 conftest.c >&5 configure:3964: $? = 0 configure:3964: result: yes configure:3964: checking for strings.h configure:3964: gcc -c -g -O2 conftest.c >&5 configure:3964: $? = 0 configure:3964: result: yes configure:3964: checking for inttypes.h configure:3964: gcc -c -g -O2 conftest.c >&5 configure:3964: $? = 0 configure:3964: result: yes configure:3964: checking for stdint.h configure:3964: gcc -c -g -O2 conftest.c >&5 configure:3964: $? = 0 configure:3964: result: yes configure:3964: checking for unistd.h configure:3964: gcc -c -g -O2 conftest.c >&5 configure:3964: $? = 0 configure:3964: result: yes configure:3977: checking minix/config.h usability configure:3977: gcc -c -g -O2 conftest.c >&5 conftest.c:52:10: fatal error: minix/config.h: No such file or directory 52 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:3977: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:3977: result: no configure:3977: checking minix/config.h presence configure:3977: gcc -E conftest.c conftest.c:19:10: fatal error: minix/config.h: No such file or directory 19 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:3977: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include configure:3977: result: no configure:3977: checking for minix/config.h configure:3977: result: no configure:3998: checking whether it is safe to define __EXTENSIONS__ configure:4016: gcc -c -g -O2 conftest.c >&5 configure:4016: $? = 0 configure:4023: result: yes configure:4066: checking for a BSD-compatible install configure:4134: result: /usr/bin/install -c configure:4145: checking whether build environment is sane configure:4200: result: yes configure:4348: checking for a thread-safe mkdir -p configure:4387: result: /usr/bin/mkdir -p configure:4394: checking for gawk configure:4421: result: /usr/bin/gawk configure:4432: checking whether make sets $(MAKE) configure:4454: result: yes configure:4483: checking whether make supports nested variables configure:4500: result: yes configure:4619: checking whether to enable maintainer-specific portions of Makefiles configure:4628: result: no configure:4662: checking for x86_64-pc-linux-gnu-gcc configure:4689: result: gcc configure:4958: checking for C compiler version configure:4967: gcc --version >&5 gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4978: $? = 0 configure:4967: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.3.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --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-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04) ... rest of stderr output deleted ... configure:4978: $? = 0 configure:4967: gcc -V >&5 gcc: error: unrecognized command-line option '-V' gcc: fatal error: no input files compilation terminated. configure:4978: $? = 1 configure:4967: gcc -qversion >&5 gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:4978: $? = 1 configure:4982: checking whether we are using the GNU C compiler configure:5010: result: yes configure:5019: checking whether gcc accepts -g configure:5080: result: yes configure:5097: checking for gcc option to accept ISO C89 configure:5173: result: none needed configure:5198: checking whether gcc understands -c and -o together configure:5235: result: yes configure:5259: checking for x86_64-pc-linux-gnu-ranlib configure:5286: result: ranlib --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so configure:5353: checking for gawk configure:5380: result: /usr/bin/gawk configure:5397: checking for dwz configure:5427: result: no configure:5487: checking how to print strings configure:5514: result: printf configure:5535: checking for a sed that does not truncate output configure:5599: result: /usr/bin/sed configure:5617: checking for fgrep configure:5679: result: /usr/bin/grep -F configure:5714: checking for ld used by gcc configure:5781: result: ld configure:5788: checking if the linker (ld) is GNU ld configure:5803: result: yes configure:5815: checking for BSD- or MS-compatible name lister (nm) configure:5864: result: nm configure:5994: checking the name lister (nm) interface configure:6001: gcc -c -g -O2 conftest.c >&5 configure:6004: nm "conftest.o" configure:6007: output 0000000000000000 B some_variable configure:6014: result: BSD nm configure:6017: checking whether ln -s works configure:6021: result: yes configure:6029: checking the maximum length of command line arguments configure:6154: result: 1572864 configure:6171: checking whether the shell understands some XSI constructs configure:6181: result: yes configure:6185: checking whether the shell understands "+=" configure:6191: result: yes configure:6226: checking for ld option to reload object files configure:6233: result: -r configure:6262: checking for x86_64-pc-linux-gnu-objdump configure:6289: result: objdump configure:6361: checking how to recognize dependent libraries configure:6562: result: pass_all configure:6582: checking for x86_64-pc-linux-gnu-ar configure:6609: result: ar --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so configure:6687: checking for x86_64-pc-linux-gnu-strip configure:6717: result: no configure:6727: checking for strip configure:6743: found /usr/bin/strip configure:6754: result: strip configure:6786: checking for x86_64-pc-linux-gnu-ranlib configure:6813: result: ranlib --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so configure:6955: checking command to parse nm output from gcc object configure:7073: gcc -c -g -O2 conftest.c >&5 configure:7076: $? = 0 configure:7080: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:7083: $? = 0 configure:7137: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 configure:7140: $? = 0 configure:7178: result: ok configure:7273: gcc -c -g -O2 conftest.c >&5 configure:7276: $? = 0 configure:8028: checking for dlfcn.h configure:8028: gcc -c -g -O2 conftest.c >&5 configure:8028: $? = 0 configure:8028: result: yes configure:8215: checking for objdir configure:8230: result: .libs configure:8501: checking if gcc supports -fno-rtti -fno-exceptions configure:8519: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C configure:8523: $? = 0 configure:8536: result: no configure:8556: checking for gcc option to produce PIC configure:8842: result: -fPIC -DPIC configure:8854: checking if gcc PIC flag -fPIC -DPIC works configure:8872: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:8876: $? = 0 configure:8889: result: yes configure:8913: checking if gcc static flag -static works configure:8941: result: yes configure:8956: checking if gcc supports -c -o file.o configure:8977: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:8981: $? = 0 configure:9003: result: yes configure:9011: checking if gcc supports -c -o file.o configure:9058: result: yes configure:9091: checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries configure:10162: result: yes configure:10199: checking whether -lc should be explicitly linked in configure:10207: gcc -c -g -O2 conftest.c >&5 configure:10210: $? = 0 configure:10225: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1 configure:10228: $? = 0 configure:10242: result: no configure:10407: checking dynamic linker characteristics configure:10853: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:10853: $? = 0 configure:11075: result: GNU/Linux ld.so configure:11182: checking how to hardcode library paths into programs configure:11207: result: immediate configure:11747: checking whether stripping libraries is possible configure:11752: result: yes configure:11787: checking if libtool supports shared libraries configure:11789: result: yes configure:11792: checking whether to build shared libraries configure:11813: result: yes configure:11816: checking whether to build static libraries configure:11820: result: yes configure:11864: checking for special C compiler options needed for large files configure:11909: result: no configure:11915: checking for _FILE_OFFSET_BITS value needed for large files configure:11940: gcc -c -g -O2 conftest.c >&5 configure:11940: $? = 0 configure:11972: result: no configure:12065: checking unwind.h usability configure:12065: gcc -c -g -O2 conftest.c >&5 configure:12065: $? = 0 configure:12065: result: yes configure:12065: checking unwind.h presence configure:12065: gcc -E conftest.c configure:12065: $? = 0 configure:12065: result: yes configure:12065: checking for unwind.h configure:12065: result: yes configure:12067: checking for _Unwind_Backtrace configure:12067: gcc -o conftest -g -O2 conftest.c >&5 configure:12067: $? = 0 configure:12067: result: yes configure:12088: checking for -funwind-tables option configure:12106: gcc -c -g -O2 -funwind-tables conftest.c >&5 configure:12106: $? = 0 configure:12114: result: yes configure:12119: checking for -frandom-seed=string option configure:12137: gcc -c -g -O2 -frandom-seed=conftest.lo conftest.c >&5 configure:12137: $? = 0 configure:12145: result: yes configure:12262: checking whether gcc supports -W configure:12279: gcc -c -W conftest.c >&5 configure:12279: $? = 0 configure:12288: result: yes configure:12262: checking whether gcc supports -Wall configure:12279: gcc -c -Wall conftest.c >&5 configure:12279: $? = 0 configure:12288: result: yes configure:12262: checking whether gcc supports -Wwrite-strings configure:12279: gcc -c -Wwrite-strings conftest.c >&5 configure:12279: $? = 0 configure:12288: result: yes configure:12262: checking whether gcc supports -Wstrict-prototypes configure:12279: gcc -c -Wstrict-prototypes conftest.c >&5 conftest.c:28:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 28 | main () | ^~~~ configure:12279: $? = 0 configure:12288: result: yes configure:12262: checking whether gcc supports -Wmissing-prototypes configure:12279: gcc -c -Wmissing-prototypes conftest.c >&5 configure:12279: $? = 0 configure:12288: result: yes configure:12262: checking whether gcc supports -Wold-style-definition configure:12279: gcc -c -Wold-style-definition conftest.c >&5 conftest.c: In function 'main': conftest.c:28:1: warning: old-style function definition [-Wold-style-definition] 28 | main () | ^~~~ configure:12279: $? = 0 configure:12288: result: yes configure:12262: checking whether gcc supports -Wmissing-format-attribute configure:12279: gcc -c -Wmissing-format-attribute conftest.c >&5 configure:12279: $? = 0 configure:12288: result: yes configure:12262: checking whether gcc supports -Wcast-qual configure:12279: gcc -c -Wcast-qual conftest.c >&5 configure:12279: $? = 0 configure:12288: result: yes configure:12349: checking for _Unwind_GetIPInfo configure:12364: gcc -o conftest -g -O2 -Werror-implicit-function-declaration conftest.c >&5 configure:12364: $? = 0 configure:12372: result: yes configure:12405: checking for CET support configure:12434: gcc -c -g -O2 -fcf-protection conftest.c >&5 configure:12434: $? = 0 configure:12500: gcc -o conftest -g -O2 -fcf-protection=none -Wl,-z,ibt,-z,shstk conftest.c >&5 configure:12500: $? = 0 configure:12528: gcc -o conftest -g -O2 -fcf-protection=none -Wl,-z,ibt,-z,shstk conftest.c >&5 configure:12528: $? = 0 configure:12528: ./conftest configure:12528: $? = 0 configure:12575: gcc -o conftest -g -O2 -fcf-protection=none -Wl,-z,ibt,-z,shstk conftest.c >&5 configure:12575: $? = 0 configure:12575: ./conftest configure:12575: $? = 0 configure:12596: result: yes configure:12615: checking __sync extensions configure:12639: gcc -o conftest -g -O2 conftest.c >&5 configure:12639: $? = 0 configure:12648: result: yes configure:12660: checking __atomic extensions configure:12680: gcc -o conftest -g -O2 conftest.c >&5 configure:12680: $? = 0 configure:12689: result: yes configure:12700: checking output filetype configure:12717: gcc -c -g -O2 conftest.c >&5 configure:12717: $? = 0 configure:12728: result: elf64 configure:12810: checking for uintmax_t configure:12810: gcc -c -g -O2 conftest.c >&5 configure:12810: $? = 0 configure:12810: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:37:24: error: expected expression before ')' token 37 | if (sizeof ((uintmax_t))) | ^ configure:12810: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_GETIPINFO 1 | #define HAVE_SYNC_FUNCTIONS 1 | #define HAVE_ATOMIC_FUNCTIONS 1 | #define BACKTRACE_ELF_SIZE 64 | #define BACKTRACE_XCOFF_SIZE unused | /* end confdefs.h. */ | #include | #include | | int | main () | { | if (sizeof ((uintmax_t))) | return 0; | ; | return 0; | } configure:12810: result: yes configure:12819: checking for uintptr_t configure:12819: gcc -c -g -O2 conftest.c >&5 configure:12819: $? = 0 configure:12819: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:37:24: error: expected expression before ')' token 37 | if (sizeof ((uintptr_t))) | ^ configure:12819: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_GETIPINFO 1 | #define HAVE_SYNC_FUNCTIONS 1 | #define HAVE_ATOMIC_FUNCTIONS 1 | #define BACKTRACE_ELF_SIZE 64 | #define BACKTRACE_XCOFF_SIZE unused | /* end confdefs.h. */ | #include | #include | | int | main () | { | if (sizeof ((uintptr_t))) | return 0; | ; | return 0; | } configure:12819: result: yes configure:12828: checking for int_least32_t configure:12828: gcc -c -g -O2 conftest.c >&5 configure:12828: $? = 0 configure:12828: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:37:28: error: expected expression before ')' token 37 | if (sizeof ((int_least32_t))) | ^ configure:12828: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_GETIPINFO 1 | #define HAVE_SYNC_FUNCTIONS 1 | #define HAVE_ATOMIC_FUNCTIONS 1 | #define BACKTRACE_ELF_SIZE 64 | #define BACKTRACE_XCOFF_SIZE unused | /* end confdefs.h. */ | #include | #include | | int | main () | { | if (sizeof ((int_least32_t))) | return 0; | ; | return 0; | } configure:12828: result: yes configure:12837: checking for int_fast32_t configure:12837: gcc -c -g -O2 conftest.c >&5 configure:12837: $? = 0 configure:12837: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:37:27: error: expected expression before ')' token 37 | if (sizeof ((int_fast32_t))) | ^ configure:12837: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_GETIPINFO 1 | #define HAVE_SYNC_FUNCTIONS 1 | #define HAVE_ATOMIC_FUNCTIONS 1 | #define BACKTRACE_ELF_SIZE 64 | #define BACKTRACE_XCOFF_SIZE unused | /* end confdefs.h. */ | #include | #include | | int | main () | { | if (sizeof ((int_fast32_t))) | return 0; | ; | return 0; | } configure:12837: result: yes configure:12846: checking for uint64_t configure:12846: gcc -c -g -O2 conftest.c >&5 configure:12846: $? = 0 configure:12846: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:37:23: error: expected expression before ')' token 37 | if (sizeof ((uint64_t))) | ^ configure:12846: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_GETIPINFO 1 | #define HAVE_SYNC_FUNCTIONS 1 | #define HAVE_ATOMIC_FUNCTIONS 1 | #define BACKTRACE_ELF_SIZE 64 | #define BACKTRACE_XCOFF_SIZE unused | /* end confdefs.h. */ | #include | #include | | int | main () | { | if (sizeof ((uint64_t))) | return 0; | ; | return 0; | } configure:12846: result: yes configure:12927: checking what to include in gstdint.h configure:12955: result: stdint.h (already complete) configure:13201: checking sys/mman.h usability configure:13201: gcc -c -g -O2 conftest.c >&5 configure:13201: $? = 0 configure:13201: result: yes configure:13201: checking sys/mman.h presence configure:13201: gcc -E conftest.c configure:13201: $? = 0 configure:13201: result: yes configure:13201: checking for sys/mman.h configure:13201: result: yes configure:13224: checking for mmap configure:13224: gcc -o conftest -g -O2 conftest.c >&5 configure:13224: $? = 0 configure:13224: result: yes configure:13247: gcc -E conftest.c configure:13247: $? = 0 configure:13266: checking link.h usability configure:13266: gcc -c -g -O2 conftest.c >&5 configure:13266: $? = 0 configure:13266: result: yes configure:13266: checking link.h presence configure:13266: gcc -E conftest.c configure:13266: $? = 0 configure:13266: result: yes configure:13266: checking for link.h configure:13266: result: yes configure:13295: checking for dl_iterate_phdr configure:13295: gcc -o conftest -g -O2 conftest.c >&5 configure:13295: $? = 0 configure:13295: result: yes configure:13313: checking mach-o/dyld.h usability configure:13313: gcc -c -g -O2 conftest.c >&5 conftest.c:67:10: fatal error: mach-o/dyld.h: No such file or directory 67 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:13313: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_GETIPINFO 1 | #define HAVE_SYNC_FUNCTIONS 1 | #define HAVE_ATOMIC_FUNCTIONS 1 | #define BACKTRACE_ELF_SIZE 64 | #define BACKTRACE_XCOFF_SIZE unused | #define HAVE_SYS_MMAN_H 1 | #define HAVE_LINK_H 1 | #define HAVE_DL_ITERATE_PHDR 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:13313: result: no configure:13313: checking mach-o/dyld.h presence configure:13313: gcc -E conftest.c conftest.c:34:10: fatal error: mach-o/dyld.h: No such file or directory 34 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:13313: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_GETIPINFO 1 | #define HAVE_SYNC_FUNCTIONS 1 | #define HAVE_ATOMIC_FUNCTIONS 1 | #define BACKTRACE_ELF_SIZE 64 | #define BACKTRACE_XCOFF_SIZE unused | #define HAVE_SYS_MMAN_H 1 | #define HAVE_LINK_H 1 | #define HAVE_DL_ITERATE_PHDR 1 | /* end confdefs.h. */ | #include configure:13313: result: no configure:13313: checking for mach-o/dyld.h configure:13313: result: no configure:13327: checking sys/ldr.h usability configure:13327: gcc -c -g -O2 conftest.c >&5 conftest.c:67:10: fatal error: sys/ldr.h: No such file or directory 67 | #include | ^~~~~~~~~~~ compilation terminated. configure:13327: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_GETIPINFO 1 | #define HAVE_SYNC_FUNCTIONS 1 | #define HAVE_ATOMIC_FUNCTIONS 1 | #define BACKTRACE_ELF_SIZE 64 | #define BACKTRACE_XCOFF_SIZE unused | #define HAVE_SYS_MMAN_H 1 | #define HAVE_LINK_H 1 | #define HAVE_DL_ITERATE_PHDR 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:13327: result: no configure:13327: checking sys/ldr.h presence configure:13327: gcc -E conftest.c conftest.c:34:10: fatal error: sys/ldr.h: No such file or directory 34 | #include | ^~~~~~~~~~~ compilation terminated. configure:13327: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_GETIPINFO 1 | #define HAVE_SYNC_FUNCTIONS 1 | #define HAVE_ATOMIC_FUNCTIONS 1 | #define BACKTRACE_ELF_SIZE 64 | #define BACKTRACE_XCOFF_SIZE unused | #define HAVE_SYS_MMAN_H 1 | #define HAVE_LINK_H 1 | #define HAVE_DL_ITERATE_PHDR 1 | /* end confdefs.h. */ | #include configure:13327: result: no configure:13327: checking for sys/ldr.h configure:13327: result: no configure:13378: checking for fcntl configure:13378: gcc -o conftest -g -O2 conftest.c >&5 configure:13378: $? = 0 configure:13378: result: yes configure:13392: checking whether strnlen is declared configure:13392: gcc -c -g -O2 conftest.c >&5 configure:13392: $? = 0 configure:13392: result: yes configure:13402: checking whether getpagesize is declared configure:13402: gcc -c -g -O2 conftest.c >&5 configure:13402: $? = 0 configure:13402: result: yes configure:13416: checking for lstat configure:13416: gcc -o conftest -g -O2 conftest.c >&5 configure:13416: $? = 0 configure:13416: result: yes configure:13416: checking for readlink configure:13416: gcc -o conftest -g -O2 conftest.c >&5 configure:13416: $? = 0 configure:13416: result: yes configure:13433: checking for getexecname configure:13433: gcc -o conftest -g -O2 conftest.c >&5 /usr/bin/ld: /tmp/ccmdWOUp.o: in function `main': /home/seti/riscv-gnu-toolchain/build-gdb-newlib/libbacktrace/conftest.c:73: undefined reference to `getexecname' collect2: error: ld returned 1 exit status configure:13433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_GETIPINFO 1 | #define HAVE_SYNC_FUNCTIONS 1 | #define HAVE_ATOMIC_FUNCTIONS 1 | #define BACKTRACE_ELF_SIZE 64 | #define BACKTRACE_XCOFF_SIZE unused | #define HAVE_SYS_MMAN_H 1 | #define HAVE_LINK_H 1 | #define HAVE_DL_ITERATE_PHDR 1 | #define HAVE_FCNTL 1 | #define HAVE_DECL_STRNLEN 1 | #define HAVE_DECL_GETPAGESIZE 1 | #define HAVE_LSTAT 1 | #define HAVE_READLINK 1 | /* end confdefs.h. */ | /* Define getexecname to an innocuous variant, in case declares getexecname. | For example, HP-UX 11i declares gettimeofday. */ | #define getexecname innocuous_getexecname | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char getexecname (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef getexecname | | /* 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 getexecname (); | /* 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_getexecname || defined __stub___getexecname | choke me | #endif | | int | main () | { | return getexecname (); | ; | return 0; | } configure:13433: result: no configure:13449: checking for KERN_PROC configure:13468: gcc -c -g -O2 conftest.c >&5 conftest.c:41:10: fatal error: sys/sysctl.h: No such file or directory 41 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:13468: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_GETIPINFO 1 | #define HAVE_SYNC_FUNCTIONS 1 | #define HAVE_ATOMIC_FUNCTIONS 1 | #define BACKTRACE_ELF_SIZE 64 | #define BACKTRACE_XCOFF_SIZE unused | #define HAVE_SYS_MMAN_H 1 | #define HAVE_LINK_H 1 | #define HAVE_DL_ITERATE_PHDR 1 | #define HAVE_FCNTL 1 | #define HAVE_DECL_STRNLEN 1 | #define HAVE_DECL_GETPAGESIZE 1 | #define HAVE_LSTAT 1 | #define HAVE_READLINK 1 | /* end confdefs.h. */ | | #include | #include | | int | main () | { | int mib0 = CTL_KERN; int mib1 = KERN_PROC; int mib2 = KERN_PROC_PATHNAME; | ; | return 0; | } configure:13475: result: no configure:13483: checking for KERN_PROG_ARGS configure:13502: gcc -c -g -O2 conftest.c >&5 conftest.c:41:10: fatal error: sys/sysctl.h: No such file or directory 41 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:13502: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_GETIPINFO 1 | #define HAVE_SYNC_FUNCTIONS 1 | #define HAVE_ATOMIC_FUNCTIONS 1 | #define BACKTRACE_ELF_SIZE 64 | #define BACKTRACE_XCOFF_SIZE unused | #define HAVE_SYS_MMAN_H 1 | #define HAVE_LINK_H 1 | #define HAVE_DL_ITERATE_PHDR 1 | #define HAVE_FCNTL 1 | #define HAVE_DECL_STRNLEN 1 | #define HAVE_DECL_GETPAGESIZE 1 | #define HAVE_LSTAT 1 | #define HAVE_READLINK 1 | /* end confdefs.h. */ | | #include | #include | | int | main () | { | int mib0 = CTL_KERN; int mib1 = KERN_PROC_ARGS; int mib2 = KERN_PROC_PATHNAME; | ; | return 0; | } configure:13509: result: no configure:13520: checking for clock_gettime configure:13520: gcc -o conftest -g -O2 conftest.c >&5 configure:13520: $? = 0 configure:13520: result: yes configure:13581: checking whether -pthread is supported configure:13592: gcc -c -g -O2 -pthread conftest.c >&5 configure:13592: $? = 0 configure:13600: result: yes configure:13617: checking whether -gdwarf-5 is supported configure:13635: gcc -o conftest -g -O2 -gdwarf-5 conftest.c >&5 configure:13635: $? = 0 configure:13644: result: yes configure:13655: checking for compress in -lz configure:13680: gcc -o conftest -g -O2 conftest.c -lz >&5 configure:13680: $? = 0 configure:13689: result: yes configure:13706: checking whether --compress-debug-sections is supported configure:13724: gcc -o conftest -g -O2 -Wl,--compress-debug-sections=zlib-gnu conftest.c >&5 configure:13724: $? = 0 configure:13733: result: yes configure:13747: checking for objcopy configure:13763: found /usr/bin/objcopy configure:13774: result: objcopy configure:13784: checking for readelf configure:13811: result: readelf configure:13819: checking whether objcopy supports debuglink configure:13834: result: yes configure:13848: checking for dsymutil configure:13875: result: @DSYMUTIL@ configure:13895: checking for nm configure:13922: result: nm configure:13933: checking for xz configure:13949: found /usr/bin/xz configure:13960: result: xz configure:13978: checking for comm configure:13994: found /usr/bin/comm configure:14005: result: comm configure:14031: checking for lzma_auto_decoder in -llzma configure:14056: gcc -o conftest -g -O2 conftest.c -llzma >&5 /usr/bin/ld: cannot find -llzma: No such file or directory collect2: error: ld returned 1 exit status configure:14056: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_GETIPINFO 1 | #define HAVE_SYNC_FUNCTIONS 1 | #define HAVE_ATOMIC_FUNCTIONS 1 | #define BACKTRACE_ELF_SIZE 64 | #define BACKTRACE_XCOFF_SIZE unused | #define HAVE_SYS_MMAN_H 1 | #define HAVE_LINK_H 1 | #define HAVE_DL_ITERATE_PHDR 1 | #define HAVE_FCNTL 1 | #define HAVE_DECL_STRNLEN 1 | #define HAVE_DECL_GETPAGESIZE 1 | #define HAVE_LSTAT 1 | #define HAVE_READLINK 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_ZLIB 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 lzma_auto_decoder (); | int | main () | { | return lzma_auto_decoder (); | ; | return 0; | } configure:14065: result: no configure:14082: checking whether tests can run configure:14101: gcc -o conftest -g -O2 conftest.c >&5 configure:14101: $? = 0 configure:14101: ./conftest configure:14101: $? = 0 configure:14111: result: yes configure:14194: updating cache ./config.cache configure:14238: checking that generated files are newer than configure configure:14244: result: done configure:14315: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by package-unused config.status version-unused, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on seti-VirtualBox config.status:1169: creating Makefile config.status:1169: creating backtrace-supported.h config.status:1169: creating install-debuginfo-for-buildid.sh config.status:1169: creating config.h config.status:1383: executing libtool commands config.status:1383: executing gstdint.h commands config.status:1383: executing default commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-g -O2 ' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_DSYMUTIL_set=set ac_cv_env_DSYMUTIL_value=@DSYMUTIL@ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=' ' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_NM_set=set ac_cv_env_NM_value=nm ac_cv_env_OBJCOPY_set=set ac_cv_env_OBJCOPY_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=riscv32-unknown-elf ac_cv_func__Unwind_Backtrace=yes ac_cv_func_clock_gettime=yes ac_cv_func_dl_iterate_phdr=yes ac_cv_func_fcntl=yes ac_cv_func_getexecname=no ac_cv_func_lstat=yes ac_cv_func_mmap=yes ac_cv_func_readlink=yes ac_cv_have_decl_getpagesize=yes ac_cv_have_decl_strnlen=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_link_h=yes ac_cv_header_mach_o_dyld_h=no ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_ldr_h=no ac_cv_header_sys_mman_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_header_unwind_h=yes ac_cv_host=x86_64-pc-linux-gnu ac_cv_lib_lzma_lzma_auto_decoder=no ac_cv_lib_z_compress=yes ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AR='ar --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so' ac_cv_prog_AWK=/usr/bin/gawk ac_cv_prog_CC=gcc ac_cv_prog_COMM=comm ac_cv_prog_CPP='gcc -E' ac_cv_prog_DSYMUTIL=@DSYMUTIL@ ac_cv_prog_NM=nm ac_cv_prog_OBJCOPY=objcopy ac_cv_prog_OBJDUMP=objdump ac_cv_prog_RANLIB='ranlib --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so' ac_cv_prog_READELF=readelf ac_cv_prog_XZ=xz ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_safe_to_define___extensions__=yes ac_cv_sys_file_offset_bits=no ac_cv_sys_largefile_CC=no ac_cv_target=riscv32-unknown-elf ac_cv_type_int_fast32_t=yes ac_cv_type_int_least32_t=yes ac_cv_type_u_int64_t=no ac_cv_type_uint64_t=yes ac_cv_type_uintmax_t=yes ac_cv_type_uintptr_t=yes acx_cv_header_stdint=stdint.h acx_cv_header_stdint_kind='(already complete)' acx_cv_prog_cc_warning__W=yes acx_cv_prog_cc_warning__Wall=yes acx_cv_prog_cc_warning__Wcast_qual=yes acx_cv_prog_cc_warning__Wmissing_format_attribute=yes acx_cv_prog_cc_warning__Wmissing_prototypes=yes acx_cv_prog_cc_warning__Wold_style_definition=yes acx_cv_prog_cc_warning__Wstrict_prototypes=yes acx_cv_prog_cc_warning__Wwrite_strings=yes am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes libbacktrace_cv_c_random_seed_string=yes libbacktrace_cv_c_unwind_tables=yes libbacktrace_cv_lib_dwarf5=yes libbacktrace_cv_objcopy_debuglink=yes libbacktrace_cv_proc=no libbacktrace_cv_procargs=no libbacktrace_cv_sys_atomic=yes libbacktrace_cv_sys_filetype=elf64 libbacktrace_cv_sys_native=yes libbacktrace_cv_sys_sync=yes libgo_cv_ld_compress=yes libgo_cv_lib_pthread=yes lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=ld lt_cv_path_NM=nm lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_shlibpath_overrides_runpath=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=1572864 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/seti/riscv-gnu-toolchain/gdb/missing aclocal-1.15' ALLOC_FILE='mmap.lo' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='ar --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so' AUTOCONF='${SHELL} /home/seti/riscv-gnu-toolchain/gdb/missing autoconf' AUTOHEADER='${SHELL} /home/seti/riscv-gnu-toolchain/gdb/missing autoheader' AUTOMAKE='${SHELL} /home/seti/riscv-gnu-toolchain/gdb/missing automake-1.15' AWK='/usr/bin/gawk' BACKTRACE_FILE='backtrace.lo simple.lo' BACKTRACE_SUPPORTED='1' BACKTRACE_SUPPORTS_DATA='1' BACKTRACE_SUPPORTS_THREADS='1' BACKTRACE_USES_MALLOC='0' CC='gcc' CET_HOST_FLAGS='' CFLAGS='-g -O2 ' CLOCK_GETTIME_LINK='' COMM='comm' CPP='gcc -E' CPPFLAGS='' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DSYMUTIL='@DSYMUTIL@' DUMPBIN='' DWZ='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' EXTRA_FLAGS='-funwind-tables -frandom-seed=$@' FGREP='/usr/bin/grep -F' FORMAT_FILE='elf.lo' GREP='/usr/bin/grep' HAVE_COMM_FALSE='#' HAVE_COMM_TRUE='' HAVE_COMPRESSED_DEBUG_FALSE='#' HAVE_COMPRESSED_DEBUG_TRUE='' HAVE_DWARF5_FALSE='#' HAVE_DWARF5_TRUE='' HAVE_DWZ_FALSE='' HAVE_DWZ_TRUE='#' HAVE_ELF_FALSE='#' HAVE_ELF_TRUE='' HAVE_LIBLZMA_FALSE='' HAVE_LIBLZMA_TRUE='#' HAVE_MINIDEBUG_FALSE='#' HAVE_MINIDEBUG_TRUE='' HAVE_OBJCOPY_DEBUGLINK_FALSE='#' HAVE_OBJCOPY_DEBUGLINK_TRUE='' HAVE_PTHREAD_FALSE='#' HAVE_PTHREAD_TRUE='' HAVE_XZ_FALSE='#' HAVE_XZ_TRUE='' HAVE_ZLIB_FALSE='#' HAVE_ZLIB_TRUE='' INSTALL_DATA='/usr/bin/install -c -m 644' INSTALL_PROGRAM='/usr/bin/install -c' INSTALL_SCRIPT='/usr/bin/install -c' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='ld -m elf_x86_64' LDFLAGS=' ' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='makeinfo --split-size=5000000' MKDIR_P='/usr/bin/mkdir -p' NATIVE_FALSE='#' NATIVE_TRUE='' NM='nm' NMEDIT='' OBJCOPY='objcopy' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='@OTOOL@' PACKAGE='libbacktrace' PACKAGE_BUGREPORT='' PACKAGE_NAME='package-unused' PACKAGE_STRING='package-unused version-unused' PACKAGE_TARNAME='libbacktrace' PACKAGE_URL='' PACKAGE_VERSION='version-unused' PATH_SEPARATOR=':' PIC_FLAG='' PTHREAD_CFLAGS='-pthread' RANLIB='ranlib --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so' READELF='readelf' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' USE_DSYMUTIL_FALSE='' USE_DSYMUTIL_TRUE='#' VERSION='version-unused' VIEW_FILE='mmapio.lo' WARN_FLAGS='-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual' XZ='xz' ac_ct_CC='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__isrc=' -I$(srcdir)' am__leading_dot='.' 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='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' 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' infodir='${datarootdir}/info' install_sh='${SHELL} /home/seti/riscv-gnu-toolchain/gdb/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libtool_VERSION='1:0:0' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' multi_basedir='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/opt/riscv' program_transform_name='s&^&riscv32-unknown-elf-&' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='riscv32-unknown-elf' target_alias='riscv32-unknown-elf' target_cpu='riscv32' target_os='elf' target_vendor='unknown' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "package-unused" #define PACKAGE_TARNAME "libbacktrace" #define PACKAGE_VERSION "version-unused" #define PACKAGE_STRING "package-unused version-unused" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define __EXTENSIONS__ 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_GETIPINFO 1 #define HAVE_SYNC_FUNCTIONS 1 #define HAVE_ATOMIC_FUNCTIONS 1 #define BACKTRACE_ELF_SIZE 64 #define BACKTRACE_XCOFF_SIZE unused #define HAVE_SYS_MMAN_H 1 #define HAVE_LINK_H 1 #define HAVE_DL_ITERATE_PHDR 1 #define HAVE_FCNTL 1 #define HAVE_DECL_STRNLEN 1 #define HAVE_DECL_GETPAGESIZE 1 #define HAVE_LSTAT 1 #define HAVE_READLINK 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_ZLIB 1 configure: exit 0