Projet_SETI_RISC-V/riscv-gnu-toolchain/build-gdb-newlib/gdb/config.log
2023-03-06 14:48:14 +01:00

14173 lines
419 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ /home/seti/riscv-gnu-toolchain/gdb/gdb/configure --srcdir=/home/seti/riscv-gnu-toolchain/gdb/gdb --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:2923: creating cache ./config.cache
configure:3007: checking whether to enable maintainer-specific portions of Makefiles
configure:3016: result: no
configure:3038: checking for x86_64-pc-linux-gnu-gcc
configure:3065: result: gcc
configure:3334: checking for C compiler version
configure:3343: 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:3354: $? = 0
configure:3343: 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:3354: $? = 0
configure:3343: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3354: $? = 1
configure:3343: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3354: $? = 1
configure:3374: checking whether the C compiler works
configure:3396: gcc -g -O2 conftest.c >&5
configure:3400: $? = 0
configure:3448: result: yes
configure:3451: checking for C compiler default output file name
configure:3453: result: a.out
configure:3459: checking for suffix of executables
configure:3466: gcc -o conftest -g -O2 conftest.c >&5
configure:3470: $? = 0
configure:3492: result:
configure:3514: checking whether we are cross compiling
configure:3522: gcc -o conftest -g -O2 conftest.c >&5
configure:3526: $? = 0
configure:3533: ./conftest
configure:3537: $? = 0
configure:3552: result: no
configure:3557: checking for suffix of object files
configure:3579: gcc -c -g -O2 conftest.c >&5
configure:3583: $? = 0
configure:3604: result: o
configure:3608: checking whether we are using the GNU C compiler
configure:3627: gcc -c -g -O2 conftest.c >&5
configure:3627: $? = 0
configure:3636: result: yes
configure:3645: checking whether gcc accepts -g
configure:3665: gcc -c -g conftest.c >&5
configure:3665: $? = 0
configure:3706: result: yes
configure:3723: checking for gcc option to accept ISO C89
configure:3786: gcc -c -g -O2 conftest.c >&5
configure:3786: $? = 0
configure:3799: result: none needed
configure:3931: checking for C++ compiler version
configure:3940: g++ --version >&5
g++ (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:3951: $? = 0
configure:3940: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
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:3951: $? = 0
configure:3940: g++ -V >&5
g++: error: unrecognized command-line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:3951: $? = 1
configure:3940: g++ -qversion >&5
g++: error: unrecognized command-line option '-qversion'; did you mean '--version'?
g++: fatal error: no input files
compilation terminated.
configure:3951: $? = 1
configure:3955: checking whether we are using the GNU C++ compiler
configure:3974: g++ -c -g -O2 conftest.cpp >&5
configure:3974: $? = 0
configure:3983: result: yes
configure:3992: checking whether g++ accepts -g
configure:4012: g++ -c -g conftest.cpp >&5
configure:4012: $? = 0
configure:4053: result: yes
configure:4083: checking how to run the C preprocessor
configure:4114: gcc -E conftest.c
configure:4114: $? = 0
configure:4128: gcc -E conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
9 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4128: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4153: result: gcc -E
configure:4173: gcc -E conftest.c
configure:4173: $? = 0
configure:4187: gcc -E conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
9 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4187: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4216: checking for grep that handles long lines and -e
configure:4274: result: /usr/bin/grep
configure:4279: checking for egrep
configure:4341: result: /usr/bin/grep -E
configure:4346: checking for ANSI C header files
configure:4366: gcc -c -g -O2 conftest.c >&5
configure:4366: $? = 0
configure:4439: gcc -o conftest -g -O2 conftest.c >&5
configure:4439: $? = 0
configure:4439: ./conftest
configure:4439: $? = 0
configure:4450: result: yes
configure:4463: checking for sys/types.h
configure:4463: gcc -c -g -O2 conftest.c >&5
configure:4463: $? = 0
configure:4463: result: yes
configure:4463: checking for sys/stat.h
configure:4463: gcc -c -g -O2 conftest.c >&5
configure:4463: $? = 0
configure:4463: result: yes
configure:4463: checking for stdlib.h
configure:4463: gcc -c -g -O2 conftest.c >&5
configure:4463: $? = 0
configure:4463: result: yes
configure:4463: checking for string.h
configure:4463: gcc -c -g -O2 conftest.c >&5
configure:4463: $? = 0
configure:4463: result: yes
configure:4463: checking for memory.h
configure:4463: gcc -c -g -O2 conftest.c >&5
configure:4463: $? = 0
configure:4463: result: yes
configure:4463: checking for strings.h
configure:4463: gcc -c -g -O2 conftest.c >&5
configure:4463: $? = 0
configure:4463: result: yes
configure:4463: checking for inttypes.h
configure:4463: gcc -c -g -O2 conftest.c >&5
configure:4463: $? = 0
configure:4463: result: yes
configure:4463: checking for stdint.h
configure:4463: gcc -c -g -O2 conftest.c >&5
configure:4463: $? = 0
configure:4463: result: yes
configure:4463: checking for unistd.h
configure:4463: gcc -c -g -O2 conftest.c >&5
configure:4463: $? = 0
configure:4463: result: yes
configure:4476: checking minix/config.h usability
configure:4476: gcc -c -g -O2 conftest.c >&5
conftest.c:52:10: fatal error: minix/config.h: No such file or directory
52 | #include <minix/config.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
configure:4476: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:4476: result: no
configure:4476: checking minix/config.h presence
configure:4476: gcc -E conftest.c
conftest.c:19:10: fatal error: minix/config.h: No such file or directory
19 | #include <minix/config.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
configure:4476: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 <minix/config.h>
configure:4476: result: no
configure:4476: checking for minix/config.h
configure:4476: result: no
configure:4497: checking whether it is safe to define __EXTENSIONS__
configure:4515: gcc -c -g -O2 conftest.c >&5
configure:4515: $? = 0
configure:4522: result: yes
configure:4569: checking build system type
configure:4583: result: x86_64-pc-linux-gnu
configure:4603: checking host system type
configure:4616: result: x86_64-pc-linux-gnu
configure:4636: checking target system type
configure:4649: result: riscv32-unknown-elf
configure:4688: checking for dlfcn.h
configure:4688: gcc -c -g -O2 conftest.c >&5
configure:4688: $? = 0
configure:4688: result: yes
configure:4701: checking for windows.h
configure:4701: gcc -c -g -O2 conftest.c >&5
conftest.c:59:10: fatal error: windows.h: No such file or directory
59 | #include <windows.h>
| ^~~~~~~~~~~
compilation terminated.
configure:4701: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <windows.h>
configure:4701: result: no
configure:4728: checking for library containing dlsym
configure:4759: gcc -o conftest -g -O2 conftest.c >&5
configure:4759: $? = 0
configure:4776: result: none required
configure:4848: checking for special C compiler options needed for large files
configure:4893: result: no
configure:4899: checking for _FILE_OFFSET_BITS value needed for large files
configure:4924: gcc -c -g -O2 conftest.c >&5
configure:4924: $? = 0
configure:4956: result: no
configure:5234: checking whether g++ supports C++11 features by default
configure:5528: g++ -c -g -O2 conftest.cpp >&5
configure:5528: $? = 0
configure:5535: result: yes
configure:6233: checking dependency style of gcc
configure:6264: trying gcc3
| depmode=gcc3 source=sub/conftest.c object=sub/conftest.o depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo /bin/bash ./depcomp gcc -c -o sub/conftest.o sub/conftest.c
configure:6303: success
configure:6318: result: gcc3
configure:6351: checking whether NLS is requested
configure:6357: result: yes
configure:6363: checking for catalogs to be installed
configure:6395: result:
configure:6433: checking whether makeinfo --split-size=5000000 supports @click
conftest.texinfo: warning: document without nodes
configure:6445: result: yes
configure:6585: checking for default auto-load directory
configure:6607: result: $debugdir:$datadir/auto-load
configure:6610: checking for default auto-load safe-path
configure:6634: result: $debugdir:$datadir/auto-load
configure:6674: checking size of void *
configure:6679: gcc -o conftest -g -O2 conftest.c >&5
configure:6679: $? = 0
configure:6679: ./conftest
configure:6679: $? = 0
configure:6693: result: 8
configure:6890: checking for x86_64-pc-linux-gnu-pkg-config
configure:6923: result: no
configure:6933: checking for pkg-config
configure:6966: result: no
configure:7009: checking whether to use debuginfod
configure:7011: result: auto
configure:7017: checking for libdebuginfod >= 0.179
configure:7105: result: no
configure:7110: WARNING: libdebuginfod is missing or unusable; some features may be unavailable.
configure:7154: checking libunwind-ia64.h usability
configure:7154: gcc -c -g -O2 conftest.c >&5
conftest.c:71:10: fatal error: libunwind-ia64.h: No such file or directory
71 | #include <libunwind-ia64.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:7154: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libunwind-ia64.h>
configure:7154: result: no
configure:7154: checking libunwind-ia64.h presence
configure:7154: gcc -E conftest.c
conftest.c:38:10: fatal error: libunwind-ia64.h: No such file or directory
38 | #include <libunwind-ia64.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:7154: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| /* end confdefs.h. */
| #include <libunwind-ia64.h>
configure:7154: result: no
configure:7154: checking for libunwind-ia64.h
configure:7154: result: no
configure:7222: checking for monstartup
configure:7222: gcc -o conftest -g -O2 conftest.c >&5
configure:7222: $? = 0
configure:7222: result: yes
configure:7222: checking for _mcleanup
configure:7222: gcc -o conftest -g -O2 conftest.c >&5
configure:7222: $? = 0
configure:7222: result: yes
configure:7231: checking for _etext
configure:7249: gcc -o conftest -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:45:1: warning: 'free' called on unallocated object '_etext' [-Wfree-nonheap-object]
45 | free (&_etext);
| ^~~~~~~~~~~~~~
conftest.c:41:22: note: declared here
41 | extern char _etext;
| ^~~~~~
configure:7249: $? = 0
configure:7259: result: yes
configure:7266: checking for etext
configure:7284: gcc -o conftest -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:46:1: warning: 'free' called on unallocated object 'etext' [-Wfree-nonheap-object]
46 | free (&etext);
| ^~~~~~~~~~~~~
conftest.c:42:22: note: declared here
42 | extern char etext;
| ^~~~~
configure:7284: $? = 0
configure:7294: result: yes
configure:7416: checking for gawk
configure:7443: result: /usr/bin/gawk
configure:7468: checking for a BSD-compatible install
configure:7536: result: /usr/bin/install -c
configure:7547: checking whether ln -s works
configure:7551: result: yes
configure:7561: checking for x86_64-pc-linux-gnu-ranlib
configure:7588: result: ranlib --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so
configure:7654: checking for bison
configure:7681: result: bison -y
configure:7697: checking for x86_64-pc-linux-gnu-ar
configure:7724: result: ar --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so
configure:7789: checking for x86_64-pc-linux-gnu-dlltool
configure:7816: result: dlltool
configure:7881: checking for x86_64-pc-linux-gnu-windres
configure:7908: result: windres
configure:8077: checking for main in -lm
configure:8096: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:8096: $? = 0
configure:8105: result: yes
configure:8118: checking for library containing gethostbyname
configure:8149: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:8149: $? = 0
configure:8166: result: none required
configure:8176: checking for library containing socketpair
configure:8207: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:8207: $? = 0
configure:8224: result: none required
configure:8292: checking for ld used by GCC
configure:8355: result: ld
configure:8362: checking if the linker (ld) is GNU ld
GNU ld (GNU Binutils for Ubuntu) 2.38
configure:8374: result: yes
configure:8380: checking for shared library run path origin
configure:8393: result: done
configure:8813: checking for iconv
configure:8837: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:8837: $? = 0
configure:8911: result: yes
configure:8954: checking for iconv declaration
configure:8983: gcc -c -g -O2 conftest.c >&5
configure:8983: $? = 0
configure:8994: result:
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
configure:9070: checking for library containing waddstr
configure:9101: gcc -o conftest -g -O2 conftest.c -lm >&5
/usr/bin/ld: /tmp/cc9eYBF7.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/conftest.c:58: undefined reference to `waddstr'
collect2: error: ld returned 1 exit status
configure:9101: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| /* 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 waddstr ();
| int
| main ()
| {
| return waddstr ();
| ;
| return 0;
| }
configure:9101: gcc -o conftest -g -O2 conftest.c -lncursesw -lm >&5
/usr/bin/ld: cannot find -lncursesw: No such file or directory
collect2: error: ld returned 1 exit status
configure:9101: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| /* 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 waddstr ();
| int
| main ()
| {
| return waddstr ();
| ;
| return 0;
| }
configure:9101: gcc -o conftest -g -O2 conftest.c -lncurses -lm >&5
/usr/bin/ld: cannot find -lncurses: No such file or directory
collect2: error: ld returned 1 exit status
configure:9101: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| /* 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 waddstr ();
| int
| main ()
| {
| return waddstr ();
| ;
| return 0;
| }
configure:9101: gcc -o conftest -g -O2 conftest.c -lcursesX -lm >&5
/usr/bin/ld: cannot find -lcursesX: No such file or directory
collect2: error: ld returned 1 exit status
configure:9101: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| /* 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 waddstr ();
| int
| main ()
| {
| return waddstr ();
| ;
| return 0;
| }
configure:9101: gcc -o conftest -g -O2 conftest.c -lcurses -lm >&5
/usr/bin/ld: cannot find -lcurses: No such file or directory
collect2: error: ld returned 1 exit status
configure:9101: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| /* 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 waddstr ();
| int
| main ()
| {
| return waddstr ();
| ;
| return 0;
| }
configure:9118: result: no
configure:9145: WARNING: no enhanced curses library found; disabling TUI
configure:9168: checking for library containing tgetent
configure:9199: gcc -o conftest -g -O2 conftest.c -lm >&5
/usr/bin/ld: /tmp/ccPt5vtj.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/conftest.c:58: undefined reference to `tgetent'
collect2: error: ld returned 1 exit status
configure:9199: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| /* 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 tgetent ();
| int
| main ()
| {
| return tgetent ();
| ;
| return 0;
| }
configure:9199: gcc -o conftest -g -O2 conftest.c -ltermcap -lm >&5
/usr/bin/ld: cannot find -ltermcap: No such file or directory
collect2: error: ld returned 1 exit status
configure:9199: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| /* 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 tgetent ();
| int
| main ()
| {
| return tgetent ();
| ;
| return 0;
| }
configure:9199: gcc -o conftest -g -O2 conftest.c -ltinfow -lm >&5
/usr/bin/ld: cannot find -ltinfow: No such file or directory
collect2: error: ld returned 1 exit status
configure:9199: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| /* 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 tgetent ();
| int
| main ()
| {
| return tgetent ();
| ;
| return 0;
| }
configure:9199: gcc -o conftest -g -O2 conftest.c -ltinfo -lm >&5
/usr/bin/ld: cannot find -ltinfo: No such file or directory
collect2: error: ld returned 1 exit status
configure:9199: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| /* 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 tgetent ();
| int
| main ()
| {
| return tgetent ();
| ;
| return 0;
| }
configure:9199: gcc -o conftest -g -O2 conftest.c -lcurses -lm >&5
/usr/bin/ld: cannot find -lcurses: No such file or directory
collect2: error: ld returned 1 exit status
configure:9199: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| /* 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 tgetent ();
| int
| main ()
| {
| return tgetent ();
| ;
| return 0;
| }
configure:9199: gcc -o conftest -g -O2 conftest.c -lncursesw -lm >&5
/usr/bin/ld: cannot find -lncursesw: No such file or directory
collect2: error: ld returned 1 exit status
configure:9199: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| /* 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 tgetent ();
| int
| main ()
| {
| return tgetent ();
| ;
| return 0;
| }
configure:9199: gcc -o conftest -g -O2 conftest.c -lncurses -lm >&5
/usr/bin/ld: cannot find -lncurses: No such file or directory
collect2: error: ld returned 1 exit status
configure:9199: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| /* 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 tgetent ();
| int
| main ()
| {
| return tgetent ();
| ;
| return 0;
| }
configure:9216: result: no
configure:9313: checking size of unsigned long long
configure:9318: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:9318: $? = 0
configure:9318: ./conftest
configure:9318: $? = 0
configure:9332: result: 8
configure:9346: checking size of unsigned long
configure:9351: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:9351: $? = 0
configure:9351: ./conftest
configure:9351: $? = 0
configure:9365: result: 8
configure:9379: checking size of unsigned __int128
configure:9384: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:9384: $? = 0
configure:9384: ./conftest
configure:9384: $? = 0
configure:9398: result: 16
configure:9423: checking for library containing dlopen
configure:9454: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:9454: $? = 0
configure:9471: result: none required
configure:9535: checking whether to use expat
configure:9537: result: yes
configure:9970: checking for libexpat
configure:9989: gcc -o conftest -g -O2 conftest.c -lm -lexpat >&5
configure:9989: $? = 0
configure:9999: result: yes
configure:10006: checking how to link with libexpat
configure:10008: result: -lexpat
configure:10034: checking for XML_StopParser
configure:10034: gcc -o conftest -g -O2 conftest.c -lm -lexpat >&5
configure:10034: $? = 0
configure:10034: result: yes
configure:10473: checking for libgmp
configure:10493: gcc -o conftest -g -O2 conftest.c -lm -lgmp >&5
configure:10493: $? = 0
configure:10503: result: yes
configure:10510: checking how to link with libgmp
configure:10512: result: -lgmp
configure:10538: checking whether to use MPFR
configure:10540: result: auto
configure:10973: checking for libmpfr
configure:10993: gcc -o conftest -g -O2 conftest.c -lm -lmpfr -lgmp >&5
configure:10993: $? = 0
configure:11003: result: yes
configure:11010: checking how to link with libmpfr
configure:11012: result: -lmpfr -lgmp
configure:11052: checking whether to use python
configure:11054: result: auto
configure:11103: checking for python
configure:11134: result: missing
configure:11289: checking for python
configure:11307: gcc -o conftest -g -O2 conftest.c -lpython2.7 -lm >&5
conftest.c:56:10: fatal error: Python.h: No such file or directory
56 | #include "Python.h"
| ^~~~~~~~~~
compilation terminated.
configure:11307: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| /* end confdefs.h. */
| #include "Python.h"
| int
| main ()
| {
| Py_Initialize ();
| ;
| return 0;
| }
configure:11317: result: no
configure:11326: checking for python
configure:11344: gcc -o conftest -g -O2 conftest.c -lpython2.6 -lm >&5
conftest.c:56:10: fatal error: Python.h: No such file or directory
56 | #include "Python.h"
| ^~~~~~~~~~
compilation terminated.
configure:11344: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| /* end confdefs.h. */
| #include "Python.h"
| int
| main ()
| {
| Py_Initialize ();
| ;
| return 0;
| }
configure:11354: result: no
configure:11366: WARNING: python is missing or unusable; some features may be unavailable.
configure:11561: checking whether to use guile
configure:11563: result: auto
configure:11568: checking for pkg-config
configure:11599: result: missing
configure:11617: WARNING: pkg-config not found, guile support disabled
configure:12117: checking for the source-highlight library
configure:12120: result: no - pkg-config not found
configure:12216: checking for ANSI C header files
configure:12320: result: yes
configure:12337: checking nlist.h usability
configure:12337: gcc -c -g -O2 conftest.c >&5
conftest.c:90:10: fatal error: nlist.h: No such file or directory
90 | #include <nlist.h>
| ^~~~~~~~~
compilation terminated.
configure:12337: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <nlist.h>
configure:12337: result: no
configure:12337: checking nlist.h presence
configure:12337: gcc -E conftest.c
conftest.c:57:10: fatal error: nlist.h: No such file or directory
57 | #include <nlist.h>
| ^~~~~~~~~
compilation terminated.
configure:12337: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <nlist.h>
configure:12337: result: no
configure:12337: checking for nlist.h
configure:12337: result: no
configure:12337: checking machine/reg.h usability
configure:12337: gcc -c -g -O2 conftest.c >&5
conftest.c:90:10: fatal error: machine/reg.h: No such file or directory
90 | #include <machine/reg.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
configure:12337: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <machine/reg.h>
configure:12337: result: no
configure:12337: checking machine/reg.h presence
configure:12337: gcc -E conftest.c
conftest.c:57:10: fatal error: machine/reg.h: No such file or directory
57 | #include <machine/reg.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
configure:12337: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <machine/reg.h>
configure:12337: result: no
configure:12337: checking for machine/reg.h
configure:12337: result: no
configure:12337: checking thread_db.h usability
configure:12337: gcc -c -g -O2 conftest.c >&5
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking thread_db.h presence
configure:12337: gcc -E conftest.c
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking for thread_db.h
configure:12337: result: yes
configure:12337: checking sys/file.h usability
configure:12337: gcc -c -g -O2 conftest.c >&5
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking sys/file.h presence
configure:12337: gcc -E conftest.c
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking for sys/file.h
configure:12337: result: yes
configure:12337: checking sys/filio.h usability
configure:12337: gcc -c -g -O2 conftest.c >&5
conftest.c:92:10: fatal error: sys/filio.h: No such file or directory
92 | #include <sys/filio.h>
| ^~~~~~~~~~~~~
compilation terminated.
configure:12337: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/filio.h>
configure:12337: result: no
configure:12337: checking sys/filio.h presence
configure:12337: gcc -E conftest.c
conftest.c:59:10: fatal error: sys/filio.h: No such file or directory
59 | #include <sys/filio.h>
| ^~~~~~~~~~~~~
compilation terminated.
configure:12337: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| /* end confdefs.h. */
| #include <sys/filio.h>
configure:12337: result: no
configure:12337: checking for sys/filio.h
configure:12337: result: no
configure:12337: checking sys/ioctl.h usability
configure:12337: gcc -c -g -O2 conftest.c >&5
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking sys/ioctl.h presence
configure:12337: gcc -E conftest.c
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking for sys/ioctl.h
configure:12337: result: yes
configure:12337: checking sys/param.h usability
configure:12337: gcc -c -g -O2 conftest.c >&5
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking sys/param.h presence
configure:12337: gcc -E conftest.c
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking for sys/param.h
configure:12337: result: yes
configure:12337: checking sys/procctl.h usability
configure:12337: gcc -c -g -O2 conftest.c >&5
conftest.c:94:10: fatal error: sys/procctl.h: No such file or directory
94 | #include <sys/procctl.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
configure:12337: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/procctl.h>
configure:12337: result: no
configure:12337: checking sys/procctl.h presence
configure:12337: gcc -E conftest.c
conftest.c:61:10: fatal error: sys/procctl.h: No such file or directory
61 | #include <sys/procctl.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
configure:12337: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| /* end confdefs.h. */
| #include <sys/procctl.h>
configure:12337: result: no
configure:12337: checking for sys/procctl.h
configure:12337: result: no
configure:12337: checking sys/resource.h usability
configure:12337: gcc -c -g -O2 conftest.c >&5
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking sys/resource.h presence
configure:12337: gcc -E conftest.c
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking for sys/resource.h
configure:12337: result: yes
configure:12337: checking sys/ptrace.h usability
configure:12337: gcc -c -g -O2 conftest.c >&5
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking sys/ptrace.h presence
configure:12337: gcc -E conftest.c
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking for sys/ptrace.h
configure:12337: result: yes
configure:12337: checking ptrace.h usability
configure:12337: gcc -c -g -O2 conftest.c >&5
conftest.c:96:10: fatal error: ptrace.h: No such file or directory
96 | #include <ptrace.h>
| ^~~~~~~~~~
compilation terminated.
configure:12337: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <ptrace.h>
configure:12337: result: no
configure:12337: checking ptrace.h presence
configure:12337: gcc -E conftest.c
conftest.c:63:10: fatal error: ptrace.h: No such file or directory
63 | #include <ptrace.h>
| ^~~~~~~~~~
compilation terminated.
configure:12337: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| /* end confdefs.h. */
| #include <ptrace.h>
configure:12337: result: no
configure:12337: checking for ptrace.h
configure:12337: result: no
configure:12337: checking sys/reg.h usability
configure:12337: gcc -c -g -O2 conftest.c >&5
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking sys/reg.h presence
configure:12337: gcc -E conftest.c
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking for sys/reg.h
configure:12337: result: yes
configure:12337: checking sys/debugreg.h usability
configure:12337: gcc -c -g -O2 conftest.c >&5
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking sys/debugreg.h presence
configure:12337: gcc -E conftest.c
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking for sys/debugreg.h
configure:12337: result: yes
configure:12337: checking termios.h usability
configure:12337: gcc -c -g -O2 conftest.c >&5
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking termios.h presence
configure:12337: gcc -E conftest.c
configure:12337: $? = 0
configure:12337: result: yes
configure:12337: checking for termios.h
configure:12337: result: yes
configure:12337: checking elf_hp.h usability
configure:12337: gcc -c -g -O2 conftest.c >&5
conftest.c:99:10: fatal error: elf_hp.h: No such file or directory
99 | #include <elf_hp.h>
| ^~~~~~~~~~
compilation terminated.
configure:12337: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <elf_hp.h>
configure:12337: result: no
configure:12337: checking elf_hp.h presence
configure:12337: gcc -E conftest.c
conftest.c:66:10: fatal error: elf_hp.h: No such file or directory
66 | #include <elf_hp.h>
| ^~~~~~~~~~
compilation terminated.
configure:12337: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| /* end confdefs.h. */
| #include <elf_hp.h>
configure:12337: result: no
configure:12337: checking for elf_hp.h
configure:12337: result: no
configure:12349: checking for sys/user.h
configure:12349: gcc -c -g -O2 conftest.c >&5
configure:12349: $? = 0
configure:12349: result: yes
configure:12367: checking curses.h usability
configure:12367: gcc -c -g -O2 conftest.c >&5
conftest.c:100:10: fatal error: curses.h: No such file or directory
100 | #include <curses.h>
| ^~~~~~~~~~
compilation terminated.
configure:12367: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <curses.h>
configure:12367: result: no
configure:12367: checking curses.h presence
configure:12367: gcc -E conftest.c
conftest.c:67:10: fatal error: curses.h: No such file or directory
67 | #include <curses.h>
| ^~~~~~~~~~
compilation terminated.
configure:12367: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| /* end confdefs.h. */
| #include <curses.h>
configure:12367: result: no
configure:12367: checking for curses.h
configure:12367: result: no
configure:12367: checking cursesX.h usability
configure:12367: gcc -c -g -O2 conftest.c >&5
conftest.c:100:10: fatal error: cursesX.h: No such file or directory
100 | #include <cursesX.h>
| ^~~~~~~~~~~
compilation terminated.
configure:12367: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <cursesX.h>
configure:12367: result: no
configure:12367: checking cursesX.h presence
configure:12367: gcc -E conftest.c
conftest.c:67:10: fatal error: cursesX.h: No such file or directory
67 | #include <cursesX.h>
| ^~~~~~~~~~~
compilation terminated.
configure:12367: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| /* end confdefs.h. */
| #include <cursesX.h>
configure:12367: result: no
configure:12367: checking for cursesX.h
configure:12367: result: no
configure:12367: checking ncurses.h usability
configure:12367: gcc -c -g -O2 conftest.c >&5
conftest.c:100:10: fatal error: ncurses.h: No such file or directory
100 | #include <ncurses.h>
| ^~~~~~~~~~~
compilation terminated.
configure:12367: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <ncurses.h>
configure:12367: result: no
configure:12367: checking ncurses.h presence
configure:12367: gcc -E conftest.c
conftest.c:67:10: fatal error: ncurses.h: No such file or directory
67 | #include <ncurses.h>
| ^~~~~~~~~~~
compilation terminated.
configure:12367: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| /* end confdefs.h. */
| #include <ncurses.h>
configure:12367: result: no
configure:12367: checking for ncurses.h
configure:12367: result: no
configure:12367: checking ncursesw/ncurses.h usability
configure:12367: gcc -c -g -O2 conftest.c >&5
conftest.c:100:10: fatal error: ncursesw/ncurses.h: No such file or directory
100 | #include <ncursesw/ncurses.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
configure:12367: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <ncursesw/ncurses.h>
configure:12367: result: no
configure:12367: checking ncursesw/ncurses.h presence
configure:12367: gcc -E conftest.c
conftest.c:67:10: fatal error: ncursesw/ncurses.h: No such file or directory
67 | #include <ncursesw/ncurses.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
configure:12367: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| /* end confdefs.h. */
| #include <ncursesw/ncurses.h>
configure:12367: result: no
configure:12367: checking for ncursesw/ncurses.h
configure:12367: result: no
configure:12367: checking ncurses/ncurses.h usability
configure:12367: gcc -c -g -O2 conftest.c >&5
conftest.c:100:10: fatal error: ncurses/ncurses.h: No such file or directory
100 | #include <ncurses/ncurses.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
configure:12367: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <ncurses/ncurses.h>
configure:12367: result: no
configure:12367: checking ncurses/ncurses.h presence
configure:12367: gcc -E conftest.c
conftest.c:67:10: fatal error: ncurses/ncurses.h: No such file or directory
67 | #include <ncurses/ncurses.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
configure:12367: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| /* end confdefs.h. */
| #include <ncurses/ncurses.h>
configure:12367: result: no
configure:12367: checking for ncurses/ncurses.h
configure:12367: result: no
configure:12367: checking ncurses/term.h usability
configure:12367: gcc -c -g -O2 conftest.c >&5
conftest.c:100:10: fatal error: ncurses/term.h: No such file or directory
100 | #include <ncurses/term.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
configure:12367: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <ncurses/term.h>
configure:12367: result: no
configure:12367: checking ncurses/term.h presence
configure:12367: gcc -E conftest.c
conftest.c:67:10: fatal error: ncurses/term.h: No such file or directory
67 | #include <ncurses/term.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
configure:12367: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| /* end confdefs.h. */
| #include <ncurses/term.h>
configure:12367: result: no
configure:12367: checking for ncurses/term.h
configure:12367: result: no
configure:12379: checking for term.h
configure:12379: gcc -c -g -O2 conftest.c >&5
conftest.c:72:10: fatal error: term.h: No such file or directory
72 | #include <term.h>
| ^~~~~~~~
compilation terminated.
configure:12379: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| /* end confdefs.h. */
| #if HAVE_CURSES_H
| # include <curses.h>
| #endif
|
|
| #include <term.h>
configure:12379: result: no
configure:12396: checking sys/socket.h usability
configure:12396: gcc -c -g -O2 conftest.c >&5
configure:12396: $? = 0
configure:12396: result: yes
configure:12396: checking sys/socket.h presence
configure:12396: gcc -E conftest.c
configure:12396: $? = 0
configure:12396: result: yes
configure:12396: checking for sys/socket.h
configure:12396: result: yes
configure:12408: checking ws2tcpip.h usability
configure:12408: gcc -c -g -O2 conftest.c >&5
conftest.c:101:10: fatal error: ws2tcpip.h: No such file or directory
101 | #include <ws2tcpip.h>
| ^~~~~~~~~~~~
compilation terminated.
configure:12408: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <ws2tcpip.h>
configure:12408: result: no
configure:12408: checking ws2tcpip.h presence
configure:12408: gcc -E conftest.c
conftest.c:68:10: fatal error: ws2tcpip.h: No such file or directory
68 | #include <ws2tcpip.h>
| ^~~~~~~~~~~~
compilation terminated.
configure:12408: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| /* end confdefs.h. */
| #include <ws2tcpip.h>
configure:12408: result: no
configure:12408: checking for ws2tcpip.h
configure:12408: result: no
configure:12420: checking execinfo.h usability
configure:12420: gcc -c -g -O2 conftest.c >&5
configure:12420: $? = 0
configure:12420: result: yes
configure:12420: checking execinfo.h presence
configure:12420: gcc -E conftest.c
configure:12420: $? = 0
configure:12420: result: yes
configure:12420: checking for execinfo.h
configure:12420: result: yes
configure:12437: checking for long long
configure:12437: gcc -c -g -O2 conftest.c >&5
configure:12437: $? = 0
configure:12437: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:105:24: error: expected expression before ')' token
105 | if (sizeof ((long long)))
| ^
configure:12437: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((long long)))
| return 0;
| ;
| return 0;
| }
configure:12437: result: yes
configure:12448: checking size of long long
configure:12453: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:12453: $? = 0
configure:12453: ./conftest
configure:12453: $? = 0
configure:12467: result: 8
configure:12481: checking whether basename is declared
configure:12481: gcc -c -g -O2 conftest.c >&5
configure:12481: $? = 0
configure:12481: result: yes
configure:12491: checking whether ffs is declared
configure:12491: gcc -c -g -O2 conftest.c >&5
configure:12491: $? = 0
configure:12491: result: yes
configure:12501: checking whether asprintf is declared
configure:12501: gcc -c -g -O2 conftest.c >&5
configure:12501: $? = 0
configure:12501: result: yes
configure:12511: checking whether vasprintf is declared
configure:12511: gcc -c -g -O2 conftest.c >&5
configure:12511: $? = 0
configure:12511: result: yes
configure:12521: checking whether snprintf is declared
configure:12521: gcc -c -g -O2 conftest.c >&5
configure:12521: $? = 0
configure:12521: result: yes
configure:12531: checking whether vsnprintf is declared
configure:12531: gcc -c -g -O2 conftest.c >&5
configure:12531: $? = 0
configure:12531: result: yes
configure:12542: checking whether strtol is declared
configure:12542: gcc -c -g -O2 conftest.c >&5
configure:12542: $? = 0
configure:12542: result: yes
configure:12552: checking whether strtoul is declared
configure:12552: gcc -c -g -O2 conftest.c >&5
configure:12552: $? = 0
configure:12552: result: yes
configure:12562: checking whether strtoll is declared
configure:12562: gcc -c -g -O2 conftest.c >&5
configure:12562: $? = 0
configure:12562: result: yes
configure:12572: checking whether strtoull is declared
configure:12572: gcc -c -g -O2 conftest.c >&5
configure:12572: $? = 0
configure:12572: result: yes
configure:12583: checking whether strverscmp is declared
configure:12583: gcc -c -g -O2 conftest.c >&5
configure:12583: $? = 0
configure:12583: result: yes
configure:12596: checking whether snprintf is declared
configure:12596: result: yes
configure:12608: checking for LC_MESSAGES
configure:12624: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:12624: $? = 0
configure:12632: result: yes
configure:12645: checking for socklen_t
configure:12645: gcc -c -g -O2 conftest.c >&5
configure:12645: $? = 0
configure:12645: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:95:24: error: expected expression before ')' token
95 | if (sizeof ((socklen_t)))
| ^
configure:12645: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #if HAVE_SYS_SOCKET_H
| # include <sys/socket.h>
| #elif HAVE_WS2TCPIP_H
| # include <ws2tcpip.h>
| #endif
|
|
| int
| main ()
| {
| if (sizeof ((socklen_t)))
| return 0;
| ;
| return 0;
| }
configure:12645: result: yes
configure:12667: checking for an ANSI C-conforming const
configure:12733: gcc -c -g -O2 conftest.c >&5
configure:12733: $? = 0
configure:12740: result: yes
configure:12748: checking for inline
configure:12764: gcc -c -g -O2 conftest.c >&5
configure:12764: $? = 0
configure:12772: result: inline
configure:12790: checking whether byte ordering is bigendian
configure:12805: gcc -c -g -O2 conftest.c >&5
conftest.c:86:16: error: unknown type name 'not'
86 | not a universal capable compiler
| ^~~
conftest.c:86:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
86 | not a universal capable compiler
| ^~~~~~~~~
conftest.c:86:22: error: unknown type name 'universal'
configure:12805: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| /* end confdefs.h. */
| #ifndef __APPLE_CC__
| not a universal capable compiler
| #endif
| typedef int dummy;
|
configure:12850: gcc -c -g -O2 conftest.c >&5
configure:12850: $? = 0
configure:12868: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:92:18: error: unknown type name 'not'; did you mean 'ino_t'?
92 | not big endian
| ^~~
| ino_t
conftest.c:92:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
92 | not big endian
| ^~~~~~
configure:12868: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:12996: result: no
configure:13028: checking for getuid
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for getgid
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for pipe
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for pread
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for pread64
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for pwrite
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for resize_term
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
/usr/bin/ld: /tmp/ccmsYKg1.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/conftest.c:125: undefined reference to `resize_term'
collect2: error: ld returned 1 exit status
configure:13028: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| /* end confdefs.h. */
| /* Define resize_term to an innocuous variant, in case <limits.h> declares resize_term.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define resize_term innocuous_resize_term
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char resize_term (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef resize_term
|
| /* 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 resize_term ();
| /* 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_resize_term || defined __stub___resize_term
| choke me
| #endif
|
| int
| main ()
| {
| return resize_term ();
| ;
| return 0;
| }
configure:13028: result: no
configure:13028: checking for getpgid
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for setsid
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for sigaction
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for sigsetmask
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for socketpair
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for ttrace
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
/usr/bin/ld: /tmp/ccrdMpyc.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/conftest.c:130: undefined reference to `ttrace'
collect2: error: ld returned 1 exit status
configure:13028: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| /* end confdefs.h. */
| /* Define ttrace to an innocuous variant, in case <limits.h> declares ttrace.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define ttrace innocuous_ttrace
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char ttrace (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef ttrace
|
| /* 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 ttrace ();
| /* 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_ttrace || defined __stub___ttrace
| choke me
| #endif
|
| int
| main ()
| {
| return ttrace ();
| ;
| return 0;
| }
configure:13028: result: no
configure:13028: checking for wborder
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
/usr/bin/ld: /tmp/ccqlS74o.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/conftest.c:130: undefined reference to `wborder'
collect2: error: ld returned 1 exit status
configure:13028: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| /* end confdefs.h. */
| /* Define wborder to an innocuous variant, in case <limits.h> declares wborder.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define wborder innocuous_wborder
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char wborder (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef wborder
|
| /* 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 wborder ();
| /* 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_wborder || defined __stub___wborder
| choke me
| #endif
|
| int
| main ()
| {
| return wborder ();
| ;
| return 0;
| }
configure:13028: result: no
configure:13028: checking for wresize
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
/usr/bin/ld: /tmp/cc0ddZdg.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/conftest.c:130: undefined reference to `wresize'
collect2: error: ld returned 1 exit status
configure:13028: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| /* end confdefs.h. */
| /* Define wresize to an innocuous variant, in case <limits.h> declares wresize.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define wresize innocuous_wresize
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char wresize (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef wresize
|
| /* 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 wresize ();
| /* 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_wresize || defined __stub___wresize
| choke me
| #endif
|
| int
| main ()
| {
| return wresize ();
| ;
| return 0;
| }
configure:13028: result: no
configure:13028: checking for setlocale
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for iconvlist
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
/usr/bin/ld: /tmp/ccETjzwR.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/conftest.c:131: undefined reference to `iconvlist'
collect2: error: ld returned 1 exit status
configure:13028: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| /* end confdefs.h. */
| /* Define iconvlist to an innocuous variant, in case <limits.h> declares iconvlist.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define iconvlist innocuous_iconvlist
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char iconvlist (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef iconvlist
|
| /* 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 iconvlist ();
| /* 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_iconvlist || defined __stub___iconvlist
| choke me
| #endif
|
| int
| main ()
| {
| return iconvlist ();
| ;
| return 0;
| }
configure:13028: result: no
configure:13028: checking for libiconvlist
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
/usr/bin/ld: /tmp/ccbJ5ubU.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/conftest.c:131: undefined reference to `libiconvlist'
collect2: error: ld returned 1 exit status
configure:13028: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| /* end confdefs.h. */
| /* Define libiconvlist to an innocuous variant, in case <limits.h> declares libiconvlist.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define libiconvlist innocuous_libiconvlist
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char libiconvlist (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef libiconvlist
|
| /* 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 libiconvlist ();
| /* 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_libiconvlist || defined __stub___libiconvlist
| choke me
| #endif
|
| int
| main ()
| {
| return libiconvlist ();
| ;
| return 0;
| }
configure:13028: result: no
configure:13028: checking for btowc
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for setrlimit
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for getrlimit
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for posix_madvise
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for waitpid
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13028: $? = 0
configure:13028: result: yes
configure:13028: checking for use_default_colors
configure:13028: gcc -o conftest -g -O2 conftest.c -lm >&5
/usr/bin/ld: /tmp/ccPdTYJN.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/conftest.c:136: undefined reference to `use_default_colors'
collect2: error: ld returned 1 exit status
configure:13028: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| /* end confdefs.h. */
| /* Define use_default_colors to an innocuous variant, in case <limits.h> declares use_default_colors.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define use_default_colors innocuous_use_default_colors
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char use_default_colors (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef use_default_colors
|
| /* 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 use_default_colors ();
| /* 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_use_default_colors || defined __stub___use_default_colors
| choke me
| #endif
|
| int
| main ()
| {
| return use_default_colors ();
| ;
| return 0;
| }
configure:13028: result: no
configure:13038: checking for nl_langinfo and CODESET
configure:13054: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13054: $? = 0
configure:13063: result: yes
configure:13071: checking for size_t
configure:13071: gcc -c -g -O2 conftest.c >&5
configure:13071: $? = 0
configure:13071: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:139:21: error: expected expression before ')' token
139 | if (sizeof ((size_t)))
| ^
configure:13071: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:13071: result: yes
configure:13088: checking for stdlib.h
configure:13088: result: yes
configure:13088: checking for unistd.h
configure:13088: result: yes
configure:13088: checking for sys/param.h
configure:13088: result: yes
configure:13105: checking for pid_t
configure:13105: gcc -c -g -O2 conftest.c >&5
configure:13105: $? = 0
configure:13105: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:142:20: error: expected expression before ')' token
142 | if (sizeof ((pid_t)))
| ^
configure:13105: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((pid_t)))
| return 0;
| ;
| return 0;
| }
configure:13105: result: yes
configure:13116: checking for a sed that does not truncate output
configure:13180: result: /usr/bin/sed
configure:13189: checking for ANSI C header files
configure:13293: result: yes
configure:13303: checking for working alloca.h
configure:13320: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13320: $? = 0
configure:13328: result: yes
configure:13336: checking for alloca
configure:13373: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13373: $? = 0
configure:13381: result: yes
configure:13499: checking for nl_langinfo and CODESET
configure:13524: result: yes
configure:13536: checking linux/perf_event.h usability
configure:13536: gcc -c -g -O2 conftest.c >&5
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking linux/perf_event.h presence
configure:13536: gcc -E conftest.c
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking for linux/perf_event.h
configure:13536: result: yes
configure:13536: checking locale.h usability
configure:13536: gcc -c -g -O2 conftest.c >&5
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking locale.h presence
configure:13536: gcc -E conftest.c
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking for locale.h
configure:13536: result: yes
configure:13536: checking for memory.h
configure:13536: result: yes
configure:13536: checking signal.h usability
configure:13536: gcc -c -g -O2 conftest.c >&5
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking signal.h presence
configure:13536: gcc -E conftest.c
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking for signal.h
configure:13536: result: yes
configure:13536: checking for sys/resource.h
configure:13536: result: yes
configure:13536: checking for sys/socket.h
configure:13536: result: yes
configure:13536: checking sys/un.h usability
configure:13536: gcc -c -g -O2 conftest.c >&5
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking sys/un.h presence
configure:13536: gcc -E conftest.c
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking for sys/un.h
configure:13536: result: yes
configure:13536: checking sys/wait.h usability
configure:13536: gcc -c -g -O2 conftest.c >&5
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking sys/wait.h presence
configure:13536: gcc -E conftest.c
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking for sys/wait.h
configure:13536: result: yes
configure:13536: checking for thread_db.h
configure:13536: result: yes
configure:13536: checking wait.h usability
configure:13536: gcc -c -g -O2 conftest.c >&5
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking wait.h presence
configure:13536: gcc -E conftest.c
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking for wait.h
configure:13536: result: yes
configure:13536: checking for termios.h
configure:13536: result: yes
configure:13536: checking for dlfcn.h
configure:13536: result: yes
configure:13536: checking linux/elf.h usability
configure:13536: gcc -c -g -O2 conftest.c >&5
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking linux/elf.h presence
configure:13536: gcc -E conftest.c
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking for linux/elf.h
configure:13536: result: yes
configure:13536: checking proc_service.h usability
configure:13536: gcc -c -g -O2 conftest.c >&5
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking proc_service.h presence
configure:13536: gcc -E conftest.c
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking for proc_service.h
configure:13536: result: yes
configure:13536: checking poll.h usability
configure:13536: gcc -c -g -O2 conftest.c >&5
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking poll.h presence
configure:13536: gcc -E conftest.c
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking for poll.h
configure:13536: result: yes
configure:13536: checking sys/poll.h usability
configure:13536: gcc -c -g -O2 conftest.c >&5
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking sys/poll.h presence
configure:13536: gcc -E conftest.c
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking for sys/poll.h
configure:13536: result: yes
configure:13536: checking sys/select.h usability
configure:13536: gcc -c -g -O2 conftest.c >&5
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking sys/select.h presence
configure:13536: gcc -E conftest.c
configure:13536: $? = 0
configure:13536: result: yes
configure:13536: checking for sys/select.h
configure:13536: result: yes
configure:13550: checking for getpagesize
configure:13550: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13550: $? = 0
configure:13550: result: yes
configure:13559: checking for working mmap
configure:13706: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13706: $? = 0
configure:13706: ./conftest
configure:13706: $? = 0
configure:13716: result: yes
configure:13727: checking vfork.h usability
configure:13727: gcc -c -g -O2 conftest.c >&5
conftest.c:162:10: fatal error: vfork.h: No such file or directory
162 | #include <vfork.h>
| ^~~~~~~~~
compilation terminated.
configure:13727: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <vfork.h>
configure:13727: result: no
configure:13727: checking vfork.h presence
configure:13727: gcc -E conftest.c
conftest.c:129:10: fatal error: vfork.h: No such file or directory
129 | #include <vfork.h>
| ^~~~~~~~~
compilation terminated.
configure:13727: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| /* end confdefs.h. */
| #include <vfork.h>
configure:13727: result: no
configure:13727: checking for vfork.h
configure:13727: result: no
configure:13740: checking for fork
configure:13740: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c:152:6: warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch]
152 | char fork ();
| ^~~~
configure:13740: $? = 0
configure:13740: result: yes
configure:13740: checking for vfork
configure:13740: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13740: $? = 0
configure:13740: result: yes
configure:13750: checking for working fork
configure:13772: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13772: $? = 0
configure:13772: ./conftest
configure:13772: $? = 0
configure:13782: result: yes
configure:13803: checking for working vfork
configure:13913: result: yes
configure:13943: checking for fdwalk
configure:13943: gcc -o conftest -g -O2 conftest.c -lm >&5
/usr/bin/ld: /tmp/ccWuEBlP.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/conftest.c:167: undefined reference to `fdwalk'
collect2: error: ld returned 1 exit status
configure:13943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| /* end confdefs.h. */
| /* Define fdwalk to an innocuous variant, in case <limits.h> declares fdwalk.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define fdwalk innocuous_fdwalk
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char fdwalk (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef fdwalk
|
| /* 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 fdwalk ();
| /* 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_fdwalk || defined __stub___fdwalk
| choke me
| #endif
|
| int
| main ()
| {
| return fdwalk ();
| ;
| return 0;
| }
configure:13943: result: no
configure:13943: checking for getrlimit
configure:13943: result: yes
configure:13943: checking for pipe
configure:13943: result: yes
configure:13943: checking for pipe2
configure:13943: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13943: $? = 0
configure:13943: result: yes
configure:13943: checking for poll
configure:13943: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13943: $? = 0
configure:13943: result: yes
configure:13943: checking for socketpair
configure:13943: result: yes
configure:13943: checking for sigaction
configure:13943: result: yes
configure:13943: checking for ptrace64
configure:13943: gcc -o conftest -g -O2 conftest.c -lm >&5
/usr/bin/ld: /tmp/ccN9K1aS.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/conftest.c:173: undefined reference to `ptrace64'
collect2: error: ld returned 1 exit status
configure:13943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| /* end confdefs.h. */
| /* Define ptrace64 to an innocuous variant, in case <limits.h> declares ptrace64.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define ptrace64 innocuous_ptrace64
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char ptrace64 (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef ptrace64
|
| /* 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 ptrace64 ();
| /* 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_ptrace64 || defined __stub___ptrace64
| choke me
| #endif
|
| int
| main ()
| {
| return ptrace64 ();
| ;
| return 0;
| }
configure:13943: result: no
configure:13943: checking for sbrk
configure:13943: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13943: $? = 0
configure:13943: result: yes
configure:13943: checking for setns
configure:13943: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13943: $? = 0
configure:13943: result: yes
configure:13943: checking for sigaltstack
configure:13943: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13943: $? = 0
configure:13943: result: yes
configure:13943: checking for sigprocmask
configure:13943: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13943: $? = 0
configure:13943: result: yes
configure:13943: checking for setpgid
configure:13943: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13943: $? = 0
configure:13943: result: yes
configure:13943: checking for setpgrp
configure:13943: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13943: $? = 0
configure:13943: result: yes
configure:13943: checking for getrusage
configure:13943: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13943: $? = 0
configure:13943: result: yes
configure:13943: checking for getauxval
configure:13943: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13943: $? = 0
configure:13943: result: yes
configure:13943: checking for sigtimedwait
configure:13943: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:13943: $? = 0
configure:13943: result: yes
configure:13956: checking whether ADDR_NO_RANDOMIZE is declared
configure:13956: gcc -c -g -O2 conftest.c >&5
configure:13956: $? = 0
configure:13956: result: yes
configure:13969: checking whether strstr is declared
configure:13969: gcc -c -g -O2 conftest.c >&5
configure:13969: $? = 0
configure:13969: result: yes
configure:13985: checking for struct stat.st_blocks
configure:13985: gcc -c -g -O2 conftest.c >&5
configure:13985: $? = 0
configure:13985: result: yes
configure:13994: checking for struct stat.st_blksize
configure:13994: gcc -c -g -O2 conftest.c >&5
configure:13994: $? = 0
configure:13994: result: yes
configure:14008: checking for library containing kinfo_getfile
configure:14039: gcc -o conftest -g -O2 conftest.c -lm >&5
/usr/bin/ld: /tmp/ccMhujoD.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/conftest.c:163: undefined reference to `kinfo_getfile'
collect2: error: ld returned 1 exit status
configure:14039: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 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 kinfo_getfile ();
| int
| main ()
| {
| return kinfo_getfile ();
| ;
| return 0;
| }
configure:14039: gcc -o conftest -g -O2 conftest.c -lutil -lm >&5
/usr/bin/ld: /tmp/ccQpDj5M.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/conftest.c:163: undefined reference to `kinfo_getfile'
collect2: error: ld returned 1 exit status
configure:14039: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 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 kinfo_getfile ();
| int
| main ()
| {
| return kinfo_getfile ();
| ;
| return 0;
| }
configure:14039: gcc -o conftest -g -O2 conftest.c -lutil-freebsd -lm >&5
/usr/bin/ld: cannot find -lutil-freebsd: No such file or directory
collect2: error: ld returned 1 exit status
configure:14039: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 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 kinfo_getfile ();
| int
| main ()
| {
| return kinfo_getfile ();
| ;
| return 0;
| }
configure:14056: result: no
configure:14068: checking for kinfo_getfile
configure:14068: gcc -o conftest -g -O2 conftest.c -lm >&5
/usr/bin/ld: /tmp/cca1k9kV.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/conftest.c:186: undefined reference to `kinfo_getfile'
collect2: error: ld returned 1 exit status
configure:14068: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| /* end confdefs.h. */
| /* Define kinfo_getfile to an innocuous variant, in case <limits.h> declares kinfo_getfile.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define kinfo_getfile innocuous_kinfo_getfile
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char kinfo_getfile (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef kinfo_getfile
|
| /* 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 kinfo_getfile ();
| /* 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_kinfo_getfile || defined __stub___kinfo_getfile
| choke me
| #endif
|
| int
| main ()
| {
| return kinfo_getfile ();
| ;
| return 0;
| }
configure:14068: result: no
configure:14285: checking whether gcc is Clang
configure:14310: result: no
configure:14433: checking whether pthreads work with -pthread
configure:14527: gcc -o conftest -g -O2 -pthread conftest.c -lm >&5
configure:14527: $? = 0
configure:14536: result: yes
configure:14555: checking for joinable pthread attribute
configure:14573: gcc -o conftest -g -O2 -pthread conftest.c -lm >&5
configure:14573: $? = 0
configure:14581: result: PTHREAD_CREATE_JOINABLE
configure:14595: checking whether more special flags are required for pthreads
configure:14608: result: no
configure:14616: checking for PTHREAD_PRIO_INHERIT
configure:14632: gcc -o conftest -g -O2 -pthread conftest.c -lm >&5
configure:14632: $? = 0
configure:14641: result: yes
configure:14746: checking for std::thread
configure:14763: g++ -c -pthread -g -O2 conftest.cpp >&5
configure:14763: $? = 0
configure:14770: result: yes
configure:14778: checking for pthread_sigmask
configure:14778: g++ -o conftest -pthread -g -O2 conftest.cpp -lm >&5
configure:14778: $? = 0
configure:14778: result: yes
configure:14778: checking for pthread_setname_np
configure:14778: g++ -o conftest -pthread -g -O2 conftest.cpp -lm >&5
configure:14778: $? = 0
configure:14778: result: yes
configure:14806: checking for sigsetjmp
configure:14825: gcc -c -g -O2 conftest.c >&5
configure:14825: $? = 0
configure:14834: result: yes
configure:14850: checking whether to use intel pt
configure:14852: result: auto
configure:14869: gcc -E conftest.c
configure:14869: $? = 0
configure:15309: checking for libipt
configure:15328: gcc -o conftest -g -O2 conftest.c -lm -lipt >&5
conftest.c:157:10: fatal error: intel-pt.h: No such file or directory
157 | #include "intel-pt.h"
| ^~~~~~~~~~~~
compilation terminated.
configure:15328: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| /* end confdefs.h. */
| #include "intel-pt.h"
| int
| main ()
| {
| pt_insn_alloc_decoder (0);
| ;
| return 0;
| }
configure:15338: result: no
configure:15365: WARNING: libipt is missing or unusable; some features may be unavailable.
configure:15409: checking for long long support in printf
configure:15435: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:15435: $? = 0
configure:15435: ./conftest
configure:15435: $? = 0
configure:15445: result: yes
configure:15458: checking sys/procfs.h usability
configure:15458: gcc -c -g -O2 conftest.c >&5
configure:15458: $? = 0
configure:15458: result: yes
configure:15458: checking sys/procfs.h presence
configure:15458: gcc -E conftest.c
configure:15458: $? = 0
configure:15458: result: yes
configure:15458: checking for sys/procfs.h
configure:15458: result: yes
configure:15470: checking for gregset_t in sys/procfs.h
configure:15488: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:166:1: error: unknown type name 'gregset_t'; did you mean 'prgregset_t'?
166 | gregset_t avar
| ^~~~~~~~~
| prgregset_t
configure:15488: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| /* end confdefs.h. */
|
| #define _SYSCALL32
| #include <sys/procfs.h>
| int
| main ()
| {
| gregset_t avar
| ;
| return 0;
| }
configure:15502: result: no
configure:15506: checking for fpregset_t in sys/procfs.h
configure:15524: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:166:1: error: unknown type name 'fpregset_t'; did you mean 'prfpregset_t'?
166 | fpregset_t avar
| ^~~~~~~~~~
| prfpregset_t
configure:15524: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| /* end confdefs.h. */
|
| #define _SYSCALL32
| #include <sys/procfs.h>
| int
| main ()
| {
| fpregset_t avar
| ;
| return 0;
| }
configure:15538: result: no
configure:15542: checking for prgregset_t in sys/procfs.h
configure:15560: gcc -c -g -O2 conftest.c >&5
configure:15560: $? = 0
configure:15574: result: yes
configure:15578: checking for prfpregset_t in sys/procfs.h
configure:15596: gcc -c -g -O2 conftest.c >&5
configure:15596: $? = 0
configure:15610: result: yes
configure:15614: checking for prgregset32_t in sys/procfs.h
configure:15632: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:168:1: error: unknown type name 'prgregset32_t'; did you mean 'prgregset_t'?
168 | prgregset32_t avar
| ^~~~~~~~~~~~~
| prgregset_t
configure:15632: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| /* end confdefs.h. */
|
| #define _SYSCALL32
| #include <sys/procfs.h>
| int
| main ()
| {
| prgregset32_t avar
| ;
| return 0;
| }
configure:15646: result: no
configure:15650: checking for lwpid_t in sys/procfs.h
configure:15668: gcc -c -g -O2 conftest.c >&5
configure:15668: $? = 0
configure:15682: result: yes
configure:15686: checking for psaddr_t in sys/procfs.h
configure:15704: gcc -c -g -O2 conftest.c >&5
configure:15704: $? = 0
configure:15718: result: yes
configure:15722: checking for elf_fpregset_t in sys/procfs.h
configure:15740: gcc -c -g -O2 conftest.c >&5
configure:15740: $? = 0
configure:15754: result: yes
configure:15766: checking for sys/ptrace.h
configure:15766: result: yes
configure:15766: checking for ptrace.h
configure:15766: result: no
configure:15789: checking return type of ptrace
configure:15806: gcc -c -g -O2 conftest.c >&5
conftest.c:166:1: error: stray '\302' in program
166 |  
| ^
configure:15806: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| /* end confdefs.h. */
|  
| #include <sys/types.h>
| #if HAVE_SYS_PTRACE_H
| # include <sys/ptrace.h>
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| int
| main ()
| {
| extern long ptrace (enum __ptrace_request, ...);
|
| ;
| return 0;
| }
configure:15821: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:178:12: error: conflicting types for 'ptrace'; have 'int()'
178 | extern int ptrace ();
| ^~~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/ptrace.h:202,
from conftest.c:169:
/usr/include/x86_64-linux-gnu/bits/ptrace-shared.h:142:17: note: previous declaration of 'ptrace' with type 'long int(enum __ptrace_request, ...)'
142 | extern long int ptrace (enum __ptrace_request __request, ...) __THROW;
| ^~~~~~
configure:15821: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| /* end confdefs.h. */
|
| #include <sys/types.h>
| #if HAVE_SYS_PTRACE_H
| # include <sys/ptrace.h>
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| int
| main ()
| {
| extern int ptrace ();
|
| ;
| return 0;
| }
configure:15833: result: long
configure:15843: checking types of arguments for ptrace
configure:15860: gcc -c -g -O2 conftest.c >&5
configure:15860: $? = 0
configure:15917: result: enum __ptrace_request,int,long,long
configure:15949: checking whether setpgrp takes no argument
configure:15971: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c: In function 'main':
conftest.c:209:10: error: too many arguments to function 'setpgrp'
209 | return setpgrp (1,1) != -1;
| ^~~~~~~
In file included from conftest.c:201:
/usr/include/unistd.h:682:12: note: declared here
682 | extern int setpgrp (void) __THROW;
| ^~~~~~~
configure:15971: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| /* If this system has a BSD-style setpgrp which takes arguments,
| setpgrp(1, 1) will fail with ESRCH and return -1, in that case
| exit successfully. */
| return setpgrp (1,1) != -1;
| ;
| return 0;
| }
configure:15981: result: yes
configure:16028: checking for struct thread.td_pcb
configure:16028: gcc -c -g -O2 conftest.c >&5
conftest.c:172:10: fatal error: sys/proc.h: No such file or directory
172 | #include <sys/proc.h>
| ^~~~~~~~~~~~
compilation terminated.
configure:16028: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| /* end confdefs.h. */
| #include <sys/param.h>
| #include <sys/proc.h>
|
|
| int
| main ()
| {
| static struct thread ac_aggr;
| if (ac_aggr.td_pcb)
| return 0;
| ;
| return 0;
| }
configure:16028: gcc -c -g -O2 conftest.c >&5
conftest.c:172:10: fatal error: sys/proc.h: No such file or directory
172 | #include <sys/proc.h>
| ^~~~~~~~~~~~
compilation terminated.
configure:16028: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| /* end confdefs.h. */
| #include <sys/param.h>
| #include <sys/proc.h>
|
|
| int
| main ()
| {
| static struct thread ac_aggr;
| if (sizeof ac_aggr.td_pcb)
| return 0;
| ;
| return 0;
| }
configure:16028: result: no
configure:16043: checking for struct lwp
configure:16062: gcc -c -g -O2 conftest.c >&5
conftest.c:173:19: fatal error: sys/lwp.h: No such file or directory
173 | #include <sys/lwp.h>
| ^~~~~~~~~~~
compilation terminated.
configure:16062: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| /* end confdefs.h. */
| #include <sys/param.h>
| #define _KMEMUSER
| #include <sys/lwp.h>
| int
| main ()
| {
| struct lwp l;
|
| ;
| return 0;
| }
configure:16071: result: no
configure:16080: checking for struct reg in machine/reg.h
configure:16098: gcc -c -g -O2 conftest.c >&5
conftest.c:172:19: fatal error: machine/reg.h: No such file or directory
172 | #include <machine/reg.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
configure:16098: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <machine/reg.h>
| int
| main ()
| {
| struct reg r;
|
| ;
| return 0;
| }
configure:16107: result: no
configure:16117: checking for struct reg.r_fs
configure:16117: gcc -c -g -O2 conftest.c >&5
conftest.c:172:10: fatal error: machine/reg.h: No such file or directory
172 | #include <machine/reg.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
configure:16117: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <machine/reg.h>
|
| int
| main ()
| {
| static struct reg ac_aggr;
| if (ac_aggr.r_fs)
| return 0;
| ;
| return 0;
| }
configure:16117: gcc -c -g -O2 conftest.c >&5
conftest.c:172:10: fatal error: machine/reg.h: No such file or directory
172 | #include <machine/reg.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
configure:16117: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <machine/reg.h>
|
| int
| main ()
| {
| static struct reg ac_aggr;
| if (sizeof ac_aggr.r_fs)
| return 0;
| ;
| return 0;
| }
configure:16117: result: no
configure:16128: checking for struct reg.r_gs
configure:16128: gcc -c -g -O2 conftest.c >&5
conftest.c:172:10: fatal error: machine/reg.h: No such file or directory
172 | #include <machine/reg.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
configure:16128: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <machine/reg.h>
|
| int
| main ()
| {
| static struct reg ac_aggr;
| if (ac_aggr.r_gs)
| return 0;
| ;
| return 0;
| }
configure:16128: gcc -c -g -O2 conftest.c >&5
conftest.c:172:10: fatal error: machine/reg.h: No such file or directory
172 | #include <machine/reg.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
configure:16128: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <machine/reg.h>
|
| int
| main ()
| {
| static struct reg ac_aggr;
| if (sizeof ac_aggr.r_gs)
| return 0;
| ;
| return 0;
| }
configure:16128: result: no
configure:16142: checking for PTRACE_GETREGS
configure:16158: gcc -c -g -O2 conftest.c >&5
configure:16158: $? = 0
configure:16168: result: yes
configure:16177: checking for PTRACE_GETFPXREGS
configure:16193: gcc -c -g -O2 conftest.c >&5
configure:16193: $? = 0
configure:16203: result: yes
configure:16212: checking for PT_GETDBREGS
configure:16230: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:178:1: error: 'PT_GETDBREGS' undeclared (first use in this function); did you mean 'PT_GETREGS'?
178 | PT_GETDBREGS;
| ^~~~~~~~~~~~
| PT_GETREGS
conftest.c:178:1: note: each undeclared identifier is reported only once for each function it appears in
configure:16230: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| #define HAVE_PTRACE_GETREGS 1
| #define HAVE_PTRACE_GETFPXREGS 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/ptrace.h>
| int
| main ()
| {
| PT_GETDBREGS;
|
| ;
| return 0;
| }
configure:16240: result: no
configure:16251: checking for struct ptrace_lwpinfo.pl_tdname
configure:16251: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:178:30: error: storage size of 'ac_aggr' isn't known
178 | static struct ptrace_lwpinfo ac_aggr;
| ^~~~~~~
configure:16251: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| #define HAVE_PTRACE_GETREGS 1
| #define HAVE_PTRACE_GETFPXREGS 1
| /* end confdefs.h. */
| #include <sys/ptrace.h>
|
| int
| main ()
| {
| static struct ptrace_lwpinfo ac_aggr;
| if (ac_aggr.pl_tdname)
| return 0;
| ;
| return 0;
| }
configure:16251: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:178:30: error: storage size of 'ac_aggr' isn't known
178 | static struct ptrace_lwpinfo ac_aggr;
| ^~~~~~~
configure:16251: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| #define HAVE_PTRACE_GETREGS 1
| #define HAVE_PTRACE_GETFPXREGS 1
| /* end confdefs.h. */
| #include <sys/ptrace.h>
|
| int
| main ()
| {
| static struct ptrace_lwpinfo ac_aggr;
| if (sizeof ac_aggr.pl_tdname)
| return 0;
| ;
| return 0;
| }
configure:16251: result: no
configure:16266: checking for struct ptrace_lwpinfo.pl_syscall_code
configure:16266: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:178:30: error: storage size of 'ac_aggr' isn't known
178 | static struct ptrace_lwpinfo ac_aggr;
| ^~~~~~~
configure:16266: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| #define HAVE_PTRACE_GETREGS 1
| #define HAVE_PTRACE_GETFPXREGS 1
| /* end confdefs.h. */
| #include <sys/ptrace.h>
|
| int
| main ()
| {
| static struct ptrace_lwpinfo ac_aggr;
| if (ac_aggr.pl_syscall_code)
| return 0;
| ;
| return 0;
| }
configure:16266: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:178:30: error: storage size of 'ac_aggr' isn't known
178 | static struct ptrace_lwpinfo ac_aggr;
| ^~~~~~~
configure:16266: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| #define HAVE_PTRACE_GETREGS 1
| #define HAVE_PTRACE_GETFPXREGS 1
| /* end confdefs.h. */
| #include <sys/ptrace.h>
|
| int
| main ()
| {
| static struct ptrace_lwpinfo ac_aggr;
| if (sizeof ac_aggr.pl_syscall_code)
| return 0;
| ;
| return 0;
| }
configure:16266: result: no
configure:16280: checking for long long support in compiler
configure:16296: gcc -c -g -O2 conftest.c >&5
configure:16296: $? = 0
configure:16303: result: yes
configure:16312: checking for decfloat support in printf
configure:16336: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c: In function 'main':
conftest.c:213:31: warning: unknown conversion type character '\x0a' in format [-Wformat=]
213 | sprintf (buf, "Decimal32: %H\nDecimal64: %D\nDecimal128: %DD", d32, d64, d128);
| ^~
conftest.c:213:46: warning: unknown conversion type character '\x0a' in format [-Wformat=]
213 | sprintf (buf, "Decimal32: %H\nDecimal64: %D\nDecimal128: %DD", d32, d64, d128);
| ^~
conftest.c:213:62: warning: conversion lacks type at end of format [-Wformat=]
213 | sprintf (buf, "Decimal32: %H\nDecimal64: %D\nDecimal128: %DD", d32, d64, d128);
| ^
conftest.c:213:17: warning: too many arguments for format [-Wformat-extra-args]
213 | sprintf (buf, "Decimal32: %H\nDecimal64: %D\nDecimal128: %DD", d32, d64, d128);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
configure:16336: $? = 0
configure:16336: ./conftest
configure:16336: $? = 12
configure: program exited with status 12
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| #define HAVE_PTRACE_GETREGS 1
| #define HAVE_PTRACE_GETFPXREGS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| char buf[64];
| _Decimal32 d32 = 1.2345df;
| _Decimal64 d64 = 1.2345dd;
| _Decimal128 d128 = 1.2345dl;
| sprintf (buf, "Decimal32: %H\nDecimal64: %D\nDecimal128: %DD", d32, d64, d128);
| return (strcmp ("Decimal32: 1.2345\nDecimal64: 1.2345\nDecimal128: 1.2345", buf));
| ;
| return 0;
| }
configure:16346: result: no
configure:16359: checking for long double support in compiler
configure:16368: gcc -c -g -O2 conftest.c >&5
configure:16368: $? = 0
configure:16375: result: yes
configure:16385: checking for long double support in printf
configure:16407: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:16407: $? = 0
configure:16407: ./conftest
configure:16407: $? = 0
configure:16417: result: yes
configure:16427: checking for long double support in scanf
configure:16449: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:16449: $? = 0
configure:16449: ./conftest
configure:16449: $? = 0
configure:16459: result: yes
configure:16510: checking for the dynamic export flag
configure:16594: result: -rdynamic
configure:16597: checking whether execinfo.h backtrace is available
configure:16620: gcc -o conftest -g -O2 conftest.c -lm >&5
configure:16620: $? = 0
configure:16628: result: yes
configure:16698: checking whether <thread_db.h> has TD_NOTALLOC
configure:16715: gcc -c -g -O2 conftest.c >&5
configure:16715: $? = 0
configure:16724: result: yes
configure:16727: checking whether <thread_db.h> has TD_VERSION
configure:16744: gcc -c -g -O2 conftest.c >&5
configure:16744: $? = 0
configure:16753: result: yes
configure:16756: checking whether <thread_db.h> has TD_NOTLS
configure:16773: gcc -c -g -O2 conftest.c >&5
configure:16773: $? = 0
configure:16782: result: yes
configure:16967: checking the compiler type
configure:16989: gcc -c -g -O2 conftest.c >&5
configure:16989: $? = 0
configure:17018: result: gcc
configure:17130: checking compiler warning flags
configure:17193: g++ -c -g -O2 -Werror -Wall conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wpointer-arith conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wunused conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wunused-value conftest.cpp >&5
configure:17193: $? = 0
configure:17177: g++ -c -g -O2 -Werror -Wunused-variable conftest.cpp >&5
configure:17177: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wunused-function conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wswitch conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wchar-subscripts conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wempty-body conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wunused-but-set-parameter conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wunused-but-set-variable conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wsign-compare conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Werror=maybe-uninitialized conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wmismatched-tags conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Werror=deprecated-register conftest.cpp >&5
cc1plus: error: '-Werror=deprecated-register': no option '-Wdeprecated-register'; did you mean '-Wdeprecated-copy-dtor'?
configure:17193: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| #define HAVE_PTRACE_GETREGS 1
| #define HAVE_PTRACE_GETFPXREGS 1
| #define HAVE_LONG_DOUBLE 1
| #define PRINTF_HAS_LONG_DOUBLE 1
| #define SCANF_HAS_LONG_DOUBLE 1
| #define HAVE_EXECINFO_BACKTRACE 1
| #define THREAD_DB_HAS_TD_NOTALLOC 1
| #define THREAD_DB_HAS_TD_VERSION 1
| #define THREAD_DB_HAS_TD_NOTLS 1
| #define GDBINIT ".gdbinit"
| #define GDBEARLYINIT ".gdbearlyinit"
| #define TARGET_SYSTEM_ROOT ""
| #define TARGET_SYSTEM_ROOT_RELOCATABLE 0
| #define SYSTEM_GDBINIT ""
| #define SYSTEM_GDBINIT_RELOCATABLE 0
| #define SYSTEM_GDBINIT_DIR ""
| #define SYSTEM_GDBINIT_DIR_RELOCATABLE 0
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:17193: g++ -c -g -O2 -Werror -Wsuggest-override conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wimplicit-fallthrough=3 conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wduplicated-cond conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wshadow=local conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wdeprecated-copy conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wdeprecated-copy-dtor conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wredundant-move conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wmissing-declarations conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wstrict-null-sentinel conftest.cpp >&5
configure:17193: $? = 0
configure:17193: g++ -c -g -O2 -Werror -Wformat -Wformat-nonliteral conftest.cpp >&5
configure:17193: $? = 0
configure:17202: result: -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral
configure:17275: checking for cygwin
configure:17296: result: no
configure:17336: checking for ELF support in BFD
configure:17356: gcc -o conftest -I/home/seti/riscv-gnu-toolchain/gdb/gdb/../include -I../bfd -I/home/seti/riscv-gnu-toolchain/gdb/gdb/../bfd -g -O2 -L../bfd -L../libiberty -L../zlib conftest.c -lbfd -liberty -lz -lm >&5
configure:17356: $? = 0
configure:17366: result: yes
configure:17379: checking for library containing dlopen
configure:17427: result: none required
configure:17451: checking for Mach-O support in BFD
configure:17471: gcc -o conftest -I/home/seti/riscv-gnu-toolchain/gdb/gdb/../include -I../bfd -I/home/seti/riscv-gnu-toolchain/gdb/gdb/../bfd -g -O2 -L../bfd -L../libiberty -L../zlib conftest.c -lbfd -liberty -lz -lm >&5
/usr/bin/ld: /tmp/cc9KsPAd.o: in function `main':
/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/conftest.c:196: undefined reference to `bfd_mach_o_lookup_command'
collect2: error: ld returned 1 exit status
configure:17471: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| #define HAVE_PTRACE_GETREGS 1
| #define HAVE_PTRACE_GETFPXREGS 1
| #define HAVE_LONG_DOUBLE 1
| #define PRINTF_HAS_LONG_DOUBLE 1
| #define SCANF_HAS_LONG_DOUBLE 1
| #define HAVE_EXECINFO_BACKTRACE 1
| #define THREAD_DB_HAS_TD_NOTALLOC 1
| #define THREAD_DB_HAS_TD_VERSION 1
| #define THREAD_DB_HAS_TD_NOTLS 1
| #define GDBINIT ".gdbinit"
| #define GDBEARLYINIT ".gdbearlyinit"
| #define TARGET_SYSTEM_ROOT ""
| #define TARGET_SYSTEM_ROOT_RELOCATABLE 0
| #define SYSTEM_GDBINIT ""
| #define SYSTEM_GDBINIT_RELOCATABLE 0
| #define SYSTEM_GDBINIT_DIR ""
| #define SYSTEM_GDBINIT_DIR_RELOCATABLE 0
| #define HAVE_ELF 1
| /* end confdefs.h. */
| #include <stdlib.h>
| #include <string.h>
| #include "bfd.h"
| #include "mach-o.h"
| int
| main ()
| {
| return bfd_mach_o_lookup_command (NULL, 0, NULL);
|
| ;
| return 0;
| }
configure:17481: result: no
configure:17503: checking whether to use lzma
configure:17505: result: auto
configure:17934: checking for liblzma
configure:17955: gcc -o conftest -g -O2 conftest.c -lm -llzma >&5
conftest.c:189:10: fatal error: lzma.h: No such file or directory
189 | #include "lzma.h"
| ^~~~~~~~
compilation terminated.
configure:17955: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| #define HAVE_PTRACE_GETREGS 1
| #define HAVE_PTRACE_GETFPXREGS 1
| #define HAVE_LONG_DOUBLE 1
| #define PRINTF_HAS_LONG_DOUBLE 1
| #define SCANF_HAS_LONG_DOUBLE 1
| #define HAVE_EXECINFO_BACKTRACE 1
| #define THREAD_DB_HAS_TD_NOTALLOC 1
| #define THREAD_DB_HAS_TD_VERSION 1
| #define THREAD_DB_HAS_TD_NOTLS 1
| #define GDBINIT ".gdbinit"
| #define GDBEARLYINIT ".gdbearlyinit"
| #define TARGET_SYSTEM_ROOT ""
| #define TARGET_SYSTEM_ROOT_RELOCATABLE 0
| #define SYSTEM_GDBINIT ""
| #define SYSTEM_GDBINIT_RELOCATABLE 0
| #define SYSTEM_GDBINIT_DIR ""
| #define SYSTEM_GDBINIT_DIR_RELOCATABLE 0
| #define HAVE_ELF 1
| /* end confdefs.h. */
| #include "lzma.h"
| int
| main ()
| {
| lzma_index_iter iter;
| lzma_index_iter_init (&iter, 0);
| lzma_mf_is_supported (LZMA_MF_HC3);
| ;
| return 0;
| }
configure:17965: result: no
configure:18521: checking for X
configure:18629: gcc -E conftest.c
conftest.c:189:10: fatal error: X11/Xlib.h: No such file or directory
189 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
compilation terminated.
configure:18629: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| #define HAVE_PTRACE_GETREGS 1
| #define HAVE_PTRACE_GETFPXREGS 1
| #define HAVE_LONG_DOUBLE 1
| #define PRINTF_HAS_LONG_DOUBLE 1
| #define SCANF_HAS_LONG_DOUBLE 1
| #define HAVE_EXECINFO_BACKTRACE 1
| #define THREAD_DB_HAS_TD_NOTALLOC 1
| #define THREAD_DB_HAS_TD_VERSION 1
| #define THREAD_DB_HAS_TD_NOTLS 1
| #define GDBINIT ".gdbinit"
| #define GDBEARLYINIT ".gdbearlyinit"
| #define TARGET_SYSTEM_ROOT ""
| #define TARGET_SYSTEM_ROOT_RELOCATABLE 0
| #define SYSTEM_GDBINIT ""
| #define SYSTEM_GDBINIT_RELOCATABLE 0
| #define SYSTEM_GDBINIT_DIR ""
| #define SYSTEM_GDBINIT_DIR_RELOCATABLE 0
| #define HAVE_ELF 1
| /* end confdefs.h. */
| #include <X11/Xlib.h>
configure:18660: gcc -o conftest -g -O2 conftest.c -lX11 -lm >&5
conftest.c:189:10: fatal error: X11/Xlib.h: No such file or directory
189 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
compilation terminated.
configure:18660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| #define HAVE_PTRACE_GETREGS 1
| #define HAVE_PTRACE_GETFPXREGS 1
| #define HAVE_LONG_DOUBLE 1
| #define PRINTF_HAS_LONG_DOUBLE 1
| #define SCANF_HAS_LONG_DOUBLE 1
| #define HAVE_EXECINFO_BACKTRACE 1
| #define THREAD_DB_HAS_TD_NOTALLOC 1
| #define THREAD_DB_HAS_TD_VERSION 1
| #define THREAD_DB_HAS_TD_NOTLS 1
| #define GDBINIT ".gdbinit"
| #define GDBEARLYINIT ".gdbearlyinit"
| #define TARGET_SYSTEM_ROOT ""
| #define TARGET_SYSTEM_ROOT_RELOCATABLE 0
| #define SYSTEM_GDBINIT ""
| #define SYSTEM_GDBINIT_RELOCATABLE 0
| #define SYSTEM_GDBINIT_DIR ""
| #define SYSTEM_GDBINIT_DIR_RELOCATABLE 0
| #define HAVE_ELF 1
| /* end confdefs.h. */
| #include <X11/Xlib.h>
| int
| main ()
| {
| XrmInitialize ()
| ;
| return 0;
| }
configure:18699: result: no
configure:18860: checking whether to use babeltrace
configure:18862: result: auto
configure:19302: checking for libbabeltrace
configure:19332: gcc -o conftest -g -O2 -Werror conftest.c -lm -lbabeltrace -lbabeltrace-ctf >&5
conftest.c:194:10: fatal error: babeltrace/babeltrace.h: No such file or directory
194 | #include <babeltrace/babeltrace.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
configure:19332: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| #define HAVE_PTRACE_GETREGS 1
| #define HAVE_PTRACE_GETFPXREGS 1
| #define HAVE_LONG_DOUBLE 1
| #define PRINTF_HAS_LONG_DOUBLE 1
| #define SCANF_HAS_LONG_DOUBLE 1
| #define HAVE_EXECINFO_BACKTRACE 1
| #define THREAD_DB_HAS_TD_NOTALLOC 1
| #define THREAD_DB_HAS_TD_VERSION 1
| #define THREAD_DB_HAS_TD_NOTLS 1
| #define GDBINIT ".gdbinit"
| #define GDBEARLYINIT ".gdbearlyinit"
| #define TARGET_SYSTEM_ROOT ""
| #define TARGET_SYSTEM_ROOT_RELOCATABLE 0
| #define SYSTEM_GDBINIT ""
| #define SYSTEM_GDBINIT_RELOCATABLE 0
| #define SYSTEM_GDBINIT_DIR ""
| #define SYSTEM_GDBINIT_DIR_RELOCATABLE 0
| #define HAVE_ELF 1
| #define WITH_SIM 1
| #define GDB_HOST_FLOAT_FORMAT &floatformat_ieee_single_little
| #define GDB_HOST_DOUBLE_FORMAT &floatformat_ieee_double_little
| #define GDB_HOST_LONG_DOUBLE_FORMAT &floatformat_i387_ext
| #define HAVE_LIBBACKTRACE 1
| /* end confdefs.h. */
| #include <babeltrace/babeltrace.h>
| #include <babeltrace/ctf/events.h>
| #include <babeltrace/ctf/iterator.h>
| int
| main ()
| {
| struct bt_iter_pos *pos = bt_iter_get_pos (bt_ctf_get_iter (NULL));
| struct bt_ctf_event *event = NULL;
| const struct bt_definition *scope;
|
| pos->type = BT_SEEK_BEGIN;
| bt_iter_set_pos (bt_ctf_get_iter (NULL), pos);
| scope = bt_ctf_get_top_level_scope (event,
| BT_STREAM_EVENT_HEADER);
| bt_ctf_get_uint64 (bt_ctf_get_field (event, scope, "id"));
|
| ;
| return 0;
| }
configure:19342: result: no
configure:19371: WARNING: babeltrace is missing or unusable; GDB is unable to read CTF data.
configure:19847: checking for libxxhash
configure:19867: gcc -o conftest -g -O2 conftest.c -lm -lxxhash >&5
conftest.c:195:10: fatal error: xxhash.h: No such file or directory
195 | #include <xxhash.h>
| ^~~~~~~~~~
compilation terminated.
configure:19867: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define 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 HAVE_CXX11 1
| #define ENABLE_NLS 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/opt/riscv/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define BINDIR "/opt/riscv/bin"
| #define GDB_DATADIR "/opt/riscv/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
| #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
| #define SIZEOF_VOID_P 8
| #define DEFAULT_BFD_ARCH bfd_riscv_arch
| #define DEFAULT_BFD_VEC riscv_elf32_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED___INT128 16
| #define JIT_READER_DIR "/opt/riscv/lib/gdb"
| #define JIT_READER_DIR_RELOCATABLE 1
| #define HAVE_LIBEXPAT 1
| #define HAVE_XML_STOPPARSER 1
| #define HAVE_LIBGMP 1
| #define HAVE_LIBMPFR 1
| #define STDC_HEADERS 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_REG_H 1
| #define HAVE_SYS_DEBUGREG_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_LONG_LONG 1
| #define SIZEOF_LONG_LONG 8
| #define HAVE_DECL_BASENAME 1
| #define HAVE_DECL_FFS 1
| #define HAVE_DECL_ASPRINTF 1
| #define HAVE_DECL_VASPRINTF 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_DECL_STRTOL 1
| #define HAVE_DECL_STRTOUL 1
| #define HAVE_DECL_STRTOLL 1
| #define HAVE_DECL_STRTOULL 1
| #define HAVE_DECL_STRVERSCMP 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_SOCKLEN_T 1
| #define HAVE_GETUID 1
| #define HAVE_GETGID 1
| #define HAVE_PIPE 1
| #define HAVE_PREAD 1
| #define HAVE_PREAD64 1
| #define HAVE_PWRITE 1
| #define HAVE_GETPGID 1
| #define HAVE_SETSID 1
| #define HAVE_SIGACTION 1
| #define HAVE_SIGSETMASK 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_BTOWC 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_POSIX_MADVISE 1
| #define HAVE_WAITPID 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define STDC_HEADERS 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LINUX_PERF_EVENT_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_THREAD_DB_H 1
| #define HAVE_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_ELF_H 1
| #define HAVE_PROC_SERVICE_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_PIPE 1
| #define HAVE_PIPE2 1
| #define HAVE_POLL 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGACTION 1
| #define HAVE_SBRK 1
| #define HAVE_SETNS 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SETPGID 1
| #define HAVE_SETPGRP 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETAUXVAL 1
| #define HAVE_SIGTIMEDWAIT 1
| #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
| #define HAVE_DECL_STRSTR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETNAME_NP 1
| #define CXX_STD_THREAD 1
| #define HAVE_SIGSETJMP 1
| #define PRINTF_HAS_LONG_LONG 1
| #define _STRUCTURED_PROC 1
| #define HAVE_SYS_PROCFS_H 1
| #define HAVE_PRGREGSET_T 1
| #define HAVE_PRFPREGSET_T 1
| #define HAVE_LWPID_T 1
| #define HAVE_PSADDR_T 1
| #define HAVE_ELF_FPREGSET_T 1
| #define HAVE_SYS_PTRACE_H 1
| #define PTRACE_TYPE_RET long
| #define PTRACE_TYPE_ARG1 enum __ptrace_request
| #define PTRACE_TYPE_ARG3 long
| #define PTRACE_TYPE_ARG4 long
| #define SETPGRP_VOID 1
| #define HAVE_PTRACE_GETREGS 1
| #define HAVE_PTRACE_GETFPXREGS 1
| #define HAVE_LONG_DOUBLE 1
| #define PRINTF_HAS_LONG_DOUBLE 1
| #define SCANF_HAS_LONG_DOUBLE 1
| #define HAVE_EXECINFO_BACKTRACE 1
| #define THREAD_DB_HAS_TD_NOTALLOC 1
| #define THREAD_DB_HAS_TD_VERSION 1
| #define THREAD_DB_HAS_TD_NOTLS 1
| #define GDBINIT ".gdbinit"
| #define GDBEARLYINIT ".gdbearlyinit"
| #define TARGET_SYSTEM_ROOT ""
| #define TARGET_SYSTEM_ROOT_RELOCATABLE 0
| #define SYSTEM_GDBINIT ""
| #define SYSTEM_GDBINIT_RELOCATABLE 0
| #define SYSTEM_GDBINIT_DIR ""
| #define SYSTEM_GDBINIT_DIR_RELOCATABLE 0
| #define HAVE_ELF 1
| #define WITH_SIM 1
| #define GDB_HOST_FLOAT_FORMAT &floatformat_ieee_single_little
| #define GDB_HOST_DOUBLE_FORMAT &floatformat_ieee_double_little
| #define GDB_HOST_LONG_DOUBLE_FORMAT &floatformat_i387_ext
| #define HAVE_LIBBACKTRACE 1
| #define ENABLE_LIBCTF 1
| /* end confdefs.h. */
| #include <xxhash.h>
| int
| main ()
| {
| XXH32("foo", 3, 0);
|
| ;
| return 0;
| }
configure:19877: result: no
configure:19910: checking whether to use xxhash
configure:19912: result: no
configure:19938: checking for xsltproc
configure:19971: result: no
configure:20107: updating cache ./config.cache
configure:20173: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by config.status, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on seti-VirtualBox
config.status:1227: creating jit-reader.h
config.status:1227: creating gcore
config.status:1227: creating Makefile
config.status:1227: creating gdb-gdb.gdb
config.status:1227: creating gdb-gdb.py
config.status:1227: creating doc/Makefile
config.status:1227: creating data-directory/Makefile
config.status:1227: creating config.h
config.status:1437: executing depdir commands
configure:21508: === configuring in testsuite (/home/seti/riscv-gnu-toolchain/build-gdb-newlib/gdb/testsuite)
configure:21571: running /bin/bash /home/seti/riscv-gnu-toolchain/gdb/gdb/testsuite/configure --disable-option-checking '--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-&' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--target=riscv32-unknown-elf' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'target_alias=riscv32-unknown-elf' 'CC=gcc' 'CFLAGS=-g -O2 ' 'LDFLAGS= ' 'CXX=g++' 'CXXFLAGS=-g -O2 ' 'MAKEINFO=makeinfo --split-size=5000000' 'YACC=bison -y' --cache-file=.././config.cache --srcdir=/home/seti/riscv-gnu-toolchain/gdb/gdb/testsuite
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
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=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_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-g -O2 '
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=g++
ac_cv_env_DEBUGINFOD_CFLAGS_set=
ac_cv_env_DEBUGINFOD_CFLAGS_value=
ac_cv_env_DEBUGINFOD_LIBS_set=
ac_cv_env_DEBUGINFOD_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' '
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_MAKEINFOFLAGS_set=
ac_cv_env_MAKEINFOFLAGS_value=
ac_cv_env_MAKEINFO_set=set
ac_cv_env_MAKEINFO_value='makeinfo --split-size=5000000'
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_YACC_set=set
ac_cv_env_YACC_value='bison -y'
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_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_XML_StopParser=yes
ac_cv_func__mcleanup=yes
ac_cv_func_alloca_works=yes
ac_cv_func_btowc=yes
ac_cv_func_fdwalk=no
ac_cv_func_fork=yes
ac_cv_func_fork_works=yes
ac_cv_func_getauxval=yes
ac_cv_func_getgid=yes
ac_cv_func_getpagesize=yes
ac_cv_func_getpgid=yes
ac_cv_func_getrlimit=yes
ac_cv_func_getrusage=yes
ac_cv_func_getuid=yes
ac_cv_func_iconvlist=no
ac_cv_func_kinfo_getfile=no
ac_cv_func_libiconvlist=no
ac_cv_func_mmap_fixed_mapped=yes
ac_cv_func_monstartup=yes
ac_cv_func_pipe2=yes
ac_cv_func_pipe=yes
ac_cv_func_poll=yes
ac_cv_func_posix_madvise=yes
ac_cv_func_pread64=yes
ac_cv_func_pread=yes
ac_cv_func_pthread_setname_np=yes
ac_cv_func_pthread_sigmask=yes
ac_cv_func_ptrace64=no
ac_cv_func_pwrite=yes
ac_cv_func_resize_term=no
ac_cv_func_sbrk=yes
ac_cv_func_setlocale=yes
ac_cv_func_setns=yes
ac_cv_func_setpgid=yes
ac_cv_func_setpgrp=yes
ac_cv_func_setpgrp_void=yes
ac_cv_func_setrlimit=yes
ac_cv_func_setsid=yes
ac_cv_func_sigaction=yes
ac_cv_func_sigaltstack=yes
ac_cv_func_sigprocmask=yes
ac_cv_func_sigsetmask=yes
ac_cv_func_sigtimedwait=yes
ac_cv_func_socketpair=yes
ac_cv_func_ttrace=no
ac_cv_func_use_default_colors=no
ac_cv_func_vfork=yes
ac_cv_func_vfork_works=yes
ac_cv_func_waitpid=yes
ac_cv_func_wborder=no
ac_cv_func_wresize=no
ac_cv_have_decl_ADDR_NO_RANDOMIZE=yes
ac_cv_have_decl_asprintf=yes
ac_cv_have_decl_basename_char_p_=yes
ac_cv_have_decl_ffs=yes
ac_cv_have_decl_snprintf=yes
ac_cv_have_decl_strstr=yes
ac_cv_have_decl_strtol=yes
ac_cv_have_decl_strtoll=yes
ac_cv_have_decl_strtoul=yes
ac_cv_have_decl_strtoull=yes
ac_cv_have_decl_strverscmp=yes
ac_cv_have_decl_vasprintf=yes
ac_cv_have_decl_vsnprintf=yes
ac_cv_have_x=have_x=no
ac_cv_header_cursesX_h=no
ac_cv_header_curses_h=no
ac_cv_header_dlfcn_h=yes
ac_cv_header_elf_hp_h=no
ac_cv_header_execinfo_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libunwind_ia64_h=no
ac_cv_header_linux_elf_h=yes
ac_cv_header_linux_perf_event_h=yes
ac_cv_header_locale_h=yes
ac_cv_header_machine_reg_h=no
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_ncurses_h=no
ac_cv_header_ncurses_ncurses_h=no
ac_cv_header_ncurses_term_h=no
ac_cv_header_ncursesw_ncurses_h=no
ac_cv_header_nlist_h=no
ac_cv_header_poll_h=yes
ac_cv_header_proc_service_h=yes
ac_cv_header_ptrace_h=no
ac_cv_header_signal_h=yes
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_debugreg_h=yes
ac_cv_header_sys_file_h=yes
ac_cv_header_sys_filio_h=no
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_poll_h=yes
ac_cv_header_sys_procctl_h=no
ac_cv_header_sys_procfs_h=yes
ac_cv_header_sys_ptrace_h=yes
ac_cv_header_sys_reg_h=yes
ac_cv_header_sys_resource_h=yes
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_un_h=yes
ac_cv_header_sys_user_h=yes
ac_cv_header_sys_wait_h=yes
ac_cv_header_term_h=no
ac_cv_header_termios_h=yes
ac_cv_header_thread_db_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_vfork_h=no
ac_cv_header_wait_h=yes
ac_cv_header_windows_h=no
ac_cv_header_ws2tcpip_h=no
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_m_main=yes
ac_cv_libbabeltrace=no
ac_cv_libexpat=yes
ac_cv_libgmp=yes
ac_cv_libipt=no
ac_cv_liblzma=no
ac_cv_libmpfr=yes
ac_cv_libxxhash=no
ac_cv_member_struct_ptrace_lwpinfo_pl_syscall_code=no
ac_cv_member_struct_ptrace_lwpinfo_pl_tdname=no
ac_cv_member_struct_reg_r_fs=no
ac_cv_member_struct_reg_r_gs=no
ac_cv_member_struct_stat_st_blksize=yes
ac_cv_member_struct_stat_st_blocks=yes
ac_cv_member_struct_thread_td_pcb=no
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_pkg_config_prog_path=missing
ac_cv_path_python_prog_path=missing
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_CPP='gcc -E'
ac_cv_prog_DLLTOOL=dlltool
ac_cv_prog_RANLIB='ranlib --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so'
ac_cv_prog_WINDRES=windres
ac_cv_prog_YACC='bison -y'
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_search_dlopen='none required'
ac_cv_search_dlsym='none required'
ac_cv_search_gethostbyname='none required'
ac_cv_search_kinfo_getfile=no
ac_cv_search_socketpair='none required'
ac_cv_search_tgetent=no
ac_cv_search_waddstr=no
ac_cv_sizeof_long_long=8
ac_cv_sizeof_unsigned___int128=16
ac_cv_sizeof_unsigned_long=8
ac_cv_sizeof_unsigned_long_long=8
ac_cv_sizeof_void_p=8
ac_cv_sys_file_offset_bits=no
ac_cv_sys_largefile_CC=no
ac_cv_target=riscv32-unknown-elf
ac_cv_type_long_long=yes
ac_cv_type_pid_t=yes
ac_cv_type_size_t=yes
ac_cv_type_socklen_t=yes
ac_cv_var__etext=yes
ac_cv_var_etext=yes
ac_cv_working_alloca_h=yes
acl_cv_hardcode_direct=no
acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
acl_cv_hardcode_libdir_separator=
acl_cv_hardcode_minus_L=no
acl_cv_libext=a
acl_cv_path_LD=ld
acl_cv_prog_gnu_ld=yes
acl_cv_rpath=done
acl_cv_shlibext=so
acl_cv_wl=-Wl,
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_func_iconv=yes
am_cv_langinfo_codeset=yes
am_cv_lib_iconv=no
am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);'
am_cv_proto_iconv_arg1=
am_cv_val_LC_MESSAGES=yes
ax_cv_PTHREAD_CLANG=no
ax_cv_PTHREAD_JOINABLE_ATTR=PTHREAD_CREATE_JOINABLE
ax_cv_PTHREAD_PRIO_INHERIT=yes
ax_cv_PTHREAD_SPECIAL_FLAGS=no
ax_cv_cxx_compile_cxx11=yes
bfd_cv_have_sys_procfs_type_elf_fpregset_t=yes
bfd_cv_have_sys_procfs_type_fpregset_t=no
bfd_cv_have_sys_procfs_type_gregset_t=no
bfd_cv_have_sys_procfs_type_lwpid_t=yes
bfd_cv_have_sys_procfs_type_prfpregset_t=yes
bfd_cv_have_sys_procfs_type_prgregset32_t=no
bfd_cv_have_sys_procfs_type_prgregset_t=yes
bfd_cv_have_sys_procfs_type_psaddr_t=yes
gdb_cv_c_long_double=yes
gdb_cv_c_long_long=yes
gdb_cv_compiler_type=gcc
gdb_cv_cxx_std_thread=yes
gdb_cv_execinfo_backtrace=yes
gdb_cv_func_ptrace_args='enum __ptrace_request,int,long,long'
gdb_cv_func_ptrace_ret=long
gdb_cv_func_sigsetjmp=yes
gdb_cv_have_makeinfo_click=yes
gdb_cv_have_pt_getdbregs=no
gdb_cv_have_ptrace_getfpxregs=yes
gdb_cv_have_ptrace_getregs=yes
gdb_cv_os_cygwin=no
gdb_cv_printf_has_decfloat=no
gdb_cv_printf_has_long_double=yes
gdb_cv_printf_has_long_long=yes
gdb_cv_scanf_has_long_double=yes
gdb_cv_struct_lwp=no
gdb_cv_struct_reg=no
gdb_cv_thread_db_h_has_td_notalloc=yes
gdb_cv_thread_db_h_has_td_notls=yes
gdb_cv_thread_db_h_has_td_version=yes
gdb_cv_var_elf=yes
gdb_cv_var_macho=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
ALLOCA=''
AR='ar --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so'
AWK='/usr/bin/gawk'
CATALOGS=''
CATOBJEXT='.gmo'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2 '
CODESIGN_CERT=''
CONFIG_ALL=' all-po'
CONFIG_CLEAN=' clean-po'
CONFIG_DEPS=' $(SUBDIR_MI_DEPS)'
CONFIG_INSTALL=' install-po'
CONFIG_LDFLAGS=''
CONFIG_OBS=' $(SUBDIR_MI_OBS) stub-termcap.o python/python.o guile/guile.o elfread.o stap-probe.o dtrace-probe.o gcore-elf.o elf-none-tdep.o posix-hdep.o'
CONFIG_SRCS=' $(SUBDIR_MI_SRCS) python/python.c guile/guile.c'
CONFIG_UNINSTALL=' uninstall-po'
CPP='gcc -E'
CPPFLAGS=''
CTF_DEPS='../libctf/.libs/libctf.a'
CXX='g++'
CXXFLAGS='-g -O2 '
CXX_DIALECT=''
DATADIRNAME='share'
DEBUGDIR='${exec_prefix}/lib/debug'
DEBUGINFOD_CFLAGS=''
DEBUGINFOD_LIBS=''
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='dlltool'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
ENABLE_BFD_64_BIT_FALSE='#'
ENABLE_BFD_64_BIT_TRUE=''
ENABLE_CFLAGS=' $(SUBDIR_MI_CFLAGS)'
EXEEXT=''
GCORE_TRANSFORM_NAME='riscv32-unknown-elf-gcore'
GDBTKLIBS=''
GDBTK_CFLAGS=''
GDBTK_SRC_DIR=''
GDB_DATADIR='${datarootdir}/gdb'
GDB_NM_FILE=''
GDB_TRANSFORM_NAME='riscv32-unknown-elf-gdb'
GENCAT='gencat'
GMSGFMT=':'
GREP='/usr/bin/grep'
GUILD=''
GUILD_TARGET_FLAG=''
GUILE_CPPFLAGS=''
GUILE_LIBS=''
GUI_CFLAGS_X='-I/home/seti/riscv-gnu-toolchain/gdb/gdb/../libgui/src'
HAVE_CXX11='1'
HAVE_GUILE_FALSE=''
HAVE_GUILE_TRUE='#'
HAVE_LIBBABELTRACE='no'
HAVE_LIBEXPAT='yes'
HAVE_LIBGMP='yes'
HAVE_LIBIPT='no'
HAVE_LIBLZMA='no'
HAVE_LIBMPFR='yes'
HAVE_LIBXXHASH='no'
HAVE_NATIVE_GCORE_HOST=''
HAVE_NATIVE_GCORE_TARGET=''
HAVE_PYTHON_FALSE=''
HAVE_PYTHON_TRUE='#'
INCINTL=''
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'
INSTOBJEXT='.mo'
JIT_READER_DIR='${exec_prefix}/lib/gdb'
LARGEFILE_CPPFLAGS=''
LDFLAGS=' '
LIBBABELTRACE=''
LIBBACKTRACE_INC='-I/home/seti/riscv-gnu-toolchain/gdb/gdb/../libbacktrace/ -I../libbacktrace/'
LIBBACKTRACE_LIB='../libbacktrace/.libs/libbacktrace.a'
LIBCTF='../libctf/.libs/libctf.a'
LIBEXPAT='-lexpat'
LIBGMP='-lgmp'
LIBGUI='../libgui/src/libgui.a'
LIBICONV=''
LIBINTL=''
LIBINTL_DEP=''
LIBIPT=''
LIBLZMA=''
LIBMPFR='-lmpfr -lgmp'
LIBOBJS=''
LIBS='-lm '
LIBXXHASH=''
LN_S='ln -s'
LOADLIBES=''
LTLIBBABELTRACE=''
LTLIBEXPAT='-lexpat'
LTLIBGMP='-lgmp'
LTLIBICONV=''
LTLIBIPT=''
LTLIBLZMA=''
LTLIBMPFR='-lmpfr -lgmp'
LTLIBOBJS=''
LTLIBXXHASH=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo --split-size=5000000'
MAKEINFOFLAGS=''
MAKEINFO_EXTRA_FLAGS=' -DHAVE_MAKEINFO_CLICK'
MH_CFLAGS=''
MIG=''
NATDEPFILES=''
NAT_CDEPS=''
NAT_FILE=''
NAT_GENERATED_FILES=''
NM_H=''
OBJEXT='o'
PACKAGE='gdb'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKGVERSION='(GDB) '
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
POSUB='po'
PROFILE_CFLAGS=''
PTHREAD_CC='gcc'
PTHREAD_CFLAGS='-pthread'
PTHREAD_LIBS=''
PYTHON_CFLAGS=''
PYTHON_CPPFLAGS=''
PYTHON_LIBS=''
RANLIB='ranlib --plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so'
RDYNAMIC='-rdynamic'
READLINE='$(READLINE_DIR)/libreadline.a'
READLINE_CFLAGS='-I$(READLINE_SRC)/..'
READLINE_DEPS='$(READLINE)'
READLINE_TEXI_INCFLAG='-I $(READLINE_DIR)'
REPORT_BUGS_TEXI='@uref{https://www.gnu.org/software/gdb/bugs/}'
REPORT_BUGS_TO='<https://www.gnu.org/software/gdb/bugs/>'
SED='/usr/bin/sed'
SER_HARDWIRE='ser-base.o ser-unix.o ser-pipe.o ser-tcp.o ser-uds.o'
SHELL='/bin/bash'
SIM='../sim/riscv/libsim.a'
SIM_OBS='remote-sim.o'
SRCHIGH_CFLAGS=''
SRCHIGH_LIBS=''
STRIP=''
SYSTEM_GDBINIT=''
SYSTEM_GDBINIT_DIR=''
TARGET_OBS=' riscv-tdep.o riscv-none-tdep.o arch/riscv.o ravenscar-thread.o riscv-ravenscar-thread.o'
TARGET_PTR='unsigned long'
TARGET_SYSTEM_ROOT=''
TCL_BIN_DIR=''
TCL_DEPS=''
TCL_INCLUDE=''
TCL_LIBRARY=''
TCL_LIB_FILE=''
TCL_LIB_FLAG=''
TCL_LIB_SPEC=''
TCL_PATCH_LEVEL=''
TCL_SRC_DIR=''
TCL_STUB_LIB_FILE=''
TCL_STUB_LIB_FLAG=''
TCL_STUB_LIB_SPEC=''
TCL_VERSION=''
TK_BIN_DIR=''
TK_DEPS=''
TK_INCLUDE=''
TK_LIBRARY=''
TK_LIB_FILE=''
TK_LIB_FLAG=''
TK_LIB_SPEC=''
TK_SRC_DIR=''
TK_STUB_LIB_FILE=''
TK_STUB_LIB_FLAG=''
TK_STUB_LIB_SPEC=''
TK_VERSION=''
TK_XINCLUDES=''
USE_NLS='yes'
WARN_CFLAGS=' -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral'
WERROR_CFLAGS=''
WIN32LDAPP=''
WIN32LIBS=' '
WINDRES='windres'
XGETTEXT=':'
XMKMF=''
XM_CLIBS=''
XSLTPROC='missing'
X_CFLAGS=''
X_LDFLAGS=''
X_LIBS=''
YACC='bison -y'
YFLAGS=''
ac_ct_CC=''
ac_ct_CXX=''
am__leading_dot='.'
ax_pthread_config=''
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}'
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'
localedir='${datadir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkg_config_prog_path='missing'
prefix='/opt/riscv'
program_transform_name='s&^&riscv32-unknown-elf-&'
psdir='${docdir}'
python_prog_path='missing'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' testsuite'
sysconfdir='${prefix}/etc'
target='riscv32-unknown-elf'
target_alias='riscv32-unknown-elf'
target_cpu='riscv32'
target_noncanonical='riscv32-unknown-elf'
target_os='elf'
target_subdir='riscv32-unknown-elf/'
target_vendor='unknown'
zlibdir='-L$(top_builddir)/../zlib'
zlibinc='-I$(top_srcdir)/../zlib'
## ------------------- ##
## File substitutions. ##
## ------------------- ##
nat_makefile_frag='/dev/null'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#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 HAVE_CXX11 1
#define ENABLE_NLS 1
#define PACKAGE "gdb"
#define DEBUGDIR "/opt/riscv/lib/debug"
#define DEBUGDIR_RELOCATABLE 1
#define BINDIR "/opt/riscv/bin"
#define GDB_DATADIR "/opt/riscv/share/gdb"
#define GDB_DATADIR_RELOCATABLE 1
#define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load"
#define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load"
#define SIZEOF_VOID_P 8
#define DEFAULT_BFD_ARCH bfd_riscv_arch
#define DEFAULT_BFD_VEC riscv_elf32_vec
#define HAVE_MONSTARTUP 1
#define HAVE__MCLEANUP 1
#define HAVE__ETEXT 1
#define HAVE_ETEXT 1
#define PKGVERSION "(GDB) "
#define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
#define HAVE_LIBM 1
#define HAVE_ICONV 1
#define ICONV_CONST
#define SIZEOF_UNSIGNED_LONG_LONG 8
#define SIZEOF_UNSIGNED_LONG 8
#define SIZEOF_UNSIGNED___INT128 16
#define JIT_READER_DIR "/opt/riscv/lib/gdb"
#define JIT_READER_DIR_RELOCATABLE 1
#define HAVE_LIBEXPAT 1
#define HAVE_XML_STOPPARSER 1
#define HAVE_LIBGMP 1
#define HAVE_LIBMPFR 1
#define STDC_HEADERS 1
#define HAVE_THREAD_DB_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_PTRACE_H 1
#define HAVE_SYS_REG_H 1
#define HAVE_SYS_DEBUGREG_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_USER_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_EXECINFO_H 1
#define HAVE_LONG_LONG 1
#define SIZEOF_LONG_LONG 8
#define HAVE_DECL_BASENAME 1
#define HAVE_DECL_FFS 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_STRTOL 1
#define HAVE_DECL_STRTOUL 1
#define HAVE_DECL_STRTOLL 1
#define HAVE_DECL_STRTOULL 1
#define HAVE_DECL_STRVERSCMP 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_LC_MESSAGES 1
#define HAVE_SOCKLEN_T 1
#define HAVE_GETUID 1
#define HAVE_GETGID 1
#define HAVE_PIPE 1
#define HAVE_PREAD 1
#define HAVE_PREAD64 1
#define HAVE_PWRITE 1
#define HAVE_GETPGID 1
#define HAVE_SETSID 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSETMASK 1
#define HAVE_SOCKETPAIR 1
#define HAVE_SETLOCALE 1
#define HAVE_BTOWC 1
#define HAVE_SETRLIMIT 1
#define HAVE_GETRLIMIT 1
#define HAVE_POSIX_MADVISE 1
#define HAVE_WAITPID 1
#define HAVE_LANGINFO_CODESET 1
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_PARAM_H 1
#define STDC_HEADERS 1
#define HAVE_ALLOCA_H 1
#define HAVE_ALLOCA 1
#define HAVE_LANGINFO_CODESET 1
#define HAVE_LINUX_PERF_EVENT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_MEMORY_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_THREAD_DB_H 1
#define HAVE_WAIT_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_DLFCN_H 1
#define HAVE_LINUX_ELF_H 1
#define HAVE_PROC_SERVICE_H 1
#define HAVE_POLL_H 1
#define HAVE_SYS_POLL_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_GETPAGESIZE 1
#define HAVE_MMAP 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_GETRLIMIT 1
#define HAVE_PIPE 1
#define HAVE_PIPE2 1
#define HAVE_POLL 1
#define HAVE_SOCKETPAIR 1
#define HAVE_SIGACTION 1
#define HAVE_SBRK 1
#define HAVE_SETNS 1
#define HAVE_SIGALTSTACK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SETPGID 1
#define HAVE_SETPGRP 1
#define HAVE_GETRUSAGE 1
#define HAVE_GETAUXVAL 1
#define HAVE_SIGTIMEDWAIT 1
#define HAVE_DECL_ADDR_NO_RANDOMIZE 1
#define HAVE_DECL_STRSTR 1
#define HAVE_STRUCT_STAT_ST_BLOCKS 1
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
#define HAVE_PTHREAD_PRIO_INHERIT 1
#define HAVE_PTHREAD_SIGMASK 1
#define HAVE_PTHREAD_SETNAME_NP 1
#define CXX_STD_THREAD 1
#define HAVE_SIGSETJMP 1
#define PRINTF_HAS_LONG_LONG 1
#define _STRUCTURED_PROC 1
#define HAVE_SYS_PROCFS_H 1
#define HAVE_PRGREGSET_T 1
#define HAVE_PRFPREGSET_T 1
#define HAVE_LWPID_T 1
#define HAVE_PSADDR_T 1
#define HAVE_ELF_FPREGSET_T 1
#define HAVE_SYS_PTRACE_H 1
#define PTRACE_TYPE_RET long
#define PTRACE_TYPE_ARG1 enum __ptrace_request
#define PTRACE_TYPE_ARG3 long
#define PTRACE_TYPE_ARG4 long
#define SETPGRP_VOID 1
#define HAVE_PTRACE_GETREGS 1
#define HAVE_PTRACE_GETFPXREGS 1
#define HAVE_LONG_DOUBLE 1
#define PRINTF_HAS_LONG_DOUBLE 1
#define SCANF_HAS_LONG_DOUBLE 1
#define HAVE_EXECINFO_BACKTRACE 1
#define THREAD_DB_HAS_TD_NOTALLOC 1
#define THREAD_DB_HAS_TD_VERSION 1
#define THREAD_DB_HAS_TD_NOTLS 1
#define GDBINIT ".gdbinit"
#define GDBEARLYINIT ".gdbearlyinit"
#define TARGET_SYSTEM_ROOT ""
#define TARGET_SYSTEM_ROOT_RELOCATABLE 0
#define SYSTEM_GDBINIT ""
#define SYSTEM_GDBINIT_RELOCATABLE 0
#define SYSTEM_GDBINIT_DIR ""
#define SYSTEM_GDBINIT_DIR_RELOCATABLE 0
#define HAVE_ELF 1
#define WITH_SIM 1
#define GDB_HOST_FLOAT_FORMAT &floatformat_ieee_single_little
#define GDB_HOST_DOUBLE_FORMAT &floatformat_ieee_double_little
#define GDB_HOST_LONG_DOUBLE_FORMAT &floatformat_i387_ext
#define HAVE_LIBBACKTRACE 1
#define ENABLE_LIBCTF 1
#define GDB_DEFAULT_HOST_CHARSET "UTF-8"
configure: exit 0